Print Page | Close Window

Whitelist available for GreyList filter

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
Printed Date: 19 January 2019 at 2:08am

Topic: Whitelist available for GreyList filter
Posted By: LogSat
Subject: Whitelist available for GreyList filter
Date Posted: 10 October 2011 at 8:45pm
The greylist filter is a great tool that can be used to fight spam, as long as SMTP server follow the RFC guidelines. Per RFC, if an SMTP server is unable to deliver an email because the receiving SMTP server rejects the connection attempt with a 4xx error code (which indicates a temporary unavailability), they are supposed to retry the delivery after a few minutes.

Unfortunately some providers, notoriously Yahoo, do not respect the RFC. Instead of having the sending SMTP server retry after a few minutes, they delegate the delivery to another of their outbound SMTP servers on a different subnet. As this new SMTP server will be making its initial connection for the very first time, it will be rejected by the greylist filter. The provider will again not follow RFC requirements, and will pass on for delivery the email to yet another SMTP server. The story then repeats itself continuously, causing huge delays in the delivery of the email, until the email is eventually delivered by an SMTP server that was used in the past (which allows it to pass the greylist filter).

To try avoiding this issue, we are now generating every day a huge whitelist of about 125,000 known trusted IPs. To account for little-used SMTP servers on the same subnets, and to reduce the overall file size, we combined them into about 37,000 class-Cs.

The latest file is available at:" rel="nofollow -

to install, you will need to stop SpamFilter, add (not replace) the entries from the above file to your existing \SpamFilter\Domains\GreyListAllowed.txt file, and then restart SpamFilter.
Do not worry about adding duplicates - SpamFilter will automatically parse that file upon startup, and remove any duplicates for you.

Roberto Franceschetti" rel="nofollow - LogSat Software" rel="nofollow - Spam Filter ISP

Posted By: danego
Date Posted: 11 October 2011 at 6:31pm
I downloaded the wget command for windows from here -

and I created a little 4 line batchfile and set it to schedule every week:

wget - -O d:\spamfilter\UPDATES\dailygreylistallowed.txt [nextline]
net stop spamfilter [nextline]
type d:\spamfilter\UPDATES\dailygreylistallowed.txt >> d:\SpamFilter\Domains\GreyListAllowed.txt [nextline]
net start spamfilter [nextline]
I created a directory 'updates' in my logsat spamfilter folder to hold the downloaded file.
During the wget I change the name so that I don't get confused which is which.
Batch file is very simple
1 download file
2 stop spamfilter service
3 add downloaded file to existing greylist
4 start spamfilter service

Posted By: Wayne
Date Posted: 12 October 2011 at 9:49am

Great news! Thanx Roberto and danego for the nice batchfile!


Print Page | Close Window