Gre7g Luterman <[EMAIL PROTECTED]> writes:

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

Yup.  Read http://tmda.net/config-filter.html, particularly the part
about ``The instruction option to ok,accept,deliver''.

> 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

First use maildirmake to create both ~/Maildir/ and ~/Maildir-work/.
Then something like the following should do what you want:

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

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

Either way.  TMDA can do short-circuit delivery as I've shown above,
and can also deliver to your default destination.  For example if you
had `DELIVERY = "~/Maildir/"' in your .tmda/config.  qmail handles
final delivery only when you don't define DELIVERY in your config.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to