From: jason welsh on
hey list.. im trying to authenticate my postfix smtp server to yahoo/att
server, I have followed the following guide
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html

and cannot get my server to authenticate..
here is the smtp conversation as i have sniffed it

220 smtp103.sbc.mail.ac4.yahoo.com ESMTP
EHLO mydomain.org
250-smtp103.sbc.mail.ac4.yahoo.com
250-AUTH LOGIN PLAIN XYMCOOKIE
250-PIPELINING
250 8BITMIME
MAIL FROM:<jason(a)mydomain.org> BODY=7BIT
RCPT TO:<jawelsh(a)someotherdomain.com>
DATA
530 authentication required - for help go to
http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
530 authentication required - for help go to
http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
530 authentication required - for help go to
http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
RSET
QUIT
250 flushed
221 Service Closing transmission


in my main.cf, I have (among other things)

relayhost=smtp.att.yahoo.com:587
smtp_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous

beast ~ # cat /etc/postfix/sasl_passwd
[smtp.att.yahoo.com]:587 myaccount(a)att.net:xxxxxxxxxxx

(real account name and password are in this file)
and I have the .db file made ..
beast ~ # ls -al /etc/postfix/sasl_passwd*
-rw-r--r-- 1 root root 57 Jul 10 09:53 /etc/postfix/sasl_passwd
-rw-r--r-- 1 root root 12288 Jul 10 13:54 /etc/postfix/sasl_passwd.db

so how can I figure out why postfix isnt trying to authenticate while
relaying?

