Setting host and domain for mailx

Kevin O'Gorman kogorman at
Sun May 1 14:24:54 UTC 2005

Thanks.  That did it.

Isn't there a GUI tool to do the same?  Is there something I missed
while doing the
install?  I'm asking because I have students I give Ubuntu install
disks to, and I
want to give them easy instructions for setup.

++ kevin

On 4/30/05, Kenton Brede <kbrede at> wrote:
> On Sat, Apr 30, 2005 at 07:58:08PM -0700, Kevin O'Gorman (kogorman at 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.
> --
> ubuntu-users mailing list
> ubuntu-users at

Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

More information about the ubuntu-users mailing list