|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
all outgoing mail is written as user
localhost.localdomain
From: Aaron Harwood (aharwood
cs.mu.oz.au)
Date: Mon Nov 21 2005 - 02:49:32 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear Postfix-users,
I've tried setting up postfix on a server, behind a netcomm router
that uses NAT. I'm running my own DNS server.
All outgoing mail from the server is written as
user
localhost.localdomain
rather than
user
aerosoul.com.au
For example, here is mail that I sent to myself on the machine:
[aharwood
home ~]$ mail aharwood
aerosoul.com.au
Subject: adfa
asdfad
asdf
.
Cc:
[aharwood
home ~]$ mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/aharwood": 1 message 1 new
>N 1 aharwood
localhost.l Mon Nov 21 19:37 19/770 "adfa"
& 1
Message 1:
>From aharwood
localhost.localdomain Mon Nov 21 19:37:49 2005
X-Original-To: aharwood
aerosoul.com.au
Delivered-To: aharwood
aerosoul.com.au
Date: Mon, 21 Nov 2005 19:37:49 +1100
From: Aaron Harwood <aharwood
localhost.localdomain>
To: aharwood
aerosoul.com.au
Subject: adfa
asdfad
asdf
& q
Saved 1 message in mbox
[aharwood
home ~]$
I can't seem to make it put the proper origin on the return address.
Among other things, I have this in my main.cf:
myhostname = home.aerosoul.com.au
mydomain = aerosoul.com.au
myorigin = $mydomain
proxy_interfaces = 210.15.217.001 # this is the external IP address
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mail.$mydomain, www.$mydomain, ftp.$mydomain home.$mydomain
mynetworks = 192.168.1.0/24, 192.168.0.0/24, 127.0.0.0/8
relay_domains =
Anyone out there that can help?
--Aaron
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]