Hi all,

I am trying to relay my outgoing mail and I receive a authentification
error.
I followd the relevand guides for setting up a smarthost

smtp_sasl_mechanism_filter = plain
smtp_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
relayhost = [smtp.myrelay.se]:submission
smtp_sasl_password_maps = static:user:password
broken_sasl_auth_clients = yes

I sniffed the network traffic between my server and the relayhost and I
think it all boils down to that postfix tries to authenticate incorrectly
with

AUTH PLAIN dXNlcgB1c2VyAHBhc3N3b3Jk
(which is AUTH PLAIN useruserpassword)

Instead of 

AUTH PLAIN AHVzZXIAcGFzc3dvcmQ=
(which is AUTH PLAIN userpassword)


Included an excerpt of my network traffic

250-SIZE 20971520
250-PIPELINING
250-AUTH PLAIN LO
1:123:123.5286 IP host.66301 > se.submission: P 31:68(37) ack 245
'.._5.o.AUTH PLAIN dXNlcgB1c2VyAHBhc3N3b3Jk

1:123:123.5586 IP se.submission > host.66301: P 245:280(35) ack
5.o.'.._535 Incorrect authentication data


Decoding the authetification line
>perl -MMIME::Base64 -e 'print decode_base64("dXNlcgB1c2VyAHBhc3N3b3Jk");'
>useruserpassword

so it seems that my password_map "static:user:password" is incorrect send to
the
relay host (should be \0user\0password instead of useruserpassword)
(i tried with a password file/db but that gives the same result)

from here I am stuck. I cannot find how to correct this.

Regards Gijs



Reply via email to