Difference between revisions of "Postgrey"
Jump to navigation
Jump to search
m (add link to SAC ticket) |
|||
Line 17: | Line 17: | ||
check_policy_service inet:127.0.0.1:10023 | check_policy_service inet:127.0.0.1:10023 | ||
... | ... | ||
+ | |||
+ | == TODO (?) == | ||
+ | |||
+ | * restart postfix daemon/service | ||
+ | * watch: /var/log/mail.info | ||
+ | grep -i Greylisted /var/log/mail.info | ||
[[Category: Infrastructure]] | [[Category: Infrastructure]] |
Revision as of 01:38, 18 March 2008
- "Postgrey is a Postfix policy server implementing greylisting" -- [web site]
- Responding to this SAC ticket
Dependencies
It uses the BerkeleyDB, and other, perl modules. Perl's -MCPAN install option was failing on building BerkeleyDB module, so RPMs were gathered from searches to pbone.net for RHEL4. Then they were installed like this:
sudo rpm -i perl-BerkeleyDB-0.33-1.el4.rf.i386.rpm perl-IO-Multiplex-1.09-3.el4.pp.noarch.rpm perl-Net-Server-0.97-2.el4.pp.noarch.rpm postgrey-1.31-1.el4.rf.noarch.rpm
Install & Config
- For more install instructions see the manual (man) pages for postgrey on the server.
- I have completed the install steps up to editing the /etc/postfix/main.cf file:
... · Put something like this in /etc/postfix/main.cf: smtpd_recipient_restrictions = permit_mynetworks ... reject_unauth_destination check_policy_service inet:127.0.0.1:10023 ...
TODO (?)
- restart postfix daemon/service
- watch: /var/log/mail.info
grep -i Greylisted /var/log/mail.info