Gentoo Archives: gentoo-user

From: ms@××××××××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ssmtp & at&t woes
Date: Thu, 04 Dec 2008 20:33:09
Message-Id: 49383E81.4090309@venturemedia.de
1 John Blinka wrote:
2 > I recently switched to at&t from another isp. At that other isp,
3 > my ssmtp setup worked perfectly. With at&t, a similar ssmtp setup
4 > (modified appropriately to point to at&t's smtp server) does not
5 > work at all.
6 >
7 > AT&T told me to use the server smtp.att.yahoo.com and port
8 > 465. So my ssmtp.conf file looks like:
9 >
10 > Debug=YES
11 > root=xxx@×××.net
12 > mailhub=smtp.att.yahoo.com:465
13 > AuthUser=xxx
14 > AuthPass=yyy
15 > rewriteDomain=att.net
16 > FromLineOverride=YES
17 > UseTLS=YES
18 >
19 > and my revaliases file looks like
20 >
21 > root=xxx@×××.net:smtp.att.yahoo.com:465
22 >
23 > The result of the command mail -v -s test xxx@×××.net is:
24 >
25 > [<-] 220 smtp122.sbc.mail.sp1.yahoo.com ESMTP
26 > [->] EHLO tobey
27 > [<-] 250 8BITMIME
28 > [->] AUTH LOGIN
29 > [<-] 334 VXNlcm5hbWU6
30 > [->] am9obi5ibGlua2E=
31 > [<-] 334 UGFzc3dvcmQ6
32 > [<-] 535 authorization failed (#5.7.0)
33 > send-mail: Authorization failed (535 authorization failed (#5.7.0))
34 > Can't send mail: sendmail process failed with error code 1
35 >
36 > I read somewhere that some people can't get at&t's port 465 to work
37 > with ssmtp and that they have used port 587 successfully. Not so
38 > for me. Using port 587 (replacing 465 by 587 in ssmtp.conf and revaliases),
39 > the result of mail -v -s test xxx@×××.net is:
40 >
41 > SSL_connect: Success
42 > send-mail: Cannot open smtp.att.yahoo.com:587
43 > Can't send mail: sendmail process failed with error code 1
44 >
45 > I have no problem at all sending mail to my att.net account from
46 > various gmail accounts I use, so I know that my password and
47 > username combination functions.
48 >
49 > I can telnet to smtp.att.yahoo.com at either port 465 or 587 and get
50 > a response, so nothing is blocking either port.
51 >
52 > Any insights or suggestions?
53 >
54 > John Blinka
55
56 Hi John,
57
58 I suppose you use a wrong username. According to
59 http://helpme.att.net/article.php?item=287 you have to use the full mail
60 address. Otherwise check your password for correctness.
61
62 Another problem might be the line in your revaliases file. The separator
63 between the columns is a colon not equals (right after the 'root'). If
64 you don't send mail to other people from your root account you do not
65 need that line anyway.
66
67 ms

Replies

Subject Author
Re: [gentoo-user] ssmtp & at&t woes "Håkon Alstadheim" <hakon@×××××××××××××××.no>
Re: [gentoo-user] ssmtp & at&t woes John Blinka <john.blinka@×××××.com>