Jason
From: Matt Hayes on
On 07/10/2010 02:10 PM, jason welsh wrote:
> hey list.. im trying to authenticate my postfix smtp server to yahoo/att
> server, I have followed the following guide
> http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html
>
> and cannot get my server to authenticate..
> here is the smtp conversation as i have sniffed it
>
> 220 smtp103.sbc.mail.ac4.yahoo.com
> <http://smtp103.sbc.mail.ac4.yahoo.com> ESMTP
> EHLO mydomain.org <http://mydomain.org>
> 250-smtp103.sbc.mail.ac4.yahoo.com
> <http://250-smtp103.sbc.mail.ac4.yahoo.com>
> 250-AUTH LOGIN PLAIN XYMCOOKIE
> 250-PIPELINING
> 250 8BITMIME
> MAIL FROM:<jason(a)mydomain.org <mailto:jason(a)mydomain.org>> BODY=7BIT
> RCPT TO:<jawelsh(a)someotherdomain.com <mailto:jawelsh(a)someotherdomain.com>>
> DATA
> 530 authentication required - for help go to
> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
> 530 authentication required - for help go to
> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
> 530 authentication required - for help go to
> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
> RSET
> QUIT
> 250 flushed
> 221 Service Closing transmission
>
>
> in my main.cf <http://main.cf>, I have (among other things)
>
> relayhost=smtp.att.yahoo.com:587 <http://smtp.att.yahoo.com:587>
> smtp_sasl_auth_enable = yes
> broken_sasl_auth_clients = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options = noanonymous
>
> beast ~ # cat /etc/postfix/sasl_passwd
> [smtp.att.yahoo.com <http://smtp.att.yahoo.com>]:587
> myaccount(a)att.net:xxxxxxxxxxx
>
> (real account name and password are in this file)
> and I have the .db file made ..
> beast ~ # ls -al /etc/postfix/sasl_passwd*
> -rw-r--r-- 1 root root 57 Jul 10 09:53 /etc/postfix/sasl_passwd
> -rw-r--r-- 1 root root 12288 Jul 10 13:54 /etc/postfix/sasl_passwd.db
>
> so how can I figure out why postfix isnt trying to authenticate while
> relaying?
>
> Jason
>
>
>

What is the output of: postconf -a

-Matt

From: Wietse Venema on
jason welsh:
> relayhost=smtp.att.yahoo.com:587

This has no [] around the name.

> beast ~ # cat /etc/postfix/sasl_passwd
> [smtp.att.yahoo.com]:587 myaccount(a)att.net:xxxxxxxxxxx

This has [] around the name.

As per the documentation, both must be the same.

Wietse

From: jason welsh on
beast ~ # postconf -a
cyrus
dovecot

aha.. Im guessing sasl should be in there somewhere?

Jason


On Sat, Jul 10, 2010 at 2:20 PM, Matt Hayes <dominian(a)slackadelic.com>wrote:

> On 07/10/2010 02:10 PM, jason welsh wrote:
>
>> hey list.. im trying to authenticate my postfix smtp server to yahoo/att
>> server, I have followed the following guide
>>
>> http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html
>>
>> and cannot get my server to authenticate..
>> here is the smtp conversation as i have sniffed it
>>
>> 220 smtp103.sbc.mail.ac4.yahoo.com
>> <http://smtp103.sbc.mail.ac4.yahoo.com> ESMTP
>> EHLO mydomain.org <http://mydomain.org>
>>
>> 250-smtp103.sbc.mail.ac4.yahoo.com
>> <http://250-smtp103.sbc.mail.ac4.yahoo.com>
>>
>> 250-AUTH LOGIN PLAIN XYMCOOKIE
>> 250-PIPELINING
>> 250 8BITMIME
>> MAIL FROM:<jason(a)mydomain.org <mailto:jason(a)mydomain.org>> BODY=7BIT
>> RCPT TO:<jawelsh(a)someotherdomain.com <mailto:jawelsh(a)someotherdomain.com
>> >>
>>
>> DATA
>> 530 authentication required - for help go to
>> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
>> 530 authentication required - for help go to
>> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
>> 530 authentication required - for help go to
>> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
>> RSET
>> QUIT
>> 250 flushed
>> 221 Service Closing transmission
>>
>>
>> in my main.cf <http://main.cf>, I have (among other things)
>>
>> relayhost=smtp.att.yahoo.com:587 <http://smtp.att.yahoo.com:587>
>>
>> smtp_sasl_auth_enable = yes
>> broken_sasl_auth_clients = yes
>> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
>> smtp_sasl_security_options = noanonymous
>>
>> beast ~ # cat /etc/postfix/sasl_passwd
>> [smtp.att.yahoo.com <http://smtp.att.yahoo.com>]:587
>>
>> myaccount(a)att.net:xxxxxxxxxxx
>>
>> (real account name and password are in this file)
>> and I have the .db file made ..
>> beast ~ # ls -al /etc/postfix/sasl_passwd*
>> -rw-r--r-- 1 root root 57 Jul 10 09:53 /etc/postfix/sasl_passwd
>> -rw-r--r-- 1 root root 12288 Jul 10 13:54 /etc/postfix/sasl_passwd.db
>>
>> so how can I figure out why postfix isnt trying to authenticate while
>> relaying?
>>
>> Jason
>>
>>
>>
>>
> What is the output of: postconf -a
>
> -Matt
>
From: Eero Volotinen on
2010/7/10 jason welsh <ncdirtbag(a)gmail.com>:
> hey list.. im trying to authenticate my postfix smtp server to yahoo/att
> server, I have followed the following guide
> http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html
>
> and cannot get my server to authenticate..
> here is the smtp conversation as i have sniffed it
>
> 220 smtp103.sbc.mail.ac4.yahoo.com ESMTP
> EHLO mydomain.org
> 250-smtp103.sbc.mail.ac4.yahoo.com
> 250-AUTH LOGIN PLAIN XYMCOOKIE
> 250-PIPELINING
> 250 8BITMIME
> MAIL FROM:<jason(a)mydomain.org> BODY=7BIT
> RCPT TO:<jawelsh(a)someotherdomain.com>
> DATA
> 530 authentication required - for help go to
> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
> 530 authentication required - for help go to
> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
> 530 authentication required - for help go to
> http://help.yahoo.com/sbc/dsl/mail/pop/pop-11.html
> RSET
> QUIT
> 250 flushed
> 221 Service Closing transmission
>
>
> in my main.cf, I have (among other things)
>
> relayhost=smtp.att.yahoo.com:587
> smtp_sasl_auth_enable = yes
> broken_sasl_auth_clients = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options = noanonymous
>
> beast ~ # cat /etc/postfix/sasl_passwd
> [smtp.att.yahoo.com]:587 myaccount(a)att.net:xxxxxxxxxxx
>
> (real account name and password are in this file)
> and I have the .db file made ..
> beast ~ # ls -al /etc/postfix/sasl_passwd*
> -rw-r--r-- 1 root root    57 Jul 10 09:53 /etc/postfix/sasl_passwd
> -rw-r--r-- 1 root root 12288 Jul 10 13:54 /etc/postfix/sasl_passwd.db
>
> so how can I figure out why postfix isnt trying to authenticate while
> relaying?

Is yahoo really your smarthost?

--
Eero