As vírgulas estão ausentes após cada uma das regras, devem ser:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_policy_service inet:127.0.0.1:1002
Eu instalei o postgrey e adicionei o seguinte ao main.cf:
smtpd_recipient_restrictions =
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
check_policy_service inet:127.0.0.1:10023
Agora meu postfix não retransmite mais emails. Ele fornece as seguintes mensagens:
May 18 18:54:43 r2 postfix/smtpd[3351]: connect from mx02.posteo.de[89.146.194.165]
May 18 18:54:43 r2 postfix/smtpd[3351]: warning: premature end-of-input on 127.0.0.1:10023 while reading input attribute name
May 18 18:54:44 r2 postfix/smtpd[3351]: warning: premature end-of-input on 127.0.0.1:10023 while reading input attribute name
May 18 18:54:44 r2 postfix/smtpd[3351]: warning: problem talking to server 127.0.0.1:10023: Success
May 18 18:54:44 r2 postfix/smtpd[3351]: NOQUEUE: reject: RCPT from mx02.posteo.de[89.146.194.165]: 451 4.3.5 Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mx02.posteo.de>
May 18 18:54:44 r2 postfix/smtpd[3351]: disconnect from mx02.posteo.de[89.146.194.165]
Alguma idéia do que poderia estar errado? Ou como descobrir qual "Problema de configuração do servidor" eu tenho?
As vírgulas estão ausentes após cada uma das regras, devem ser:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_policy_service inet:127.0.0.1:1002