Daniel Irby <[EMAIL PROTECTED]> writes:

> We would to have TMDA set up on a particular email account such that it
> only accepts mail from certain addresses in a list, somewhat like the
> whitelist, but unlike the standard whitelist, messages from the
> addresses in this list would still be subject to confirmation.  If it is
> confirmed, we would then like to deliver only that one message, with
> subsequent messages from that address requiring confirmation.  In other
> words, mail from all but a list of addresses would be dropped, and every
> message from those addresses on that list would have to be confirmed.
> This is really two questions:
> 
> 1) Is it possible to setup a list of addresses from which TMDA will only
> process messages (i.e., it will reject the message and not even request
> confirmation if the sender is not on this list)?

In the incoming filter file, simply put this one rule:

from-file /path/to/confirm_list confirm

This will require confirmation for every email address in the
confirm_list file.  Also, make sure you haven't set CONFIRM_APPEND in
your .tmdarc.

> 2) Is it possible for TMDA to require confirmation for every message?

It does by default, if you have no incoming filter file at all, since
ACTION_INCOMING is set to 'confirm'.  Which brings me to the second
part of your question.

If you want to 'drop' or 'bounce' messages from anyone *not* in your
confirm_list, you'll need to change ACTION_INCOMING so the default is
'drop' or 'bounce', not 'confirm'.  Do that in your .tmdarc.  Now, if
the incoming mail matches an address in confirm_list, the sender will
be asked to confirm.  If it doesn't, the mail will be dropped/bounced.


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

Reply via email to