mutt fails to send

2011-10-03 Thread Alexander Harizanov
Hi all,
I have mutt under debian lenny. I configured it to work with my gmail account. 
When I tried to send email it failed with message msmtp: envelope from 
harizanov.alexan...@gmail.com not accepted by the server msmtp: server message 
530.5.5.1 authentication required
There is no problem with receiving messages from gmail through fetchmail and 
mutt.
Any ideas how to fix this ?


Re: mutt fails to send

2011-10-03 Thread Ivo Engelhardt
On Mon, Oct 03, 2011 at 11:46:25AM -0700, Alexander Harizanov wrote:
 Hi all,
 I have mutt under debian lenny. I configured it to work with my gmail 
 account. When I tried to send email it failed with message msmtp: envelope 
 from harizanov.alexan...@gmail.com not accepted by the server msmtp: server 
 message 530.5.5.1 authentication required
 There is no problem with receiving messages from gmail through fetchmail and 
 mutt.
 Any ideas how to fix this ?

Gmail need STARTTLS.
http://www.scottro.net/qnd/qnd-gmail.html

-- 
Ivo Engelhardt


Re: mutt fails to send

2011-10-03 Thread Marco Giusti
On Mon, Oct 03, 2011 at 11:46:25AM -0700, Alexander Harizanov wrote:
 Hi all,
 I have mutt under debian lenny. I configured it to work with my gmail 
 account. When I tried to send email it failed with message msmtp: envelope 
 from harizanov.alexan...@gmail.com not accepted by the server msmtp: server 
 message 530.5.5.1 authentication required
 There is no problem with receiving messages from gmail through fetchmail and 
 mutt.
 Any ideas how to fix this ?

what is your msmtp configuration? with the following one I have no
problems, excepting you are not receiving this email.

  1 defaults
  2 auth on
  3 tls on
  4 tls_starttls on
  5 logfile ~/.cache/log/msmtp
  6 tls_nocertcheck
  7
  8 # gmail
  9 account gmail
 10 host smtp.gmail.com
 11 from marco.giu...@gmail.com
 12 user marco.giu...@gmail.com
 13 password ***