System: Fedora 10, Spamassassin 3.2.5, Perl 5.10.0 The following error is preceded by log entry: spamc[PID]: skipped message, greater than max message size (512000 bytes)
Error: spamc[PID]: oops! message_dump of 8192 returned different (there are as many of those errors as it takes to reach the file size of the attachment, with the final error indicating a bytecount <8192 to complete the sequence. i.e. if filesize = 517000 bytes, then I will get 63 entries with "8192" and the last one with "904".) When: Message attachment > 512kb (message body is simply the word "test") I get the same log entries when testing with: /usr/bin/spamc < BigFile.pdf (where BigFile.pdf > 512000 bytes) I do NOT get the entries when testing with size limit set in MTA: /usr/bin/spamc -s 10240000 < BigFile.pdf When sent as a normal message, the message gets delivered, but the attachment is truncated at somewhere between 128kb-132kb, rendering it useless. 1) Is spamc trying to check the >512kb attachment? 2) If so, why would spamc be trying to check the >512kb attachment? 3) How do I correct this? 4) What more can I provide to help troubleshoot this? (I understand the error is related to spamc reading in one size and writing out another. What I don't understand is why it is trying to check the >512kb attachment after it claims to be skipping it.) Thank you. James
