From: Jim H. <jh...@ar...> - 2006-12-17 17:59:18
|
Hi, I am using PMilter 0.95 on Debian. I am testing with protocol_dump.pl and I am using Postfix. The problem I am having is the body callback is almost never being called. I am hoping someone can provide me with some debugging tips/techniques. In my mind, I've eliminated Postfix as the problem because when I implement the clamav-milter, its body callback gets called everytime with all my test messages since I can tell by rejects of virus test emails. My gut doesn't eliminate Postfix. Keeping/Removing clamav-milter from the milter chain does not fix my problem. Additionally, some emails do have the body callback called. Very few... like one a day (yes I've been looking at this problem over quite a few days). An example in the logs: Dec 16 09:17:28 giganta test-milter[10421]: body: --0-1314084057-1166278644=:70538^M Content-Type: multipart/alternative; boundary="0-1214012299-1166278644=:70538"^M ^M --0-1214012299-1166278644=:70538^M Content-Type: text/plain; charset=iso-8859-1^M Content-Transfer-Encoding: 8bit^M ^M Dear parents,^M ^M Please look at your calendar and let me know if you can help during the planning for the Service Unit Encampment.^M ^M Our registration fee is due on the 22th of December and every troop is required to provide 2 volunteers in order to participate.^M ^M Lucia^M ^M Note: forwarded message attached.^M ^M ^M ^M ^M __________________________________________________^M Do You Yahoo!?^M Tired of spam? Yahoo! Mail has the best spam protection around ^M http://mail.yahoo.com ^M --0-1214012299-1166278644=:70538^M Content-Type: text/html; charset=iso-8859-1^M Content-Transfer-Encoding: 8bit^M ^M <div>Dear parents,</div> <div> </div> <div>Please look at your calendar and let me know if y Dec 16 09:17:28 giganta test-milter[10421]: eom_callback Mostly the logs are like this (shortened for brevity): Dec 17 12:42:09 giganta ./protocol-dump.pl[24507]: connect: 12:42:09 giganta ./protocol-dump.pl[24507]: helo: Dec 17 12:42:09 giganta ./protocol-dump.pl[24507]: envfrom: <jh...@ar...> SIZE=806 Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: envrcpt: <jh...@ar...> Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: header: From Jim Horner <jh...@ar...> Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: header: Organization Arinbe Technologies, Inc. Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: header: To Jim Horner <jh...@ar...> Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: header: MIME-Version 1.0 Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: header: Content-Type text/plain; charset="us-ascii" Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: header: Content-Transfer-Encoding 7bit Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: header: Content-Disposition inline Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: eoh: Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: eom: Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: abort: Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: abort: Dec 17 12:42:10 giganta ./protocol-dump.pl[24507]: close: The only thing I can see between when the body callback is called and when it isn't is '7-bit' vs '8-bit' and charset 'ISO-8859-1' vs 'us-ascii' ... if this makes a difference then why does clamav-milter not care? Any help is appreciated ... THANKS! Jim |