Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Whitelist available for GreyList filter
  FAQ FAQ  Forum Search   Register Register  Login Login

Whitelist available for GreyList filter

 Post Reply Post Reply
Author
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Topic: Whitelist available for GreyList filter
    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:

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.


Edited by LogSat - 02 July 2014 at 9:53pm
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
danego View Drop Down
Newbie
Newbie


Joined: 22 March 2011
Location: NL
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote danego Quote  Post ReplyReply Direct Link To This Post Posted: 11 October 2011 at 6:31pm
Hi,
 
I downloaded the wget command for windows from here

http://users.ugent.be/~bpuype/wget/

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

wget http://www.logsat.com/SpamFilter/pub/GreyListAllowed.txt -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
Back to Top
Wayne View Drop Down
Groupie
Groupie
Avatar

Joined: 29 August 2006
Location: Switzerland
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wayne Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2011 at 9:49am

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


SF4.5.0.1-beta
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.131 seconds.