Difference between revisions of "Postgrey"

From OSGeo
Jump to navigation Jump to search
(more TODO)
Line 18: Line 18:
 
  ...
 
  ...
  
== TODO (?) ==
+
== TODO ==
  
 +
* check firewall settings for postgrey daemon
 +
* start postgrey daemon/service
 
* restart postfix daemon/service
 
* restart postfix daemon/service
 
* watch: /var/log/mail.info
 
* watch: /var/log/mail.info
 
     grep -i Greylisted /var/log/mail.info
 
     grep -i Greylisted /var/log/mail.info
  
 +
== References ==
 +
 +
* http://www.howtoforge.com/greylisting_postfix_postgrey
  
 
[[Category: Infrastructure]]
 
[[Category: Infrastructure]]

Revision as of 06:44, 18 March 2008

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

  • check firewall settings for postgrey daemon
  • start postgrey daemon/service
  • restart postfix daemon/service
  • watch: /var/log/mail.info
   grep -i Greylisted /var/log/mail.info

References