|
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: Aaron Harwood (aharwood
cs.mu.oz.au)
Date: Mon Nov 21 2005 - 05:07:26 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2005-11-21 at 11:46 +0100, Sandy Drobic wrote:
> Okay, this could be a problem. Please set myhostname to a fully
> qualified name (mail.aerosoul.com.au).
Okay, I've set it to as above. I wont try changing that anymore then.
> "mydestination = mail" ist not unusable.
I see your point.
> The recommendation is also NOT to use a cname entry. Please use an A
> record to resolve your mx name.
I have this now in my external view:
[root
home named]# cat aerosoul-home.zone
;
; Zone file for aerosoul.com.au
;
; The full zone file for internal view
;
$TTL 3D
IN SOA ns1.aerosoul.com.au. hostmaster.aerosoul.com.au.
(
200551715 ; serial#
3600 ; refresh, seconds
3600 ; retry, seconds
3600 ; expire, seconds
3600 ) ; minimum, seconds
;
NS ns1 ; Inet Address of nameserver
aerosoul.com.au. MX 10 mail ; Primary Mail Exchanger
;
localhost A 127.0.0.1
home A 192.168.1.4
gateway A 192.168.1.1
mail A 192.168.1.4
ns1 CNAME home
ns2 CNAME home
www CNAME home
[root
home named]#
This is in my internal view:
[root
home named]# cat aerosoul-home.zone
;
; Zone file for aerosoul.com.au
;
; The full zone file for internal view
;
$TTL 3D
IN SOA ns1.aerosoul.com.au. hostmaster.aerosoul.com.au.
(
200551715 ; serial#
3600 ; refresh, seconds
3600 ; retry, seconds
3600 ; expire, seconds
3600 ) ; minimum, seconds
;
NS ns1 ; Inet Address of nameserver
aerosoul.com.au. MX 10 mail ; Primary Mail Exchanger
;
localhost A 127.0.0.1
home A 192.168.1.4
gateway A 192.168.1.1
mail A 192.168.1.4
ns1 CNAME home
ns2 CNAME home
www CNAME home
[root
home named]#
> I hope you have also set up a reverse lookup for your mx ip locally.
I have this in my reverse lookup:
[root
home named]# cat 192-168-1.zone
;
; Filename: 192-168-1.zone
;
; Zone file for 192.168.1.x
;
$TTL 3D
IN SOA www.aerosoul.com.au.
hostmaster.aerosoul.com.au. (
200511711 ; serial number
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns1 ; Nameserver Address
;
4 PTR home.aerosoul.com.au.
4 PTR mail.aerosoul.com.au.
4 PTR www.aerosoul.com.au.
32 PTR dhcp-192-168-1-32.aerosoul.com.au.
33 PTR dhcp-192-168-1-33.aerosoul.com.au.
34 PTR dhcp-192-168-1-34.aerosoul.com.au.
35 PTR dhcp-192-168-1-35.aerosoul.com.au.
36 PTR dhcp-192-168-1-36.aerosoul.com.au.
[root
home named]#
With the above settings, problem remains.
--Aaron
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]