help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: help with msmtp !


From: Daimrod
Subject: Re: help with msmtp !
Date: Tue, 20 Nov 2012 08:14:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

horse_rivers <horse_rivers@126.com> writes:

> hi,  
>   when I send mail with msmtp,it take this error message to me :
>
>  msmtp: envelope from address xxx  not accepted by the server
>
> msmtp: server message: 553 authentication is 
> required,smtp7,DsmowECZ_U6a66pQw8i2Ag--.525S2 1353378714

It looks like you didn't set the user and password for your account.

> msmtp: could not send mail (account default from /usr/local/msmtp/etc/msmtprc)
>
> the msmtp config file is right seted,host address and account is seted 
> correctly!
>
>
> is there some advise?

I have this in ~/.gnus.el:

(setf sendmail-program "msmtp"
      mail-envelope-from 'header
      message-sendmail-envelope-from 'header
      message-sendmail-f-is-evil nil
      mail-specify-envelope-from t)

And then, each entry in ~/.msmtprc is like:

account NAME
host some.smtp.host
port PORT
user USER
From from@address
password XXXX

-- 
Daimrod/Greg

Attachment: pgphG3qAp_wYL.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]