View Single Post
  #1   (View Single Post)  
Old 11th January 2015
acampbell acampbell is offline
Real Name: Anthony Campbell
Shell Scout
 
Join Date: Sep 2014
Location: London, UK
Posts: 138
Default Can't send emails with msmtp - domain name conflict

My domain name is xxxxx.org.uk and my machine is mybox.
I therefore put mybox.xxxx.xxx.xxx in /etc/myname.

my mail is sent by msmtp. This puts mybox.xxxxx.xxx.xxx as the sender which my isp's server rejects.

if I change myname to xxxxx.xxx.xxx, without mybox, the mail is ok but my machine has no name.

over the last 2 days i've fiddled endlessly with .msmtprc and /etc/hosts and googled whatever i can think of without improvement. Can anyone suggest a way to send emails while preserving my machine name?

Last edited by acampbell; 13th January 2015 at 11:07 AM. Reason: remove my data
Reply With Quote