Postgrey 1.27 review
DownloadPostgrey is a Postfix policy server implementing greylisting. When a request for delivery of a mail is received by Postfix via SMT
|
|
Postgrey is a Postfix policy server implementing greylisting.
When a request for delivery of a mail is received by Postfix via SMTP, the triplet CLIENT_IP / SENDER / RECIPIENT is built. If it is the first time that this triplet is seen, or if the triplet was first seen, less than 5 minutes ago, then the mail gets rejected with a temporary error. Hopefully spammers or viruses will not try again later, as it is however required per RFC.
Safe database:
greylist.pl doesn't lock correctly the database and it might get corrupted after a while (two days mean time for me). Postgrey does use the logging and transaction features of BerkeleyDB to maximize reliability. Additionally only one process is running, thus reducing even more the risk of corrupting the database.
Automatic maintenance:
Postgrey does keep track not only of the first time a given triplet was seen, but also the last time. Entries that were last seen more than a defined amount of time ago (one month for example) get removed automatically.
Whitelists:
Per-client and per-recipient whitelists. The Postgrey distribution package includes a client whitelist with all (few) broken mail-servers that were identified until now.
Lookup by subnet:
Addresses are normally stripped of their last byte, so that mail servers with multiple addresses are recognized as only one.
Auto-whitelisting of clients:
Clients which repeatedly show to be able to pass the greylist, are entered in a "clients whitelist", for which no greylisting is done anymore.
Requirements:
Perl (version > 5.6.0)
Net::Server
IO::Multiplex
BerkeleyDB (Perl module)
Berkeley DB (Library, version ≥ 4.1)
What's New in This Release:
Socket permissions with Net::Server 0.94 and later were fixed.
Postgrey 1.27 search tags