01-16-2010, 08:09 PM | #1 |
Junior Member
Join Date: Jan 2010
Posts: 8
|
Postgrey with Exim4
Hi!
We installed the Ispmanager with recommended options on Debian 5.0.3 Lenny 64 bit edition. We go to the admin panel->Server configuration->Features and install postgrey. The postgrey installed succesfully, the bulb color is yellow and running perfectly: # ps axf | grep postgrey 15794 pts/1 S+ 0:00 \_ grep postgrey 9074 ? Ss 0:00 /usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000 --delay=300 --max-age=45 --greylist-text=Service unavailable. Wait a few minutes and try again. We modified the /etc/default/postgrey file, this is the current content: # postgrey startup options, created for Debian # (c)2004 Adrian von Bidder <avbidder@fortytwo.ch> # Distribute and/or modify at will. # you may want to set # --delay=N how long to greylist, seconds (default: 300) # --max-age=N delete old entries after N days (default: 35) # see also the postgrey( manpage #POSTGREY_OPTS="--inet=127.0.0.1:60000" POSTGREY_OPTS="--inet=127.0.0.1:60000 --delay=300 --max-age=45" # the --greylist-text commandline argument can not be easily passed through # POSTGREY_OPTS when it contains spaces. So, insert your text here: #POSTGREY_TEXT="Your customized rejection message here" POSTGREY_TEXT="Service unavailable. Wait a few minutes and try again." We put in the /usr/local/ispmgr/etc/ispmgr.conf the following line: Option ForcePostgrey After this steps, we restarted ispmanager with "killall ispmgr" shell command. But the postgrey don't working. When coming a new email first, the recipient become it in a moment. We could't find any postgrey message the following log files: /var/log/messages /var/log/exim4/mainlog /var/log/mail.log Why don't work postgrey? What is the problem? Thanks! |
01-19-2010, 07:18 PM | #3 |
Junior Member
Join Date: Jan 2010
Posts: 8
|
Dear Slava!
It was a trivial problem. When we installed the postgrey "feature" in the /etc/default/postgrey configuration file the postgrey listeting on the 60000 TCP port. And the Exim4 config file (/etc/exim4/exim4.conf.template) wanted communicate with unix socket. We changed in the postgrey config file from inet= to unix= and working fine. Thanks!
__________________
Sorry, but I can't speak very good English. |
|
|