LogoopenSUSE Build Service > Projects > server:mail > postgrey
Sign Up | Log In

Postfix greylisting policy server

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, 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.

The following features compared with greylist.pl from Postfix 2.1.1 are
new: Safe database, automatic maintenance, whitelists, lookup by
subnet, auto-whitelisting of clients, only Berkeley DB and no large
mysql nor postgresql DB needed.

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
postgrey-1.35-config.patch 6.62 KB 10 months ago Download File
postgrey-1.35.tar.gz 35.8 KB over 1 year ago Download File
postgrey-groupid.patch 1.2 KB about 3 years ago Download File
postgrey.README.SUSE 2.15 KB over 7 years ago Download File
postgrey.changes 5.22 KB 5 months ago Download File
postgrey.init 3.11 KB over 4 years ago Download File
postgrey.service 702 Bytes 10 months ago Download File
postgrey.spec 5.66 KB 10 months ago Download File
postgrey.sysconfig 790 Bytes over 7 years ago Download File
postgrey_clients_dump 942 Bytes about 3 years ago Download File
postgrey_clients_dump.patch 438 Bytes about 3 years ago Download File
postgrey_daily_greylist.crontab 2.48 KB 3 months ago Download File

Latest Revision

Lars Vogdt Lars Vogdt (lrupp) accepted request 323523 3 months ago (revision 41)

meanwhile i traveled accross several opensuse installation. Some of them are root server with minimal Server selection package set (e.g. installed by provider and/or myself).
That's the reason we found different logfile format.
If you install the minimal Server selection package set, you will see rsyslog is the standard use. And because rsyslog on OpenSUSE >= 12.3 will use RFC5424 formed logfile
your script on that platforms are broken, of cource it will expect RFC3164 files.
So I've reworked the script again. 
On systems with syslog-ng it should work as usual.
As a workaround, the user has just manuallay change 1 line. It is commented in file.

Also shows that the email reported gelisted hosts are empty some days and/or incomplete.
The problem still consist. You get the best result if you work on /var/log/mail not on /tmp/greylist.XXXXXX... Must be a grep Filter problem. I made a small change, now we receive more greylisted hosts out of /tmp/greylist.XXXXXX

More investigation on that is needed...

Comments for server:mail (0)