On 12/13/16 19:29, Mik J wrote:

> Peter, you use greylists but I read somewhere that gmail servers change
> their IPs when they retry to send the mails. With a high outgoing volume
> of mails, many IPs can be whitelisted thanks to spamlogd. But my server
> is very low volume. How would you deal with that ?

That's a fairly common problem, and comes down to a particular
misfeature of the SMTP RFCs: a requirement to retry, but noe
requirenment to retry from the same IP address. I grumbled about that in
http://bsdly.blogspot.com/2008/10/ietf-failed-to-account-for-greylisting.html.

The most common workaround is to extract the IP addresses or more likely
address ranges from the SPF records that the sites publish and put in a
nospamd table as seen in most of the examples.

My incrementally growing nospamd is available at
http://www.bsdly.net/~peter/nospamd, and Aron Poffenberger's spf_fetch
script that takes a file of domain names and extracts the SPF info for
you: https://github.com/akpoff/spf_fetch

- Peter
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to