OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: all outgoing mail is written as userlocalhost.localdomain

From: Aaron Harwood (aharwoodcs.mu.oz.au)
Date: Mon Nov 21 2005 - 07:24:12 CST


Well I solved the problem by fixing my hosts file, it is now this:

aharwoodhome ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
192.168.1.1 gateway.aerosoul.com.au gateway
[aharwoodhome ~]$

However, now my email address is listed as

userhome.aerosoul.com.au

rather than

useraerosoul.com.au

It looks like the address is dependent on things outside postfix; the
postfix
configuration specifies mail.aerosoul.com.au as the myhostname,
however the
single server has a name of home.aerosoul.com.au to the outside
world. Probably
what /dev/rob0 was saying about the sendmail command doing something
is the
place to look. I'm not sure where or how to remove that culprit
though (not
/dev/rob0, the sendmail command :)

--Aaron