* [gentoo-user] ssmtp & at&t woes
@ 2008-12-01 22:34 John Blinka
2008-12-03 18:28 ` Mick
0 siblings, 1 reply; 9+ messages in thread
From: John Blinka @ 2008-12-01 22:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
I recently switched to at&t from another isp. At that other isp,
my ssmtp setup worked perfectly. With at&t, a similar ssmtp setup
(modified appropriately to point to at&t's smtp server) does not
work at all.
AT&T told me to use the server smtp.att.yahoo.com and port
465. So my ssmtp.conf file looks like:
Debug=YES
root=xxx@att.net
mailhub=smtp.att.yahoo.com:465
AuthUser=xxx
AuthPass=yyy
rewriteDomain=att.net
FromLineOverride=YES
UseTLS=YES
and my revaliases file looks like
root=xxx@att.net:smtp.att.yahoo.com:465
The result of the command mail -v -s test xxx@att.net is:
[<-] 220 smtp122.sbc.mail.sp1.yahoo.com ESMTP
[->] EHLO tobey
[<-] 250 8BITMIME
[->] AUTH LOGIN
[<-] 334 VXNlcm5hbWU6
[->] am9obi5ibGlua2E=
[<-] 334 UGFzc3dvcmQ6
[<-] 535 authorization failed (#5.7.0)
send-mail: Authorization failed (535 authorization failed (#5.7.0))
Can't send mail: sendmail process failed with error code 1
I read somewhere that some people can't get at&t's port 465 to work
with ssmtp and that they have used port 587 successfully. Not so
for me. Using port 587 (replacing 465 by 587 in ssmtp.conf and revaliases),
the result of mail -v -s test xxx@att.net is:
SSL_connect: Success
send-mail: Cannot open smtp.att.yahoo.com:587
Can't send mail: sendmail process failed with error code 1
I have no problem at all sending mail to my att.net account from
various gmail accounts I use, so I know that my password and
username combination functions.
I can telnet to smtp.att.yahoo.com at either port 465 or 587 and get
a response, so nothing is blocking either port.
Any insights or suggestions?
John Blinka
[-- Attachment #2: Type: text/html, Size: 2303 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
2008-12-01 22:34 [gentoo-user] ssmtp & at&t woes John Blinka
@ 2008-12-03 18:28 ` Mick
2008-12-04 12:11 ` John Blinka
0 siblings, 1 reply; 9+ messages in thread
From: Mick @ 2008-12-03 18:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1910 bytes --]
On Monday 01 December 2008, John Blinka wrote:
> I recently switched to at&t from another isp. At that other isp,
> my ssmtp setup worked perfectly. With at&t, a similar ssmtp setup
> (modified appropriately to point to at&t's smtp server) does not
> work at all.
>
> AT&T told me to use the server smtp.att.yahoo.com and port
> 465. So my ssmtp.conf file looks like:
>
> Debug=YES
> root=xxx@att.net
> mailhub=smtp.att.yahoo.com:465
> AuthUser=xxx
> AuthPass=yyy
> rewriteDomain=att.net
> FromLineOverride=YES
> UseTLS=YES
>
> and my revaliases file looks like
>
> root=xxx@att.net:smtp.att.yahoo.com:465
>
> The result of the command mail -v -s test xxx@att.net is:
>
> [<-] 220 smtp122.sbc.mail.sp1.yahoo.com ESMTP
> [->] EHLO tobey
> [<-] 250 8BITMIME
> [->] AUTH LOGIN
> [<-] 334 VXNlcm5hbWU6
> [->] am9obi5ibGlua2E=
> [<-] 334 UGFzc3dvcmQ6
> [<-] 535 authorization failed (#5.7.0)
> send-mail: Authorization failed (535 authorization failed (#5.7.0))
> Can't send mail: sendmail process failed with error code 1
>
> I read somewhere that some people can't get at&t's port 465 to work
> with ssmtp and that they have used port 587 successfully. Not so
> for me. Using port 587 (replacing 465 by 587 in ssmtp.conf and
> revaliases), the result of mail -v -s test xxx@att.net is:
>
> SSL_connect: Success
> send-mail: Cannot open smtp.att.yahoo.com:587
> Can't send mail: sendmail process failed with error code 1
>
> I have no problem at all sending mail to my att.net account from
> various gmail accounts I use, so I know that my password and
> username combination functions.
>
> I can telnet to smtp.att.yahoo.com at either port 465 or 587 and get
> a response, so nothing is blocking either port.
>
> Any insights or suggestions?
>
> John Blinka
Have a go at adding:
UseSTARTTLS=YES
and remove:
UseTLS=YES
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
2008-12-03 18:28 ` Mick
@ 2008-12-04 12:11 ` John Blinka
0 siblings, 0 replies; 9+ messages in thread
From: John Blinka @ 2008-12-04 12:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 453 bytes --]
On Wed, Dec 3, 2008 at 1:28 PM, Mick <michaelkintzios@gmail.com> wrote:
>
>
> Have a go at adding:
>
> UseSTARTTLS=YES
>
> and remove:
>
> UseTLS=YES
>
> --
>
Thanks for the suggestion, but ssmtp doesn't like it:
[<-] 220 smtp119.sbc.mail.sp1.yahoo.com ESMTP
[->] EHLO tobey
[<-] 250 8BITMIME
[->] STARTTLS
[<-] 502 unimplemented (#5.5.1)
send-mail: Cannot open smtp.att.yahoo.com:587
Can't send mail: sendmail process failed with error code 1
John
[-- Attachment #2: Type: text/html, Size: 974 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
[not found] <bEpAX-5D6-3@gated-at.bofh.it>
@ 2008-12-04 20:33 ` ms
2008-12-04 22:03 ` Håkon Alstadheim
2008-12-04 22:26 ` John Blinka
0 siblings, 2 replies; 9+ messages in thread
From: ms @ 2008-12-04 20:33 UTC (permalink / raw
To: gentoo-user
John Blinka wrote:
> I recently switched to at&t from another isp. At that other isp,
> my ssmtp setup worked perfectly. With at&t, a similar ssmtp setup
> (modified appropriately to point to at&t's smtp server) does not
> work at all.
>
> AT&T told me to use the server smtp.att.yahoo.com and port
> 465. So my ssmtp.conf file looks like:
>
> Debug=YES
> root=xxx@att.net
> mailhub=smtp.att.yahoo.com:465
> AuthUser=xxx
> AuthPass=yyy
> rewriteDomain=att.net
> FromLineOverride=YES
> UseTLS=YES
>
> and my revaliases file looks like
>
> root=xxx@att.net:smtp.att.yahoo.com:465
>
> The result of the command mail -v -s test xxx@att.net is:
>
> [<-] 220 smtp122.sbc.mail.sp1.yahoo.com ESMTP
> [->] EHLO tobey
> [<-] 250 8BITMIME
> [->] AUTH LOGIN
> [<-] 334 VXNlcm5hbWU6
> [->] am9obi5ibGlua2E=
> [<-] 334 UGFzc3dvcmQ6
> [<-] 535 authorization failed (#5.7.0)
> send-mail: Authorization failed (535 authorization failed (#5.7.0))
> Can't send mail: sendmail process failed with error code 1
>
> I read somewhere that some people can't get at&t's port 465 to work
> with ssmtp and that they have used port 587 successfully. Not so
> for me. Using port 587 (replacing 465 by 587 in ssmtp.conf and revaliases),
> the result of mail -v -s test xxx@att.net is:
>
> SSL_connect: Success
> send-mail: Cannot open smtp.att.yahoo.com:587
> Can't send mail: sendmail process failed with error code 1
>
> I have no problem at all sending mail to my att.net account from
> various gmail accounts I use, so I know that my password and
> username combination functions.
>
> I can telnet to smtp.att.yahoo.com at either port 465 or 587 and get
> a response, so nothing is blocking either port.
>
> Any insights or suggestions?
>
> John Blinka
Hi John,
I suppose you use a wrong username. According to
http://helpme.att.net/article.php?item=287 you have to use the full mail
address. Otherwise check your password for correctness.
Another problem might be the line in your revaliases file. The separator
between the columns is a colon not equals (right after the 'root'). If
you don't send mail to other people from your root account you do not
need that line anyway.
ms
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
2008-12-04 20:33 ` ms
@ 2008-12-04 22:03 ` Håkon Alstadheim
2008-12-05 3:12 ` John Blinka
2008-12-04 22:26 ` John Blinka
1 sibling, 1 reply; 9+ messages in thread
From: Håkon Alstadheim @ 2008-12-04 22:03 UTC (permalink / raw
To: gentoo-user
Since this thread has been going on for so long without a resolution, I
thought I'd mention that I recently switched to nullmailer from ssmtp.
Im using port 587 with STARTTLS, and I find nullmailer way easier to set
up. Just put --user and --pass parameters in /etc/nullmailer/remotes.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
2008-12-04 20:33 ` ms
2008-12-04 22:03 ` Håkon Alstadheim
@ 2008-12-04 22:26 ` John Blinka
1 sibling, 0 replies; 9+ messages in thread
From: John Blinka @ 2008-12-04 22:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
On Thu, Dec 4, 2008 at 3:33 PM, <ms@venturemedia.de> wrote:
>
> Hi John,
>
> I suppose you use a wrong username. According to
> http://helpme.att.net/article.php?item=287 you have to use the full mail
> address. Otherwise check your password for correctness.
Tried that. Didn't help. I've been known to supply incorrect passwords,
but I think it's correct in my ssmtp.conf.
>
>
> Another problem might be the line in your revaliases file. The separator
> between the columns is a colon not equals (right after the 'root'). If you
> don't send mail to other people from your root account you do not need that
> line anyway.
You're right, but correcting this doesn't solve the problem,. either.
Thanks for both suggestions.
John
[-- Attachment #2: Type: text/html, Size: 1314 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
2008-12-04 22:03 ` Håkon Alstadheim
@ 2008-12-05 3:12 ` John Blinka
2008-12-05 12:36 ` Stroller
0 siblings, 1 reply; 9+ messages in thread
From: John Blinka @ 2008-12-05 3:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 960 bytes --]
On Thu, Dec 4, 2008 at 5:03 PM, Håkon Alstadheim
<hakon@alstadheim.priv.no>wrote:
> Since this thread has been going on for so long without a resolution, I
> thought I'd mention that I recently switched to nullmailer from ssmtp. Im
> using port 587 with STARTTLS, and I find nullmailer way easier to set up.
> Just put --user and --pass parameters in /etc/nullmailer/remotes.
Thanks for this suggestion. I tried nullmailer, and it is, indeed, easier
to set up. And I think it worked, too, but then I ran afoul of a "553"
error in t&t/yahoo's smtp server - something about an unverified
alternate email address. I'm guessing that nullmailer worked, but
that at&t/yahoo have some additional layer of requirements for a
working smtp connection. I've run out of patience with this and am
now relaying my mail to smtp.gmail.com via ssmtp. That worked
immediately without any of the at&t pain.
Thanks to everyone who responded!
John
[-- Attachment #2: Type: text/html, Size: 1361 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
2008-12-05 3:12 ` John Blinka
@ 2008-12-05 12:36 ` Stroller
2008-12-05 12:59 ` John Blinka
0 siblings, 1 reply; 9+ messages in thread
From: Stroller @ 2008-12-05 12:36 UTC (permalink / raw
To: gentoo-user
On 5 Dec 2008, at 03:12, John Blinka wrote:
> ...
> I've run out of patience with this and am
> now relaying my mail to smtp.gmail.com via ssmtp. That worked
> immediately without any of the at&t pain. ...
That will always change your "from: " email address to your @gmail
one. If you own my.cool.domain.com then you can't send email with a
"from: " address within that domain.
> ...
> Thanks for this suggestion. I tried nullmailer, and it is, indeed,
> easier
> to set up. And I think it worked, too, but then I ran afoul of a
> "553"
> error in t&t/yahoo's smtp server - something about an unverified
> alternate email address. I'm guessing that nullmailer worked, but
> that at&t/yahoo have some additional layer of requirements for a
> working smtp connection.
BT in the UK do this with Yahoo!, too. You have to login to the Yahoo!
webmail for the account, go into "options" (I think it's under "other
accounts") and add your other email addresses. You'll be able to use
them as your "from: " addresses with the Yahoo SMTP server once you've
clicked on the links in the emails they send you.
Stroller.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ssmtp & at&t woes
2008-12-05 12:36 ` Stroller
@ 2008-12-05 12:59 ` John Blinka
0 siblings, 0 replies; 9+ messages in thread
From: John Blinka @ 2008-12-05 12:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]
On Fri, Dec 5, 2008 at 7:36 AM, Stroller <stroller@stellar.eclipse.co.uk>wrote:
>
> On 5 Dec 2008, at 03:12, John Blinka wrote:
>
>> ...
>> I've run out of patience with this and am
>> now relaying my mail to smtp.gmail.com via ssmtp. That worked
>> immediately without any of the at&t pain. ...
>>
>
> That will always change your "from: " email address to your @gmail one. If
> you own my.cool.domain.com then you can't send email with a "from: "
> address within that domain.
That's what I want to happen, so it's fine.
>
>
> BT in the UK do this with Yahoo!, too. You have to login to the Yahoo!
> webmail for the account, go into "options" (I think it's under "other
> accounts") and add your other email addresses. You'll be able to use them as
> your "from: " addresses with the Yahoo SMTP server once you've clicked on
> the links in the emails they send you.
AT&T's yahoo interface has an "options" menu, and I've explored it
extensively, but
I haven't found such a place to add "from" addresses. Mysteriously (to me
at least), once
I gave up on AT&T's smtp server and set my system up to relay through gmail,
my
nightly amanda jobs successfully sent their email reports to my
att.netemail account.
(I'd forgotten to change the email reporting address from att.net to
gmail.com in my
amanda.conf files.) So, I guess at&t/yahoo regard gmail as a legitimate
source of email.
John
[-- Attachment #2: Type: text/html, Size: 2433 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-12-05 12:59 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01 22:34 [gentoo-user] ssmtp & at&t woes John Blinka
2008-12-03 18:28 ` Mick
2008-12-04 12:11 ` John Blinka
[not found] <bEpAX-5D6-3@gated-at.bofh.it>
2008-12-04 20:33 ` ms
2008-12-04 22:03 ` Håkon Alstadheim
2008-12-05 3:12 ` John Blinka
2008-12-05 12:36 ` Stroller
2008-12-05 12:59 ` John Blinka
2008-12-04 22:26 ` John Blinka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox