|
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 user
localhost.localdomain
From: Sandy Drobic (postfix-users
japantest.homelinux.com)
Date: Mon Nov 21 2005 - 07:57:55 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Aaron Harwood wrote:
>
>
> Well I solved the problem by fixing my hosts file, it is now this:
>
> aharwood
home ~]$ 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
> [aharwood
home ~]$
>
>
> However, now my email address is listed as
>
> user
home.aerosoul.com.au
>
If you don't use fully qualified mail addresses for recipient and sender
then postfix will add the hostname to get a FQDN address.
> rather than
>
> user
aerosoul.com.au
>
For that you can use /etc/postfix/canonical to rewrite the address, but
I suggest you use correct address so you do not need to worry about this
behaviour.
Please set the complete email address including domain in your client
program.
> 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 :)
As I said, it should use the myhostname in main.cf. Can you post
postconf -n again? Maybe we missed something.
Sandy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]