Gre7g Luterman <[EMAIL PROTECTED]> writes:

> Can anyone think of a way to use TMDA's filtering to drop e-mails in 
> a specified box?

You can easily do that right now!

> 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

The 'ok', 'accept' and 'deliver' actions are all the same, so when I
use 'accept' below, you can substitute whichever one you like.  The
'deliver' keyword might make a little more sense when you're actually
delivering rather than simply accepting.

Change your above rules to these:

from *@=work.domain accept=~/Maildir-work/
from-file ~/.tmda/lists/whitelist accept=~/Maildir/
from-file ~/.tmda/lists/confirmed accept=~/Maildir/

> I'm guessing this isn't real feasible because qmail actually does the 
> delivery, not tmda (right?).  What do you think?

If you don't specify a delivery action, then yes, eventually qmail
does the delivery.  If you specify a delivery action, though, TMDA
will do the delivery.  It can deliver to maildirs, traditional mboxes,
it can forward to another address entirely and it can pipe the mail to
another program for some sort of customized delivery.  See

http://www.tmda.net/config-filter.html

There is a bullet-pointed 'action' section with a table showing all
the amazing ways TMDA can dispose of your mail. <wink>


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to