[SA-exim] Greylisting consult

Marc MERLIN marc at merlins.org
Thu Feb 24 10:57:12 PST 2005


On Thu, Feb 24, 2005 at 03:28:56PM -0300, Guillermo Llenas wrote:
>    Marc,
 
Please stop dropping the sa-exim list, that's the 3rd time in a row
 
>             perhaps I did not explain it well. I installed myself the 
> plugin (from sa-exim-4.2.tar.gz downloaded from your page) into
> 
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Greylisting.pm
> 
> and then made the call into the local.cf file, pointing exactly to the same 
> route:
> 
> loadplugin Greylisting 
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Greylisting.pm
> 
> 	it didn't work. So I tried the other two locations making the 
> 	appropiates changes to the routes in the local.cf.
> It didn't work too.
> 
> Or maybe I'm not understanding well what you say to me, and I must use the 
> exact location (creating the dirs what I need) that you describe in the 
> Readme.Greylisting:
> 
> loadplugin Greylisting 
> /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm

Ok, at this point, I would debug spamassassin.

Take a spam and run it through it:

spamassassin -D -t < /tmp/msg
You should get output like this:
 pts rule name              description
---- ---------------------- --------------------------------------------------
-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
                            [score: 0.0000]
-1.5 GREYLIST_ISWHITE       The incoming server has been whitelisted for this receipient and sender

also, read all the debugging in the middle, and look for something like
this
debug: registering glue method for greylisting (Greylisting=HASH(0x90040d0))
debug: GREYLISTING: called function
debug: GREYLISTING: running greylisting on <20041220041009.GC6988 at thunk.org>, since score is too low (-2.6) and you configured greylisting to greylist anything under 11
debug: GREYLISTING: computed greylisting on tuplet, saved info in /var/spool/sa-exim/tuplets/199/184/165/blah at blah/bar at bar and whitelist status is 1

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/   |   Finger marc_f at merlins.org for PGP key



More information about the SA-Exim mailing list