Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

535 authorization failed (#5.7.0)) Error

Status
Not open for further replies.

felix001

Technical User
Nov 15, 2008
102
GB
Im currently trying to relay my emails via Postfix through my yahoo Smart Host.

Ive added the following to my config ,

postconf -e 'relayhost = [smtp.mail.yahoo.co.uk]'
postconf -e 'smtp_sasl_auth_enable = yes'
postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd'
postconf -e 'smtp_sasl_security_options = '
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_tls_auth_only = yes'
postconf -e 'smtpd_use_tls = yes'
postconf -e 'smtp_sasl_type = cyrus'

echo [smtp.mail.yahoo.co.uk]$'\t'email:password > /etc/postfix/sasl_passwd
postmap /etc/postfix/sasl_passwd
/etc/init.d/postfix restart

and im getting the error ...

May 24 20:32:15 localhost postfix/pickup[18612]: AFC2C18014: uid=0 from=<###@yahoo.co.uk>
May 24 20:32:15 localhost postfix/cleanup[18666]: AFC2C18014: message-id=<20090524203215.AFC2C18014@jabba.localdomain>
May 24 20:32:15 localhost postfix/qmgr[18613]: AFC2C18014: from=<###@yahoo.co.uk>, size=304, nrcpt=1 (queue active)
May 24 20:32:16 localhost postfix/smtp[18668]: AFC2C18014: to=<###@yahoo.co.uk>, relay=smtp.mail.yahoo.co.uk[217.12.11.66]:25, delay=0.44, delays=0.01/0/0.43/0, dsn=5.0.0, status=bounced (SASL authentication failed; server smtp.mail.yahoo.co.uk[217.12.11.66] said: 535 authorization failed (#5.7.0))
May 24 20:32:16 localhost postfix/cleanup[18666]: 27D2118019: message-id=<20090524203216.27D2118019@###.localdomain>
May 24 20:32:16 localhost postfix/bounce[19420]: AFC2C18014: sender non-delivery notification: 27D2118019
May 24 20:32:16 localhost postfix/qmgr[18613]: AFC2C18014: removed
May 24 20:32:16 localhost postfix/qmgr[18613]: 27D2118019: from=<>, size=2154, nrcpt=1 (queue active)


Anyone able to help ???

 
So i have spent some more time on this today and found that I still have an issue when using telnet...

I must be missing something pretty simple but i cannot see what ...

[root@jabba ~]# telnet smtp.mail.yahoo.co.uk 25
Trying 217.12.11.66...
Connected to smtp.mail.yahoo.co.uk.
Escape character is '^]'.
220 smtp105.mail.ukl.yahoo.com ESMTP
ehlo you
250-smtp105.mail.ukl.yahoo.com
250-AUTH LOGIN PLAIN XYMCOOKIE
250-PIPELINING
250 8BITMIME
AUTH LOGIN
334 VXNlcm5hbWU6
########
334 UGFzc3dvcmQ6
########
535 authorization failed (#5.7.0)

I have used the base64 command to encode my username and password but it accepts my username by not my password...
Ive tested it over http and logged in fine...
[color]







 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top