Setting host and domain for mailx

Kenton Brede kbrede at nixnotes.org
Sun May 1 03:50:59 UTC 2005


On Sat, Apr 30, 2005 at 07:58:08PM -0700, Kevin O'Gorman (kogorman at gmail.com) wrote:
> I just had reason to use mailx to send out some mail to
> a list of people I know, and they just about all failed 
> because mailx thinks my box is
>    localhost at localdomain
> 
> What did I set up wrong?  This is Warty, about to go
> Hoary.

Edit /etc/mailname to reflect the domain you want to send as.

Restart postfix -
/etc/init.d/postfix restart

If Warty uses exim restart exim.
Kent

-- 
"Our lives begin to end the day we become silent about things that matter."
  - Martin Luther King Jr.





More information about the ubuntu-users mailing list