On Thu, 2007-03-29 at 13:55 +0400, Oleg Lapshin wrote:
> Hello
>
> > Or I'd guess just upload a new sieve script every
month / year / <insert
> > frequency here>, which of course could be a
scripted task.
>
> I think, this is solution for now.
> There may be script, which download sieve scripts,
analyze them, correct
> fields and upload back to server automatically.
>
> >
> > On Mon, 2007-03-26 at 19:41 +0200, Guido A.J.
Stevens wrote:
> > > >> I want to put incoming messages into
folders, based on current year
> > >
> > > and month
> > >
> > > You can do that with a procmail delivery.
> > >
> > > :0 c
> > >
> > > * ^From:.*foo bar.com
> > > {
> > >
YEARFOLDER="Archive/foo-bar-`date +%Y`"
> > >
> > > :0: archive
> > > :
> > > | /usr/sbin/dbmail-smtp -u
yourusername -m "$YEARFOLDER"
> > >
> > > }
>
> I don't have procmail and think, this is not the best
solution.
> If mail server have 1k users, there must be 1k such
procmail's configs. This
> is not good. Users don't have real accounts on system
and can't manipulate
> such configs manually.
>
> Thanks for your attention.
Do you want to have a "system sieve script" that
runs for *every* user
when they receive mail? I've heard that some other products,
I think
Sun's Java Messaging in particular, have system scripts,
group scripts,
and then user scripts. DBMail has only user scripts right
now.
Aaron
_______________________________________________
DBmail mailing list
DBmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|