[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[msmtp-users] msmtp: the server does not support authentication



Hi,

I am using msmtp 1.4.28 from Debian and I am trying to use it to send
email through my work domain from my home.

I use mutt, but, I am test from command line.

Here is msmtprc file

++++++++++++++

account ufvjm
host smtp.ufvjm.edu.br
domain ufvjm.edu.br
port 25
protocol smtp
auth login
#plain scram-sha-1 cram-md5 gssapi external digest-md5 login ntlm
from me@...309...
user me
#user me@...309...
password mypassw
tls_starttls on
auth on
tls on
tls_certcheck off


Here is the command line and debug output:

homedeb@...310...:~$ echo "Your howto is awesome, thanks" | msmtp --debug=masmtlog -a
ufvjm me2@...20...
ignoring system configuration file /etc/msmtprc: File not found
loaded user configuration file /home/me/.msmtprc
using account ufvjm from /home/me/.msmtprc
host                  = smtp.ufvjm.edu.br
port                  = 25
timeout               = off
protocol              = smtp
domain                = ufvjm.edu.br
auth                  = choose
user                  = me@...309...
password              = *
passwordeval          = (not set)
ntlmdomain            = (not set)
tls                   = on
tls_starttls          = on
tls_trust_file        = (not set)
tls_crl_file          = (not set)
tls_fingerprint       = (not set)
tls_key_file          = (not set)
tls_cert_file         = (not set)
tls_certcheck         = off
tls_force_sslv3       = off
tls_min_dh_prime_bits = (not set)
tls_priorities        = (not set)
auto_from             = off
maildomain            = (not set)
from                  = me@...309...
dsn_notify            = (not set)
dsn_return            = (not set)
keepbcc               = off
logfile               = /home/me/.msmtp.log
syslog                = (not set)
aliases               = (not set)
reading recipients from the command line
<-- 220 SMTP
--> EHLO ufvjm.edu.br
<-- 250-ufvjm.edu.br
<-- 250-PIPELINING
<-- 250-SIZE 20971520
<-- 250-ETRN
<-- 250-STARTTLS
<-- 250-ENHANCEDSTATUSCODES
<-- 250-8BITMIME
<-- 250 DSN
--> STARTTLS
<-- 220 2.0.0 Ready to start TLS
TLS certificate information:
    Owner:
        Common Name: mail.ufvjm.edu.br
        Organization: UFVJM
        Organizational unit: DTI
        Locality: Diamantina
        State or Province: Minas Gerais
        Country: BR
    Issuer:
        Common Name: dti.ufvjm.edu.br
        Organization: UFVJM
        Organizational unit: DTI
        Locality: Diamantina
        State or Province: Minas Gerais
        Country: BR
    Validity:
        Activation time: Qui 06 Jan 2011 16:02:10 BRST
        Expiration time: Dom 03 Jan 2021 16:02:10 BRST
    Fingerprints:
        SHA1:
        1A:E0:34:B3:6B:4D:AB:8F:50:58:9F:2C:3A:D2:54:EB:D4:44:F6:C3
        MD5:  97:88:83:59:49:C4:84:6A:46:9D:C0:BB:09:1D:AD:1B
--> EHLO ufvjm.edu.br
<-- 250-ufvjm.edu.br
<-- 250-PIPELINING
<-- 250-SIZE 20971520
<-- 250-ETRN
<-- 250-ENHANCEDSTATUSCODES
<-- 250-8BITMIME
<-- 250 DSN
--> QUIT
<-- 221 2.0.0 Bye
msmtp: the server does not support authentication
msmtp: could not send mail (account ufvjm from /home/me/.msmtprc)


However, our server is configured to authentication by password/login.

Could you help me?

Thank you very much.

-- 
  O___   - Marcelo