Problems with MCP (can't find EOCD signature)

Simon Annetts simon at ateb.co.uk
Thu May 25 10:35:58 IST 2006


Hi
I've just got mailscanner 4.54.4 working and I am trying to get mcp to work.

I'm using it with exim with two queues and two configs. 
All works fine for virus and spam scanning.
However now mcp is enabled if a profane email arrives and is caught by mcp it never reaches the exim out queue it just disappears into a black hole.

spamassassin -C ./mcp.spam.assassin.prefs.conf --lint
shows no errors

maillog shows the message being correctly detected:
May 24 19:30:11 mailhub1 MailScanner[30746]: New Batch: Scanning 1 messages, 1054 bytesMay 24 19:30:11 mailhub1 MailScanner[30746]: MCP Checks: StartingMay 24 19:30:12 mailhub1 MailScanner[30746]: Message 1Fiy7X-00082t-0U from 10.4.4.20 (simon at ateb.co.uk) to marteg.com is MCP,ecker (score=10, required 1, PROFANITY2 10.00)May 24 19:30:12 mailhub1 MailScanner[30746]: MCP Checks: Found 1 MCP messagesMay 24 19:30:12 mailhub1 MailScanner[30746]: MCP Actions: message 1Fiy7X-00082t-0U actions are deliverMay 24 19:30:12 mailhub1 MailScanner[30746]: Spam Checks: StartingMay 24 19:30:19 mailhub1 MailScanner[30746]: Virus and Content Scanning: StartingMay 24 19:30:21 mailhub1 MailScanner[30746]: Uninfected: Delivered 1 messagesMay 24 19:30:21 mailhub1 MailScanner[30746]: Batch (1 message) processed in 9.55 secondsbut exim main.log just shows:
2006-05-24 19:30:11 1Fiy7X-00082t-0U <= simon at ateb.co.uk H=purple.marteg.com (purple) [10.4.4.20] P=smtp S=718 id=025101c67f4a70$1404040a at purple2006-05-24 19:30:21 1Fiy7X-00082t-0U Completedinstead of the usual in <= and out => parts of the message delivery.

There is nothing in quarantine.

I've done a find / -name "1Fiy7X-00082t-0U*" and the message is nowhere on the disk!

If I run mailscanner in debug mode I get the following excerpt which seems to indicate the mcp check died with the error 'format error: can't find EOCD signature'

What does this mean and how do I fix it??
[23556] dbg: message: decoding other encoding type (7bit), ignoring[23556] dbg: check: running tests for priority: 0[23556] dbg: rules: running header regexp tests; score so far=0[23556] dbg: rules: running body-text per-line regexp tests; score so far=0[23556] dbg: rules: ran body rule PROFANITY2 ======> got hit: "w*nk"[23556] dbg: uri: running uri tests; score so far=10[23556] dbg: rules: running raw-body-text per-line regexp tests; score so far=10[23556] dbg: rules: running full-text regexp tests; score so far=10[23556] dbg: check: is spam? score=10 required=5[23556] dbg: check: tests=PROFANITY2[23556] dbg: check: subtests=Ignore errors about failing to find EOCD signatureformat error: can't find EOCD signature at /usr/sbin/MailScanner line 781Stopping now as you are debugging me.                                                           [  OK  ]
Thanks in advance
Simon

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20060525/807f0a9c/attachment-0001.html


More information about the MailScanner mailing list