Dovecot/Postfix issues when setting up Greylisting
by sniper8752 from LinuxQuestions.org on (#57MG3)
I am trying to configure greylisting on my server. When I attempt to receive mail, this is all I get:
Code:Sep 1 19:12:05 mail postfix/qmgr[514519]: 9D4463403659: from=<double-bounce@mail.myfqdn.com>, size=1286, nrcpt=1 (queue active)
Sep 1 19:12:05 mail dovecot[414894]: lmtp(514662): Connect from local
Sep 1 19:12:05 mail dovecot[414894]: lmtp(514662): Error: lmtp-server: conn unix:pid=514661,uid=89 [1]: rcpt root@myfqdn.com: Failed to lookup user root@myfqdn.com: Invalid settings in userdb: userdb returned 0 as uid
Sep 1 19:12:05 mail postfix/lmtp[514661]: 9D4463403659: to=<root@myfqdn.com>, orig_to=<postmaster>, relay=mail.myfqdn.com[private/dovecot-lmtp], delay=967, delays=967/0.02/0.02/0.01, dsn=4.3.0, status=deferred (host mail.myfqdn.com[private/dovecot-lmtp] said: 451 4.3.0 <root@myfqdn.com> Temporary internal error (in reply to RCPT TO command))Here is a snippet from my main.cf file:
Code:policyd-spf_time_limit = 3600
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_policy_service unix:private/policyd-spf,
# check_policy_service unix:postgrey/socket # Added by meWhen I comment out that last line, I can receive mail just fine. When I enable it, after waiting an hour, I still do not receive my mail, and receive the above error messages.


Code:Sep 1 19:12:05 mail postfix/qmgr[514519]: 9D4463403659: from=<double-bounce@mail.myfqdn.com>, size=1286, nrcpt=1 (queue active)
Sep 1 19:12:05 mail dovecot[414894]: lmtp(514662): Connect from local
Sep 1 19:12:05 mail dovecot[414894]: lmtp(514662): Error: lmtp-server: conn unix:pid=514661,uid=89 [1]: rcpt root@myfqdn.com: Failed to lookup user root@myfqdn.com: Invalid settings in userdb: userdb returned 0 as uid
Sep 1 19:12:05 mail postfix/lmtp[514661]: 9D4463403659: to=<root@myfqdn.com>, orig_to=<postmaster>, relay=mail.myfqdn.com[private/dovecot-lmtp], delay=967, delays=967/0.02/0.02/0.01, dsn=4.3.0, status=deferred (host mail.myfqdn.com[private/dovecot-lmtp] said: 451 4.3.0 <root@myfqdn.com> Temporary internal error (in reply to RCPT TO command))Here is a snippet from my main.cf file:
Code:policyd-spf_time_limit = 3600
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_policy_service unix:private/policyd-spf,
# check_policy_service unix:postgrey/socket # Added by meWhen I comment out that last line, I can receive mail just fine. When I enable it, after waiting an hour, I still do not receive my mail, and receive the above error messages.