[SA-exim] Greylisting doesn't work anymore

Marc MERLIN marc at merlins.org
Thu May 10 13:37:32 PDT 2007


On Thu, May 10, 2007 at 10:21:31PM +0200, Peter Thomassen wrote:
> Hi.
> 
> For some reason, greylisting doesn't work anymore for some time now.
> 
> I noticed in the rejectlog that the same e-mail (the same sender, recipient, 
> server) has been rejected several times in many cases. To find the reason, I 
> checked /var/spool/sa-exim/tuplets/ and found that this directory is empty 
> and last modified in February, even though the server processes several 
> thousand mails a day. (I now disabled the feature by setting SAtempreject to 
> some huge value. This lets more spam in, but I can't help it at present.)
> 
> I think that the tuplet saving doesn't work for some reason, so that e-mail is 
> unknown again at later tries and therefore to be temporarily rejected. The 
> tuplet directory belongs to nobody:Debian-exim, the mode is 771. Exim runs as 
> root:Debian-exim, so I can't see any problem related to the mode.
> 
> Marc proposed setting the tuplet directory to 777 which didn't help.
> 
> Marc also proposed to add some debug code in the Perl module, which is
> /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm, I think. 
> Unfortunately, I only know Perl from reading it a bit, but I tried to add
> 
> 	open (TEST, ">/tmp/debug");
> 	print TEST time."\n";
> 	close TEST;
> 
> to the beginning of the greylisting subroutine. I think this should create 
> a /tmp/debug file, which wasn't the case.

Ah, that would explain it then, likely Greylisting.pm is not being run.

Did you change/break your SA config? Is the Greylisting module still being
called in your SA config?

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/  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.merlins.org/archives/sa-exim/attachments/20070510/560da43f/attachment.pgp 


More information about the SA-Exim mailing list