Delivery Status Notifications - how to stop them?
Remco Barendse
mailscanner at BARENDSE.TO
Tue Apr 27 14:03:04 IST 2004
The question has been raised a long time ago on the list but the problem
remains when using M$ Exchange. I use MailScanner as a mail relay before
Exchange but there is one *EXTRENELY annoying feature of Exchange/Outlook
that cannot be disabled : Deliver Status Notifications.
The problem is that Outlook or Exchange (not sure which of the both) are
happily reporting back who has (not) read which message and when and I
want to keep this information inside our organization!
I manages to solve part of the problem using some custom sendmail rules
but this doesn't catch all of them. What I tried so far:
- define(`confPRIVACY_FLAGS', `noreceipts')dnl in my sendmail.mc This
does not help because it is not sendmail that is sending the DSN's but
Exchange.
- disabling this crap in M$ Exchange, this only gets rid of 'succesfully
delivered to' but not read/unread receipts
- sendmail rules. This is what I have in my sendmail.mc:
LOCAL_RULESETS
F{DiscardSubs} /etc/mail/discardsubs.txt
HSubject: $>Check_Subject
SCheck_Subject
R$* $={DiscardSubs} $* $#discard
This is the contents of discardsubs.txt:
read:
not.read:
gelezen:
niet.gelezen:
leído:
no.leído:
lida:
lidas:
lido:
This works for DSN's in normal ISO format but it does not work for
e-mails differently encoded. I archived all outgoing e-mail.
This is how such a header looks in pine in normal view:
Subject: Not read: {Spam?} Solicitud de
And this is what the header looks like in full header mode:
Subject:
=?iso-8859-1?Q?Not_read=3A_=7BSpam=3F=7D_Solicitud_de?=
And this is what the header looks like in the df/qf pair:
H??Subject: =?iso-8859-1?Q?Read=3A_Angaben_f=FCr_
I have tried many combinations of blocking this stuff but the problem
seems to be in the different encoding. Even if I try scanning for only one
single word in the subject line (yes, dangerous, I know) it still does not
block them!
Using SpamAssassing rules is not an option, I do not want to risk dropping
any outgoing mail and don't want to scan outgoing messages either. I
never managed to get the MCP up and running properly with MailScanner.
Does any body know how to trap subjects in different ISO encoding using
sendmail rules or another possible solution to this problem? It's very
annoying (embarassing!!) to have people call and ask you why you deleted
their mail unread while really you do not want to reply. Maybe we can make
this a feature request for MailScanner?
This is what the body of a DSN looks like:
Your message
To: xxxx
Subject: xxxxx
Sent: Wed, 1 Oct 2003 20:11:55 +0200
was deleted without being read on Thu, 15 Apr 2004 13:52:43 +0200
Thanks a 1,000,000 for any suggestions / solutions!!
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
For further info about MailScanner, please see the Most Asked
Questions at http://www.mailscanner.biz/maq/ and the archives
at http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list