Package: sa-exim
Version: 4.2-2
Severity: serious
Hi.
I have just configured greylisting (with exim4-daemon-heavy 4.50-8) for
my Sarge box.
/usr/share/doc/sa-exim/README.greylisting.gz said I should put
header GREYLIST_ISWHITE reseval: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' => 0;
'greylistfourthbyte' => 0 )")
describe GREYLIST_ISWHITE The incoming server has been whitelisted for
this rece
ipient and sender
score GREYLIST_ISWHITE -1.5
in my /etc/spamassassin/local.cf. This did not work. It seems reseval is
missing.
Changing this to
loadplugin
Greylisting /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm
header GREYLIST_ISWHITE eval:greylisting("( 'dir' =>
'/var/spool/sa-exim/tuplets'; 'method' => 'dir'; 'greylistsecs' =>
'300'; 'dontgreylistthreshold' => 11; '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
# Run SpamAssassin last, after all other rules.
# (lets us not greylist a host that is sending spam, otherwise this rule
might
# set a sufficiently negative score that the next spam would be allowed
in)
priority GREYLIST_ISWHITE 99999
works. Note that this uses eval and a priority line instead.
Sincerely,
Joachim
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]