Delivery report
Rich Braun
richb at pioneer.ci.net
Thu May 19 10:39:54 EDT 2005
On 18 May 2005 Josh ChaitinPollak wrote:
>> Is there anyway to filter real mail deliver errors (for messages I
>> actually sent) from the crap ones?
trlists at clayst.com wrote:
> I don't think so. You could use a Bayesian filter and start marking
> the spam ones as spam but my guess is it would not be able to tell the
> difference very well and some real ones would get marked that way too.
Tom Metro <blu at vl.com> wrote:
> Yes. Define an SPF record for your domain:
A DSN (Delivery Status Notification), per the RFC, has the envelope sender
address set to null. The message body is supposed to contain the headers of
the original message. So what I do in my exim config to reject as fake DSN's
messages that:
- Have the envelope-sender set to <blank>, postmaster or mailer-daemon
- Have a message body lacking a Received header that contains my IP
- Have a message body lacking a Message-ID header formatted here
There is a template for doing this at http://www.sput.nl/software/exim.html,
if you run exim. Same technique works for other MTA software.
Setting up the SPF which Tom mentioned is also useful, I haven't gotten around
to that yet.
-rich
More information about the Discuss
mailing list