Sendmail real domain and internal mail

Place to discuss Fedora and/or Red Hat

Sendmail real domain and internal mail

Postby deepeyes » Tue May 25, 2004 5:51 am

Hi guys, please forgive me as the last post I answered myself before I could get an answer from you guys.

Here it is:

I am setting up another network, replacing a very tired M$ Backoffice with Samba, Sendmail, Apache, DNS and DHCP.

I have all working very well so far. My example domain name is:

example.zone

internal mail works, DNS lookups, www.

We also host our own mail that has a real domain of:

example.com.au

If I use a mail client to send mail to user@example.zone it is processed ok, but if I use the real domain name ie user@example.com.au , sendmail is trying to send it out to someone outside (I am not online yet as I am doing a PC rollout) There is a message in /var/log/mail and it says

(deferred)

I put in /etc/mail/local-host-names

example.zone
example.com.au

and also added in /var/named/chroot/var/named/example.zone

MX 10 mail.example.zone
MX 15 mail.example.com.au

Is what I am trying to do possible?

What am I missing?

Other things you should know are:

The current firewall receives mail from our ISP, the firewall processes RBL stuff and other things, then forwards it to the M$ Exchange server (YUCK sorry for the fowl language).

My Goal is to get the firewall to point the mail to my new server.

Thanks

DE
deepeyes
user
user
 
Posts: 14
Joined: Wed Feb 18, 2004 5:08 pm
Location: Sydney Australia

Postby deepeyes » Tue May 25, 2004 6:54 pm

OK I have had time to think about this more. It seems that it could be a DNS issue.

Is there a way that example.zone and example.com.au can coexist?

do I need to add another zone in named.conf

Just a thought
'
DE
deepeyes
user
user
 
Posts: 14
Joined: Wed Feb 18, 2004 5:08 pm
Location: Sydney Australia

Postby Void Main » Tue May 25, 2004 7:20 pm

If you want to send mail to both domains and/or have hosts in both domains then yes you need a zone file for each domain. You would put an MX record in both domains.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 0 guests

cron