Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delivery report



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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org