I've installed postgrey on my server per the instructions here.
I sent some test messages: a few from hotmail.com (not whitelisted) and a few from yahoo.com (whitelisted) at approx Thu Oct 29 10:30:00 CDT 2009
Some notes:
Per the posting in the forum I'm double checked a few things:Code:# tail -f /var/log/maillog Oct 29 11:26:21 zerver zmmailboxdmgr[30005]: status requested Oct 29 11:26:21 zerver zmmailboxdmgr[30005]: status OK Oct 29 11:27:24 zerver postfix/smtpd[30124]: connect from web65704.mail.ac4.yahoo.com[76.13.9.96] Oct 29 11:27:24 zerver postfix/smtpd[30124]: warning: connect to 127.0.0.1:60000: Connection refused Oct 29 11:27:24 zerver postfix/smtpd[30124]: warning: problem talking to server 127.0.0.1:60000: Connection refused Oct 29 11:27:25 zerver postfix/smtpd[30124]: warning: connect to 127.0.0.1:60000: Connection refused Oct 29 11:27:25 zerver postfix/smtpd[30124]: warning: problem talking to server 127.0.0.1:60000: Connection refused Oct 29 11:27:25 zerver postfix/smtpd[30124]: NOQUEUE: reject: RCPT from web65704.mail.ac4.yahoo.com[76.13.9.96]: 451 4.3.5 Server configuration problem; from=<todd50314@yahoo.com> to=<thomas@ptest.us> proto=SMTP helo=<web65704.mail.ac4.yahoo.com> Oct 29 11:27:25 zerver postfix/smtpd[30124]: disconnect from web65704.mail.ac4.yahoo.com[76.13.9.96] Oct 29 11:27:49 zerver zmmailboxdmgr[30379]: status requested Oct 29 11:27:49 zerver zmmailboxdmgr[30379]: status OK
1) "One thing I would fix is to get postgrey starting before Zimbra"
Check, I stopped zimbra, restarted postgrey, and started zimbra again: same error shows in logs when hotmail and yahoo attempt to resend.
2) "Have you disabled IPtables ?"
Check, I disabled iptables altogether, then restarted postgrey/zimbra per/ 1): same error shows in logs when hotmail and yahoo attempt to resend.
3) "Found the problem. Couple of .pid files in /opt/zimbra/log were owned by root instead of zimbra".
Check, all pid files in /opt/zimbra/log are owned by zimbra.Code:# ll /opt/zimbra/log/*.pid -rw-r----- 1 zimbra zimbra 6 Oct 29 11:10 /opt/zimbra/log/convertd.pid -rw-r----- 1 zimbra zimbra 6 Oct 29 11:10 /opt/zimbra/log/logswatch.pid -rw-r--r-- 1 zimbra zimbra 5 Oct 29 11:10 /opt/zimbra/log/zmgengraphs.pid -rw-r--r-- 1 zimbra zimbra 5 Oct 29 11:10 /opt/zimbra/log/zmlogprocess.pid -rw-r----- 1 zimbra zimbra 5 Oct 29 11:11 /opt/zimbra/log/zmmtaconfig.pid
Both hotmail and yahoo keep re-attempting but neither have made it through yet. It's been over an hour: Thu Oct 29 11:42:37 CDT 2009
Google isn't providing much in the way of answers. The few postings I did see were to the postgrey mailing list and the answer appears to be that postgrey should either be listening to the unix socket or on 127.0.0.1:60000 but not both. I'm way out of my element here so I may be misunderstanding that piece. Either way:
so that appears to be ok.Code:# netstat -nlp | grep grey unix 2 [ ACC ] STREAM LISTENING 6322171 17767/socket /var/spool/postfix/postgrey/socket # grep socket /var/log/messages Oct 29 11:06:07 zerver postgrey[17767]: Binding to UNIX socket file /var/spool/postfix/postgrey/socket using SOCK_STREAM # netstat -nlpa | grep 60000 (produces no output)
I understand this is a postgrey problem and not a zimbra problem but I am submitting this so that there is a zimbra solution for all interested in greylisting.
Thanks in advance,
todd_dsm
Don't forget to Vote for this RFE:
RFE: A place To Display the contents of 'My Documents'
Reasoning: It's new, bold, and cool.


LinkBack URL
About LinkBacks

