Postmaster <[EMAIL PROTECTED]> writes:

> I'm trying to have it autoappend any outgoing mail to the 
> /etc/tmda/whitelist but it isn't working, any ideas?

Jason already suggested why that might be.  I have a couple of other
comments for you below.

> ACTION_OUTGOING = "bare=append"
> BARE_APPEND = "/etc/tmda/whitelist"

This says that any outgoing mail that is *not* matched by another rule
in your outgoing filter will have your bare address and the recipient
will be appended to BARE_APPEND, which, in your case, is your
whitelist.

> FILTER_OUTGOING = "/etc/tmda/outgoing"

> [drone@Cobra etc]$ more tmda/outgoing
> to-file /etc/tmda/whitelist bare=append

If this is the complete contents of your outgoing filter file, you can
delete the whole file.  You don't need it.

First, if the recipient is already in your whitelist, you don't need
to add them again.  In fact, TMDA explicitly does not add duplicates.

Second, if the recipient is not in your whitelist, the default action
(ACTION_OUTGOING) will happen and the recipient will be added.

So, if you delete the outgoing filter file, all outgoing mail will
have your bare address and any recipients not already in your
whitelist will be added to it.


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

Reply via email to