Hi,

I want to set up a relayhost for my local mail server, but for some reason
my postfix will not try to authenticate with the relay server.

I have these packages installed:

libsasl2
libsasl2-2
libsasl2-modules

main.cf
relayhost = mail.relay.host
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_cname_overrides_servername = no


sasl_password:
mail.relay.host    u...@mail.relay.host:password


If I send a mail the relay server rejects it with a no relaying allowed
error. I checked it with tcpdump, and there is no authentication in the
outgoing smtp session.

With the same settings a different server can use the same relay server.

Any ideas?

Reply via email to