Re: Greylisting doesn't work anymore
Marc MERLIN <[email protected]> Thu, 10 May 2007 13:37:32 -0700
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
_______________________________________________ SA-Exim mailing list [email protected] http://lists.merlins.org/lists/listinfo/sa-exim
(unnamed)
(text/plain, 1.8 KB)
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/
signature.asc
(application/pgp-signature, 307 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQCVAwUBRkOCjH4xUKZ2O+kBAQIV8wP/ZKSyKipZW8JZqyzxmbWwFwdn2Coyhpwd 3vRBIYGDGVQwA1o0cku+I0FkRNrRW8RPaCIhajKwMgrSr+/IZ7Kq3B0gadGt76NO JdvzYLBCQdjxRqZXGEkcUNr6epyADIcLvYZIndqXmQTVcrvtf7lRCCdHRBc306vb axs2uqfH/Ec= =7Pwn -----END PGP SIGNATURE-----