hello everybody,
i'd like to configure postfix as a relay agent to send mails over a microsoft exchange 2007 mailserver.
My problem is that i can only send mails when i configure "anonymous user" in the hub-transport for the special postfix connector.
Wenn i disable "anonymous user" i get the failure in the postfix maillog "530 5.7.1 client was not authenticated".
I don't see my mistake.
Here are my config files for postfix:
main.cf
[code]relayhost = <exchange-server>:25
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpw
smtp_sasl_security_options =
smtp_sasl_mechanism_filter = login
smtp_generic_maps = hash:/etc/postfix/generic
smtp_sasl_type = cyrus
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = smtpd
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
check_relay_domains [/code]
generic
[code]root <ad-user>@<domain>[/code]
saslpw
[code]<mailserver>@<domain> <ad-user>@<domain>:<password>[/code]