S Karthikeyan wrote:
Dear Clive Eisen,
write(2, "Bad RFC822 field name \'\'\n at /us"..., 86) = 86
Mail::Internet seems to be the culprit, the message has a rouge header field "-:" which crashes MailScanner.
Working on a patch.
Do you have an eta
Anything we can do to help?
Thanks to you, Clive and Brian PASSANTE and all others, that we have a patch that fixes the header line "-:" in those spam messages. Headers are read using Mail::Header instead of Mail::Internet, and the body using Mail::Internet, instead of the previous technique wherein Mail::Internet read in the while mail in a single pass. This may increase the time to scan a mail, though in a negligible amount.
Please get the patched Qmail.pm and QMDiskStore.pm from http://opencompt.com. The links are http://opencompt.com/QMDiskStore.pm and http://opencompt.com/Qmail.pm.
If any of you have any trouble with this new version, please let me know.
cheers, Karthikeyan, S.
Have finally installed
mailscanner gets a little further but does not deliver, just loops on the same (broken with the -: header) message - this is a live service thats quite busy so I'll do some more tests tonight with debugging on
Jun 15 11:42:25 message1 MailScanner[20705]: Message 33739 from 0 ([EMAIL PROTECTED]) to YYY.com is spam, SpamAssassin (score=12.509, required 0, BAYES_80 1.66, FROM_ALL_NUMS 0.69, FROM_ENDS_IN_NUMS 0.99, HTML_FONT_INVISIBLE 0.60, HTML_MESSAGE 0.10, MIME_HTML_NO_CHARSET 0.56, MIME_HTML_ONLY 0.32, MIME_HTML_ONLY_MULTI 1.10, RCVD_IN_DYNABLOCK 2.60, RCVD_IN_SORBS 0.10, TRACKER_ID 3.78)
Jun 15 11:42:25 message1 MailScanner[20705]: Spam Checks: Found 1 spam messages
Jun 15 11:42:25 message1 MailScanner[20705]: Spam Actions: message 33739 actions are deliver
Jun 15 11:42:25 message1 MailScanner[20705]: Spam Checks completed at 0 bytes per second
Jun 15 11:42:25 message1 MailScanner[20705]: Virus and Content Scanning: Starting
Jun 15 11:42:28 message1 MailScanner[20705]: Filename Checks: Allowing 33739 msg-20705-1.html (no rule matched)
Jun 15 11:42:28 message1 MailScanner[20705]: Virus Scanning completed at 0 bytes per second
Jun 15 11:42:29 message1 MailScanner[20729]: MailScanner E-Mail Virus Scanner version 4.30.3 starting...
Jun 15 11:42:29 message1 MailScanner[20729]: Config: calling custom init function addenvfromheader
Jun 15 11:42:29 message1 MailScanner[20729]: Config: calling custom init function CM0Value
Jun 15 11:42:29 message1 MailScanner[20729]: Config: calling custom init function spamscorenumberinsteadofstars
Jun 15 11:42:30 message1 MailScanner[20721]: Using locktype = flock
Jun 15 11:42:30 message1 MailScanner[20721]: New Batch: Scanning 1 messages, 3599 bytes
Jun 15 11:42:30 message1 MailScanner[20721]: MCP Checks completed at 0 bytes per second
Jun 15 11:42:30 message1 MailScanner[20721]: Spam Checks: Starting
Jun 15 11:42:39 message1 MailScanner[20731]: MailScanner E-Mail Virus Scanner version 4.30.3 starting...
Jun 15 11:42:39 message1 MailScanner[20731]: Config: calling custom init function addenvfromheader
Jun 15 11:42:39 message1 MailScanner[20731]: Config: calling custom init function CM0Value
Jun 15 11:42:39 message1 MailScanner[20731]: Config: calling custom init function spamscorenumberinsteadofstars
Jun 15 11:42:40 message1 MailScanner[20729]: Using locktype = flock
Jun 15 11:42:40 message1 MailScanner[20721]: Message 33739 from 0 ([EMAIL PROTECTED]) to YYY.com is spam, SpamAssassin (score=12.509, required 0, BAYES_80 1.66, FROM_ALL_NUMS 0.69, FROM_ENDS_IN_NUMS 0.99, HTML_FONT_INVISIBLE 0.60, HTML_MESSAGE 0.10, MIME_HTML_NO_CHARSET 0.56, MIME_HTML_ONLY 0.32, MIME_HTML_ONLY_MULTI 1.10, RCVD_IN_DYNABLOCK 2.60, RCVD_IN_SORBS 0.10, TRACKER_ID 3.78)
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Opencomputing-openprotect mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opencomputing-openprotect
