Greylisting

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
superbock
Forum User
Forum User
Posts: 9
Joined: Sun Feb 06, 2005 10:32 pm

Greylisting

Unread post by superbock »

Hi!

I was looking for a qmail solution for greylisting. I noticed qgreylist on RH9 SRPMS, and tried it for a couple of days. Very easy to get it running, and worked fine. However, i wanted something more robust, SQL based.

I got the greylist patch at shupp.org, integrated it with scott's qmail SRPM, altered it to eliminate a couple of very simple patch rejects (it's the last patch applied on the SPEC file), and also tweaked logging.

It's now working great on two MX's. I block 99% of SPAM before it even reaches Spamassassin. No legit mail blocked. I should have done it earlier!

Scott, i highly recommend this.. maybe a qmail RPM with greylisting and another without.

I see one problem though.. the MySQL access config is hardcoded on the patch. It needs to be set prior to compilation. Maybe the patch could be altered in order to read this from an external file. And maybe even the greylisting could be set on/off dinamically (presence or absence of /var/qmail/control/greylist?)

I leave the suggestion!

Best regards
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Send me your src.rpm, there might be a way to clean up the hardcoded paths with a trigger or something. Ill know more when I can take a look!
superbock
Forum User
Forum User
Posts: 9
Joined: Sun Feb 06, 2005 10:32 pm

Unread post by superbock »

u got mail!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

haha, thanks!
exi1ed0ne
Forum Regular
Forum Regular
Posts: 190
Joined: Sun Nov 20, 2005 4:16 pm
Location: Right Behind You!
Contact:

Unread post by exi1ed0ne »

Has there been anything done with this? I've had greylisting in the past and loved it (OpenBSD). Is there any plans to add this to the psa repository?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I havent touched it in a while, no. Its on my list though!
exi1ed0ne
Forum Regular
Forum Regular
Posts: 190
Joined: Sun Nov 20, 2005 4:16 pm
Location: Right Behind You!
Contact:

Unread post by exi1ed0ne »

Yeah, I've got one of those lists too. :shock:

Keep us posted! BTW, thanks for the hard work!
Post Reply