Rick Mann <[EMAIL PROTECTED]> writes:

> > Delivered-To: [EMAIL PROTECTED]

[...]

> > To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>,
> > <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> 
> My incoming filter has a line early on like this:
> 
> to-file ~/.tmda/blacklist_to reject
> 
> 
> and I put "[EMAIL PROTECTED]" in the "blacklist_to" file. But the
> message still ends up in my TMDA queue.
> 
> Any idea why? I realize that acceptable addresses are in the To: header, but
> is there a way to get TMDA to drop (or reject) the message if any
> blacklisted To: address appears, regardless of envelope recipient?

The To: header field is not examined by the to* rules.  Only the
envelope recipient is matched.  In the example above, the envelope
recipient is '[EMAIL PROTECTED]'.  See FAQ 4.6.

http://tmda.net/faq.cgi?req=show&file=faq04.006.htp

If you want to match addresses in To: fields, try this:

headers '^To:(.|(\n[ \t]+))[EMAIL PROTECTED]' reject

This should catch '[EMAIL PROTECTED]' anywhere in a multiline
To: field.


Tim

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

Reply via email to