[SA-exim] greylisting

Marc MERLIN marc at merlins.org
Wed Dec 3 08:54:07 PST 2008


On Wed, Dec 03, 2008 at 05:32:32PM +0100, Marcin Krol wrote:
> > look for greylisting in there:
> >  
> >> /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm
> > (...)
> >> [1885] dbg: GREYLISTING: called function
> >> [1885] dbg: GREYLISTING: skipping greylisting on , since score is
> >> already 15.409 and you configured greylisting not to bother with
> >> anything above 15
> > 
> > try this again, and it should tell you what's happening :)
> 
> Hmm I tried running spamassassin -t -D on that message again and I got 
> exactly the same output:
 
Sorry, by "try this again", I meant 'by reading the documentation"

/etc/spamassassin/local.cf:header GREYLIST_ISWHITE eval:greylisting("( 'dir' => '/var/spool/sa-exim/tuplets'; 'method' => 'dir'; 'greylistsecs' => '1800'; 'dontgreylistthreshold' => 11; 'connectiphdr' => 'X-SA-Exim-Connect-IP'; 'envfromhdr' => 'X-SA-Exim-Mail-From'; 'rcpttohdr' => 'X-SA-Exim-Rcpt-To'; 'greylistnullfrom' => 1; 'greylistfourthbyte' => 0 )")

'dontgreylistthreshold' => 11 says greylisting won't happen for spam scores
over 11, 15 in your case.

Make sure you re-read /usr/share/doc/sa-exim/README.greylisting.gz
and that you understand how scores are changed on both sides. If it's
confusing, just leave the default numbers I gave, they work :)

> I ran that on another message and got this again:
> 
> [11418] dbg: GREYLISTING: called function
> [11418] dbg: GREYLISTING: skipping greylisting on , since score is 
> already 36.326 and you configured
>   greylisting not to bother with anything above 15
> 
> This is so much weirder due to fact that I configured SApermreject: 20.0 

The setting you care about it dontgreylistthreshold, but you really need
to re-read the documentation.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  



More information about the SA-Exim mailing list