-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have spend the last months trying to debug an sporadic milter hang. Finally, a few days ago I found a (brittle) reproductible case.
After a couple of days I determined that the problem was in postfix, not my milter filter. I was running postfix 2.6.5, and reading the change list, there is a milter fix in 2.6.6, so I upgraded directly to 2.6.7. My problem is still there. Details: 1. Sending a *specific* message TO a SPECIFIC address fails with a timeout (in the mail client). If I send the same message to other addresses in the server, everything works. I can send other messages to that address without any issue. 2. Diagnosing the issue, I see the milter operation over that specific message doesn't complete, so the timeout in the client. 3. Debugging the milter filter with Solaris "truss" (similar to linux "strace") and dtrace (amazing tool), I see my milter sends a "CONTINUE" to postfix, and postfix... doesn't send anything more until the client disconnect because the timeout. In that event, it send a milter ABORT, as it should. 4. Modifying the milter sourcecode to print tons of information I see that, with this particular message, I get an "ENVRCPT" milter notification, my milter accepts it and... nothing else. No headers, no EOH, no body, no EOB. I have a 100% reproducible case under 2.6.7, but the problem goes away if I send the email to any other address, so I don't know if it can be useful to you. The text message is around 70KB long (an attachment). How can I help you to diagnose & solve the error?. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ j...@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:j...@jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQCVAwUBTEncgplgi5GaxT1NAQJJHwP/VMKzg9pfUidH67+sBqHBtAEWwWWXLbJ8 dRy21Uy3gF9ueshvFoFSKjCQ1bOqLbeXIXIOwzNpZwZu7uK/sRoRqHleerHH+bBE T3bCnyfUTvzPom3mMnUHZwmbP1IoxXaWod/CmhJunUd7hxDORN8zqR1HlGUbYRiM 4c9ynnYdBvY= =HfLe -----END PGP SIGNATURE-----