hello, i have difficulties integrating "policyd" into postfix, after making the required configuration in postfix "main.cf"
Quote:
# postconf -n | grep restrictions
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
|
i cant send any mails and i get this message in maillog
Quote:
Dec 13 06:48:02 host postfix/smtpd[25184]: NOQUEUE: reject: RCPT from unknown[ip.ip.ip.ip]: 450 4.3.2 <anyemail@gmail.com>: Recipient address rejected: Try again later; from=<h@mydomain.com> to=<anyemail@gmail.com> proto=ESMTP helo=<[192.168.1.77]>
|
i can only send mails if i put "check_policy_service ......" at the end of "smtpd_recipient_restrictions" line , like
Quote:
# postconf -n | grep restrictions
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031
smtpd_end_of_data_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031
|
but no policy checking for the mails sent. postfix just ignore policyd daemon (even if policyd saemon is up or down it's same for postfix) and send the mails without checking.
thanks for your help!