David Uhlmann | 29 May 2012 21:41
Picon

Question about Configuration

Hi

I configured msmtp and when I send a mail with the command

msmtp -a ARRA receiver <at> domain.com < mailtext.txt

I become a Mail with no return address and no name. 

What do I'm doing wrong?

My config File looks like:

defaults
tls on
tls_starttls on
tls_certcheck off
auth on

account ARRA
host smtp.host.com
from admin <at> host.com
user admin <at> host.com
port 25
password (passwd)

But in the incoming Mail-Client, there is no "from": Field.

Kind regards, Dave

------------------------------------------------------------------------------
(Continue reading)

Martin Lambers | 29 May 2012 22:07
Picon

Re: Question about Configuration

On Tue, 29 May 2012 21:41:29 +0200, David Uhlmann wrote:
> I configured msmtp and when I send a mail with the command
> 
> msmtp -a ARRA receiver <at> domain.com < mailtext.txt
> 
> I become a Mail with no return address and no name. 
> 
> What do I'm doing wrong?

Your mailtext.txt must contain the complete mail, not just the mail
body. Msmtp does not construct a complete mail, that's the job of a
mail user agent (MUA) such as Mutt.

Martin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane