Ask me no questions, I'll tell you no lies, Gre7g Luterman <[EMAIL PROTECTED]>:

> Can anyone think of a way to use TMDA's filtering to drop e-mails in 
> a specified box?
>
> I was just thinking that it would be neat to have (for example) both 
> a ~/Maildir and a ~/Maildir-work and then to have rules such as
>
> from *@=work.domain accept-work
> from-file ~/.tmda/lists/whitelist accept
> from-file ~/.tmda/lists/confirmed accept
>
> to dump incoming mail in one of the two directories.
>
> I'm guessing this isn't real feasible because qmail actually does the 
> delivery, not tmda (right?).  What do you think?

From the filter specification instructions:


   The instruction option to ok,accept,deliver can be used to
   short-circuit the default delivery method by delivering the message
   to a specific location. Delivery to qmail-style Maildirs,
   mboxrd-format mboxes, programs (pipe), and different e-mail
   addresses are supported.

For example:

From [EMAIL PROTECTED] deliver=~/Maildir/L.list1/
From [EMAIL PROTECTED] deliver=~/Maildir/L.list2/

Where both L.list1 and L.list2 are Maildirs themselves.

-- 
Ted Rathkopf

Attachment: msg00448/pgp00000.pgp
Description: PGP signature

Reply via email to