Greylisting and whitehosts-list

Note: This is an old post in a blog with a lot of posts over a long span of time. The world has changed, technologies have changed, and I've changed. It's likely this is out of date, the code doesn't work, the ideas haven't aged well, or the ideas were terrible to begin with. Let me know if you think this is something that needs updating.

Gah... For some reason, I've got two whitehosts-list files on my system. One in /etc/greylist/ and the other in /var/lib/greylist/ .

It's also interesting to note that the greylistd doesn't look at either file, the files are used by rules in the Exim configuration. So when I added the gmail items (64.233) to whitehosts-list and then tried to check it with greylist check --grey ... I was using the wrong checking tool. Whoops! 30 minutes down the drain!

Anyhow, once I discovered that whitehosts-list is in the Exim configuration files (and I should have realized that because I put it there) and not checked by greylistd, I discovered that the Exim configuration files check both copies of whitehosts-list. There's likely a good reason for that. Probably even my fault to begin with. Something to look into when I have some spare cycles and feel like pouring through Exim configuration, Debian policy for directories and configuration files, and all the other pieces in between.

Want to comment? Send an email to willkg at bluesock dot org. Include the url for the blog entry in your comment so I have some context as to what you're talking about.