Mailscanner generated duplicate message.

Mark Sapiro mark at msapiro.net
Mon Dec 24 17:42:22 GMT 2007


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

Julian Field wrote:
> 
> I've gone to quite some lengths to stop problems like this, and would be 
> very interested in working out what might have caused it. The child 
> processes should not be able to grab each other's messages, so unless a 
> problem has arisen with the recent code for handling Postfix milters 
> (which I didn't write all of) this really should not be possible. It 
> never used to be a problem, which does seem to point a bit towards the 
> milter handling code.


Caveat: I don't know anything about the internals of either Postfix or
MailScanner.

Given that, it seems that Postfix itself is not involved much if at all.
Postfix gets the incoming message and sees a Received: header during
header_checks and queues the message in 'hold'.

Then a MailScanner child picks up the message from the hold queue, but
somehow whatever locking mechanism is invoked to prevent this, a second
child picks up the same message.

This is what my maillog shows is happening.

- --
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHb+9+VVuXXpU7hpMRAhuwAJ97Pmac0ykwzDWHx9GDd29Or3pqPwCgrVfp
NldiSwn9h9U2kiEDkp6IOSg=
=h8sw
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list