On Wed, Jan 22, 2003 at 10:30:55AM -0600, Mike Meyer wrote:
>I actually want to get mail from [EMAIL PROTECTED], so I can see my
>real bounces. I don't see any way of preventing these from getting
>through without also bouncing mail from postmaster.
There are two legitimate bounce messages that I can think of (i.e. it's
actually a bounced email, not a spam disguising itself as a bounced
email):
1) When TMDA tries to confirm a spammers non-existant email address
2) When I manually send email to a non-existant message
I want the 2nd situation to actually be delivered to my mailbox and I want
the 1st situation to get deleted. Here's how I accomplish that:
1) In ~/.tmda/config I set:
BOUNCE_ENV_SENDER = "[EMAIL PROTECTED]"
This will tag any outgoing email that TMDA sends as being from the
given address. Then in my incoming filter (~/.tmda/filters/incoming)
I put:
to [EMAIL PROTECTED] drop
This takes care of all bounces for email that TMDA sends to
non-existant addresses.
2) In my outgoing filter, in almost every entry that I have there,
I set the envelope address to be a dated address. So for example:
to be a dated address. So, for example:
to-file ~/.tmda/lists/whitelist tag envelope dated from bare
to * tag
from bare
envelope dated
reply-to dated
This causes all email that is initiated by me to have an envelope from
address that will only work for a few days. If I've manually sent
email to a non-existent email address, I want that bounce. 5 days
(my default) is sufficient for me to get that bounce.
The only exception I make to this is mailing lists that require a
specific envelope address to verify that the user is part of the list
and allowed to post. In those cases, I can't set the envelope address
to be a dated address, or my post won't get through. It's probably
easy enough to just ignore mailing lists altogether (Although, I
haven't thought very much about the possible implications of doing
this)
Doing the above two things has allowed me to remove all the rules in my
incoming filter that allowed postmaster mail in.
$.02,
- Mark
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users