Exim bounces and MailScanner

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu Jun 12 14:33:42 IST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Koopmann, Jan-Peter wrote:

| I just noticed something for the first time. A user is sending a message
| which is accepted by the inbound exim, processed by MailScanner and then
| sent out by the outbound exim. This outbound exim is not able to
| successfully transfer the message since the other side responds with 5xx
| attachment type is not allowed. So far so good. The outbound exim now
| creates a NDR. This NDR however is delivered to the user directly
| without being processed through mailscanner. It all makes sense but is
| there a way to force the NDRs of the outbound exim process to be
| delivered through Mailscanner as well? Why you may ask? :-) Because the
| admin would like to see the NDA in mailwatch as well.

If that is the whole purpose I would suggest you use SEC and just filter
the proper log lines for these NDR's and add the events to the MailWatch
log.

I do a similar thing with RBL events in postfix:
http://hugo.vanderkooij.org/email/mailscanner.htm?lang=en#SEC

I suppose that if you have the MSGID still available you can add the
details to the outgoing message itself.

Feeding NDR's through MS will just add new lines.

Hugo.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIUSWrBvzDRVjxmYERArnPAKCd4RxGNGJTZkdUNyvdLD+jk92XewCfdcfo
tFsuloyF2Myx/oZ6F/CVBsQ=
=TYUd
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list