You are not logged in.

#1 2008-08-05 00:27:10

cujo
Member
Registered: 2007-03-28
Posts: 45

Msmtp Authentication Problem

So in trying set up msmtp, I've run into a hiccup.  It won't send mail and gives me this lovely message...

msmtp: the server does not support authentication

That seems simple enough except:

>msmtp -S -a *********
SMTP server at **************, port 587:
    ************* ESMTP Sendmail 8.13.8/8.13.8; Mon, 4 Aug 2008 20:20:19 -0400
Capabilities:
    PIPELINING:
        Support for command grouping for faster transmission
    DSN:
        Support for Delivery Status Notifications
    STARTTLS:
        Support for TLS encryption via the STARTTLS command
This server might advertise more or other capabilities when TLS is active.

So basically, it doesn't seem to support authentication.  So how do I authenticate?

That last line about advertising more when TLS is active sounded good, so I put the tls goodness in my config file, and then:

msmtp -S -a ********
msmtp: TLS handshake failed: A record packet with illegal version was received.

So now what?  My .msmtprc file looks like this...

defaults
logfile ~/.mstp.log

account *********
host ************
#auth on
#user ******
#password **********
tls on
tls_starttls off
tls_certcheck off
port 587
from foo@bar.org
domain bar.org

account default : ********

Offline

Board footer

Powered by FluxBB