Michael a écrit :
> As follows
>
> smtpd_recipient_restrictions =
> reject_invalid_hostname,
> reject_non_fqdn_sender,
> reject_non_fqdn_recipient,
> reject_unknown_sender_domain,
> reject_unknown_recipient_domain,
> reject_unauth_pipelining,
useless. RCPT TO is an "asynchronous" command, so there is no
"unauth_pipelining" at this stage. read the pipelining RFC for more.
> check_recipient_access hash:/etc/postfix/access,
Avoid check_foo_access before reject_unauth_destination. an error will
make you an open relay. what are you tryng to do with that?
> permit_mynetworks,
> reject_authenticated_sender_login_mismatch
> mysql:/etc/postfix/mysql-sender-access.cf
As Barney pointed out, errax syntor (syntax error).
you want something like:
smtpd_sender_login_maps = mysql:/etc/postfix/mysql-sender-access.cf
smtpd_sender_restrictions =
reject_authenticated_sender_login_mismatch
(there's no point polluting smtpd_recipient_restrictions with this).
PS. next time, show output of 'postconf -n' instead of personally
selected main.cf snippets.
> [snip]