horse_rivers writes: > thanks! > > these options have fixed order which can not be changed ? No, the order doesn't matter. > At 2012-11-20 15:14:50,Daimrod  wrote: >>horse_rivers  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 > > -- Daimrod/Greg