-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

Here's a tid bit of info for a problem I encountered when I 1st setup
Spamassassin that was breaking it.

What was happening from the content length mismatch no email was
being checked properly against spamd.  Instead of performing a check
against a level of 5 it was panicking and using a 0 which then would
rate all email as spam.


Email header:
- -------------
X-Spam-Status: Yes, hits=0 required=0


This is what logcheck was spitting out:

Security Violations
=-=-=-=-=-=-=-=-=-=
Nov 28 05:44:11 example_server spamd[7474]: bad protocol: header
error: (Content-length mismatch: 1255 vs. 1241)  


Fix:

In spamd just comment out the lines for the content length check.

spamd:
- ------
lines 418 to 422

            # Check length if we're supposed to
            #if($expected_length)
            #{
            #   if($actual_length != $expected_length) {
protocol_error ("(Content-length mismatch: $expected_length vs.
$actual_length)"); return 1; }
            #}



Hope this helps,

- --
Ryan Clark
System Administrator
The Internet Marketing Center
[EMAIL PROTECTED]
604-730-2833 Ext 234

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPeu4iuxapVimMXbbEQL8aQCgiyldZOgo5K6LeqboGTIF9ST0nCAAnRnH
Y/lsKclFuI5DU5MehLRMFWkA
=vaUF
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to