[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [msmtp-users] using msmtp with bellsouth.net
It doesn't work... no matter what combination of options I've tried.
I'll try to be more detailed.
An old sendmail setup used, in sendmail.mc:
define(`SMART_HOST',`[mail.bellsouth.net]')
FEATURE(`authinfo',`hash /etc/mail/authinfo.db')
resulting in this in sendmail.cf
DS[mail.bellsouth.net]
Kauthinfo hash /etc/mail/authinfo.db
and authinfo had this:
AuthInfo:[mail.bellsouth.net] "U:root" "I:username@...103..." "P:password" "M:LOGIN PLAIN"
This setup worked. I upgraded from redhat to gentoo and decided to try
something other than sendmail, and msmtp seemed like a good choice.
So I have tried lots of combinations. All of them had this much, with
the part in the middle changing each time:
account bellsouth
host mail.bellsouth.net
from mdweisen@...103...
user mdweisen@...103...
password 7697927
# this is the part that changes with each test...
account default : bellsouth
I have attached all the files with the settings as specified, and the output
from running your test (with -d).
Mike
On Tue, Apr 24, 2007 at 09:07:48PM +0200, Martin Lambers wrote:
> On Tue, 24. Apr 2007, 14:52:12 -0400, Mike Weisenborn wrote:
> > On Tue, Apr 24, 2007 at 08:47:20PM +0200, Martin Lambers wrote:
> > > On Mon, 16. Apr 2007, 10:05:16 -0400, Mike Weisenborn wrote:
> > > > Has anyone had any success using msmtp to relay mail to bellsouth.net? I
> > > > have tried what I think is every obvious combination, but I still end up
> > > > getting errors.
> > >
> > > What error messages do you get if you run "msmtp --serverinfo" from the
> > > command line?
> >
> > SMTP server at mail.bellsouth.net (mail01.mail.bellsouth.net
> > [205.152.59.17]), port 25:
> > ibm58aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 14:51:27 -0400
> > Capabilities:
> > SIZE 26214400:
> > Maximum message size is 26214400 bytes = 25.00 MB
> > PIPELINING:
> > Support for command grouping for faster transmission
> > DSN:
> > Support for Delivery Status Notifications
> >
>
> That seems to be OK. Now try to send a simple mail:
> echo -e "Subject: Test\n\nTest" | msmtp mw@...100...
>
> If that works, too, then something is wrong with your mail client setup.
>
> Martin
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> msmtp-users mailing list
> msmtp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msmtp-users
>
--
Mike Weisenborn, Senior Partner
mw@...100... 770-886-0443 www.clearbuilt.com
Clearbuilt Technologies - consulting, development and education
for the real estate and construction industries
auth cram-md5
tls off
tls_starttls off
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = CRAM-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm58aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:41:01 -0400
--> EHLO localhost
<-- 250-ibm58aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 25msmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
0-DSN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm58aec.bellsouth.net ESMTP server closing connection
auth cram-md5
tls off
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = CRAM-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm58aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:40:00 -0400
--> EHLO localhost
<-- 250-ibm58aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250msmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
-DSN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm58aec.bellsouth.net ESMTP server closing connection
auth cram-md5
tls on
tls_starttls off
msmtp: cannot connect to mail.bellsouth.net, port 465: Connection timed out
msmtp: could not send mail (account default from /etc/msmtprc)
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 465
timeout = off
protocol = smtp
domain = localhost
auth = CRAM-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
auth cram-md5
tls on
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = CRAM-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm58aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:12:31 -0400
--> EHLO localhost
<-- 250-ibm58aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250-msmtp: the server does not support TLS via the STARTTLS command
msmtp: could not send mail (account default from /etc/msmtprc)
DSN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm58aec.bellsouth.net ESMTP server closing connection
auth digest-md5
tls off
tls_starttls off
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = DIGEST-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm70aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:41:16 -0400
--> EHLO localhost
<-- 250-ibm70aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- msmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
250-DSN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm70aec.bellsouth.net ESMTP server closing connection
auth digest-md5
tls off
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = DIGEST-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm70aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:40:15 -0400
--> EHLO localhost
<-- 250-ibm70aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 2msmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
50-DSN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm70aec.bellsouth.net ESMTP server closing connection
auth digest-md5
tls on
tls_starttls off
msmtp: cannot connect to mail.bellsouth.net, port 465: Connection timed out
msmtp: could not send mail (account default from /etc/msmtprc)
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 465
timeout = off
protocol = smtp
domain = localhost
auth = DIGEST-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
auth digest-md5
tls on
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = DIGEST-MD5
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm70aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:12:46 -0400
--> EHLO localhost
<-- 250-ibm70aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 25msmtp: the server does not support TLS via the STARTTLS command
msmtp: could not send mail (account default from /etc/msmtprc)
0-DSN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm70aec.bellsouth.net ESMTP server closing connection
auth login
tls off
tls_starttls off
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = LOGIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm58aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:41:31 -0400
--> EHLO localhost
<-- 250-ibm58aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250-Dmsmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
SN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm58aec.bellsouth.net ESMTP server closing connection
auth login
tls off
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = LOGIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm58aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:40:30 -0400
--> EHLO localhost
<-- 250-ibm58aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250-DSmsmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
N
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm58aec.bellsouth.net ESMTP server closing connection
auth login
tls on
tls_starttls off
msmtp: cannot connect to mail.bellsouth.net, port 465: Connection timed out
msmtp: could not send mail (account default from /etc/msmtprc)
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 465
timeout = off
protocol = smtp
domain = localhost
auth = LOGIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
auth login
tls on
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = LOGIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm58aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:13:01 -0400
--> EHLO localhost
<-- 250-ibm58aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250-DSNmsmtp: the server does not support TLS via the STARTTLS command
msmtp: could not send mail (account default from /etc/msmtprc)
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm58aec.bellsouth.net ESMTP server closing connection
auth plain
tls off
tls_starttls off
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = PLAIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm70aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:40:46 -0400
--> EHLO localhost
<-- 250-ibm70aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250-Dmsmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
SN
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm70aec.bellsouth.net ESMTP server closing connection
auth plain
tls off
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = PLAIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = off
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm70aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:39:45 -0400
--> EHLO localhost
<-- 250-ibm70aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250-DSmsmtp: the server does not support authentication
msmtp: could not send mail (account default from /etc/msmtprc)
N
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm70aec.bellsouth.net ESMTP server closing connection
auth plain
tls on
tls_starttls off
msmtp: cannot connect to mail.bellsouth.net, port 465: Connection timed out
msmtp: could not send mail (account default from /etc/msmtprc)
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 465
timeout = off
protocol = smtp
domain = localhost
auth = PLAIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = off
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
auth plain
tls on
tls_starttls on
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/mdw/.msmtprc: No such file or directory
using account default from /etc/msmtprc
host = mail.bellsouth.net
port = 25
timeout = off
protocol = smtp
domain = localhost
auth = PLAIN
user = mdweisen@...103...
password = *
ntlmdomain = (not set)
tls = on
tls_starttls = on
tls_trust_file = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = on
tls_force_sslv3 = off
auto_from = off
maildomain = (not set)
from = mdweisen@...103...
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
reading recipients from the command line
<-- 220 ibm70aec.bellsouth.net ESMTP server ready Tue, 24 Apr 2007 16:12:15 -0400
--> EHLO localhost
<-- 250-ibm70aec.bellsouth.net
<-- 250-HELP
<-- 250-PIPELINING
<-- 250-DSNmsmtp: the server does not support TLS via the STARTTLS command
msmtp: could not send mail (account default from /etc/msmtprc)
<-- 250-8BITMIME
<-- 250 SIZE 26214400
--> QUIT
<-- 221 ibm70aec.bellsouth.net ESMTP server closing connection