[SA-exim] greylisting

Marcin Krol mrkafk at gmail.com
Mon Nov 24 08:19:02 PST 2008


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 )")

describe GREYLIST_ISWHITE The incoming server has been whitelisted for 
this recipient and sender

score GREYLIST_ISWHITE  -1.5


I'm getting this in mail.info when any mail is sent through SA:


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.

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 177, 
<GEN5> line 46.

spamassassin -D --lint produces warning:

[23037] warn: Couldn't get Connecting IP header X-SA-Exim-Connect-IP for 
message <1227542531 at lint_rules>, skipping greylisting call


I'm using standard Debian Etch packages.



My sa-exim.conf:

SAEximDebug: 1


SAspamcpath: /usr/bin/spamc



SAspamcHost: 127.0.0.1
SAspamcPort: 783


SAEximRunCond: ${if and { {!eq {$sender_host_address}{127.0.0.1}} {!eq 
{$h_X-SA-Do-Not-Rej:}{Yes}} } {1}{0}  }





SAmaxbody: 256000

SATruncBodyCond: 0

SARewriteBody: 0

SAPrependArchiveWithFrom: 1

SAmaxarchivebody: 20971520

SAerrmaxarchivebody: 1073741824

SAmaxrcptlistlength: 8000

SAaddSAEheaderBeforeSA: 1


SAtimeoutsave: /var/spool/sa-exim/SAtimeoutsave

SAtimeoutSavCond: 1


SAerrorsave: /var/spool/sa-exim/SAerrorsave

SAerrorSavCond: 1

SAtemprejectonerror: 0






SAteergrubetime: 900

SAteergrubeSavCond: 1

SAteergrubesave: /var/spool/sa-exim/SAteergrube

SAteergrubeoverwrite: 1




SAdevnullSavCond: 1

SAdevnullsave: /var/spool/sa-exim/SAdevnull



SApermreject: 30.0

SApermrejectSavCond: 0

SApermrejectsave: /var/spool/sa-exim/SApermreject



SAtempreject: 16.0

SAtemprejectSavCond: 1

SAtemprejectsave: /var/spool/sa-exim/SAtempreject

SAtemprejectoverwrite: 1

SAgreylistiswhitestr: GREYLIST_ISWHITE

SAgreylistraisetempreject: 13.0


SAspamacceptsave: /var/spool/sa-exim/SAspamaccept

SAspamacceptSavCond: 0


SAnotspamsave: /var/spool/sa-exim/SAnotspam

SAnotspamSavCond: 0

SAmsgteergrubewait: Wait for more output
SAmsgteergruberej: Please try again later
SAmsgpermrej: Rejected as SPAM, contact BTW to whitelist
SAmsgtemprej: Please try again later
SAmsgerror: Temporary local error while processing message, please 
contact postmaster.






More information about the SA-Exim mailing list