Spamassassin - not scanning some emails?

Dixiesys

Verified User
Joined
Aug 2, 2003
Messages
123
Location
The South
Got a customer complaining that spamassassin isn't working for a lot of emails sent to him, but it IS working for many, I can't figure out for the life of me why it's just not scanning some emails. Here's 2 mainlog entries, one was scanned one wasn't:

Code:
2010-05-18 10:03:10 1OENNy-00089B-T2 <= [email][email protected][/email] H=87-98-166-243.kimsufi.com (mx1.barginrealty.info) [87.98.166.243]:51718 I=[75.127.110.13]:25 P=smtp S=484396 [email protected] T="Term Life Rates" from <[email protected]> for [email]jeff@redacted[/email]
2010-05-18 10:03:10 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1OENNy-00089B-T2
2010-05-18 10:03:10 1OENNy-00089B-T2 => jeff <jeff@redacted> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=484529
2010-05-18 10:03:10 1OENNy-00089B-T2 Completed


And another that WAS scanned:

Code:
2010-05-18 10:39:26 1OENx4-0002mM-EJ <= [email protected] U=mail P=spam-scanned S=8888 [email protected] T="(SPAM) Browse foreclosure listings online." from <[email protected]> for jeff@redacted
2010-05-18 10:39:26 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1OENx4-0002mM-EJ
2010-05-18 10:39:29 1OENx4-0002mM-EJ => jeff <jeff@redacted> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=9022
2010-05-18 10:39:29 1OENx4-0002mM-EJ Completed
 
You may want to check your exim.conf for the spamassassin director. By default it looks something like this:

Code:
spamcheck_director:
  driver = accept
  condition = "${if and { \
                       {!def:h_X-Spam-Flag:} \
                       {!eq {$received_protocol}{spam-scanned}} \
                       {!eq {$received_protocol}{local}} \
                       {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
                       [COLOR="Red"]{<{$message_size}{100k}} \[/COLOR]
               } {1}{0}}"
  retry_use_local_part
  transport = spamcheck
  no_verify

Notice the highlighted portion tells Spamassassin to ignore messages greater than 100k.
 
Back
Top