Email Relay - Authentication Failed

chrisn

Verified User
Joined
Jun 5, 2007
Messages
12
I have a server that has postfix on it that I want all outgoing mail to relay through my directadmin server.

The postfix main.cf is:

myhostname = sendingdomain.com
mydomain = sendingdomain.com
myorigin = sendingdomain.com

smtpd_banner = $myhostname ESMTP $mail_name
biff = no
append_dot_mydomain = no

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localdomain, localhost, localhost.localdomain, localhost
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

relayhost = [mail.daserver.com]
smtp_connection_cache_destinations = mail.daserver.com
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:[email protected]:password
smtp_sasl_security_options =

soft_bounce = yes

----------------------------------------------

When I send an email from my non-da server, i get this response:

to=<[email protected]>, relay=none, delay=0.08, delays=0.08/0.01/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: SASL authentication failed; server mail.daserver.com[xx.xx.xxx.x] said: 535 Incorrect authentication data)

I can login to webmail and create an account in mail programs and it sends fine. Which leads me to wonder if my postfix is wrong, or my da server is not accepting SASL (what would it be accepting?) or if it's just not set up for this.

Thanks.
 
More info:

#telnet localhost 25
Connected to localhost.localdomain.
Escape character is '^]'.
220 mail.daserver.com ESMTP Exim 4.63 Tue, 26 Aug 2008 15:52:14 -0400
EHLO sendingserver.com
250-daserver.com Hello localhost [127.0.0.1]
250-SIZE 20971520
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
AUTH PLAIN YhjfglcnRzLmN--base64--mlzLWU=
535 Incorrect authentication data

But this is the right username / password!
 
Back
Top