Apparently since Ubuntu 12.04LTS postgrey service now exclusively listens to ipv6 and this needs to be corrected in the postfix settings. See this post. This manifested as failing local mail delivery logged as:
ZitatAlles anzeigen
Jan 11 22:00:03 rhodavm100 postfix/smtpd[5944]: warning: connect to 127.0.0.1:10023: Connection refused
Jan 11 22:00:03 rhodavm100 postfix/smtpd[5944]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Jan 11 22:00:04 rhodavm100 postfix/smtpd[5944]: warning: connect to 127.0.0.1:10023: Connection refused
Jan 11 22:00:04 rhodavm100 postfix/smtpd[5944]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Jan 11 22:00:04 rhodavm100 postfix/smtpd[5944]: NOQUEUE: reject: RCPT from srv1.nubelo.com[178.33.160.130]: 451 4.3.5 Server configuration problem; from=<info@nubelo.com> to=<myaddress@mydomain.como> proto=ESMTP helo=<srv1.nubelo.com>
After changing the following line in /etc/postfix/main.cf, local mail delivery was recovered:
Zitatgreylist = check_policy_service inet:::1:10023
After that I changed /usr/lib/liveconfig/lua/postfix.lua :
Zitat
if LC.distribution.family == "Debian" then
fh:write("greylist = check_policy_service inet:::1:10023\n")
In LUA I don't see distinction is made between Debian and Ubuntu. Since I don't use Debian, I cannot tell if the same setting would work there. Is so, please correct the LUA script like indicated in your next release.