[SA-exim] greylisting

Marc MERLIN marc at merlins.org
Mon Nov 24 08:39:16 PST 2008


On Mon, Nov 24, 2008 at 05:19:02PM +0100, Marcin Krol wrote:
> Hello,
> 
> My greylisting for mails with score > SAtempreject doesn't work - the 
> mails are getting 451 all the time, long after greylistsecs passes, 
> excerpt from local.cf:
> 
> loadplugin Greylisting 
> /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm
> 
> header GREYLIST_ISWHITE eval:greylisting("( 'dir' => 
> '/var/spool/sa-exim/tuplets'; 'method' => 'dir'
> ; 'greylistsecs' => '60'; 'dontgreylistthreshold' => 15; 'connectiphdr' 
> => 'X-SA-Exim-Connect-IP'; '
> envfromhdr' => 'X-SA-Exim-Mail-From'; 'rcpttohdr' => 
> 'X-SA-Exim-Rcpt-To'; 'greylistnullfrom' => 1; '
> greylistfourthbyte' => 0 )")
> 
> Nov 24 17:00:17 fidkar spamd[4069]: Use of uninitialized value in 
> concatenation (.) or string at 
> /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm line 176, 
> <GEN5> line 46.

I should have put a die in there, but basically it says that it can't find a 
X-SA-Exim-Connect-IP header in there (or more specifically I think it means
it got an empty one).

Can you check in your Exim / Sa-Exim config whether that header is being
inserted correctly when you receive Emails?
(and I'll assume that you're not trying to retreive mails with fetchmail
and feed the back to smtp over localhost)

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