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

[msmtp-users] Re: Fixed the 'From' header problem



Hello.  Turns out mutt does construct the header in non-interactive
mode as well.  I'm not sure why it didn't work before.  In any case,
I now use mutt instead of mail, and may in fact completely replace
mail with mutt.  

So now user calls mutt, which adds the From: header based on username
and hostname, which then calls msmtp, which connects to the STMP 
server which sends out the mail fine.

The only issue I have left is with the msmtp sysconfig file being world
readable: I don't necessarily want all users seeing the un/pw combination
for the SMTP server.

Someone suggested I set msmtp to setuid to user 'msmtp' and then change
the perms on the file.  I might try that.  For the time being, everything
works great.

Thanks for all your help.

- liberte