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

Re: msmtp (and mutt)



On Thu, Aug 23, 2007 at 13:47:10 +0200, Mauro Sacchetto wrote:
> I tried to configure msmtp for mutt
> 
> My: ~/.msmtprc:
> 
> ==================================
> account tele2
> host smtp.tele2.it
> port 587
> from mauro.sacchetto@tele2.it
> auth on
> user ************
> password ************
> tls off
> ==================================
> 
> and in .muttrc:
> 
> =====================================
> set sendmail="/usr/bin/msmtp"
> set envelope_from=yes
> =====================================
> 
> But, when I try to send:
> 
> ======================================================================
> msmtp: cannot use a secure authentication method
> msmtp: could not send mail (account tele2 from /home/samiel/.msmtprc)
> Error in sending of message
> the son exits with 69 (service unavailable)
> ======================================================================
> Some ideas? Thanx!

Maybe your provider does not allow unencrypted transmission of username
and password. Try to change your msmtp configuration to "tls on".

By the way, the version of mutt in Lenny and Sid has built-in (E)SMTP
support. (Your user-agent string "KNode/0.10.5" suggests that you might
be using Sid.) In that case you do not need an external MTA anymore,
just put

set smtp_url="smtps://USER:PASSWORD@smtp.tele2.it"

into your ~/.muttrc.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: