Bind Setup for Postfix Mail Server

Ricky Nguyen
Ricky Nguyen used Ask the Experts™
on
Hi Experts,

I have a Debian linux server with hostname ns1.fmec.local and a registered domain of fmec.com.au

Is the following Bind setup correct if allowing for mail server?
Bind Setup

Thanks in advance
Rick
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2007

Commented:
it should be ok
David BeveridgeLinux Systems Admin
Commented:
I think that the mail.fmec.com.au might need to have a public, internet reachable A record ip address, and when I do a lookup that is what I get.

You should also get your ISP to change the PTR record in the reverse DNS to match the name
eg
mail.fmec.com.au.	300	IN	A	114.76.235.101

Open in new window

and your reverse DNS should be matching
101.235.76.114.in-addr.arpa domain name pointer mail.fmec.com.au.

Open in new window

not
101.235.76.114.in-addr.arpa domain name pointer c114-76-235-101.farfl3.nsw.optusnet.com.au.

Open in new window

Author

Commented:
Hi omarfarid and bevhost, thanks for your replies. Bevhost, what if I have a ddns with tzo.com? My isp blocks port 25 so I purchased an outbound mail relay service from tzo. Please see below dig result:
namelookup
Would that mean the A record should be pointing to tzo?

ie,
mail.fmec.com.au           300        IN           A         SAF.tzo.com.

Open in new window

How should the reverse DNS be setup? Still like above?
101.235.76.114.in-addr.arpa domain name pointer mail.fmec.com.au.

Open in new window

Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Top Expert 2007
Commented:
for outbound email you don't need MX record. MX record is for inbound email to the domain, but you need A record for outbound email if your email client uses SMTP to send out.

Some mail servers provide webmail service which is basically HTTP access to mailbox content and can be used for sending messages as well.
David BeveridgeLinux Systems Admin

Commented:
If your ISP blocks port 25 outbound then you should forward all your email via their server.,
If you don't have a fixed (static) IP address the you can't have a PTR record
if you can't have a PTR Record then you can't have a Sending SMTP MAIL Server.

Author

Commented:
Hi bevhost, I was able to get my ms exchange 2003 working with tzo and have been using it for many years. I need to make TZO as my primary MX.

so..
fmec.com.au.     IN      MX     10     SAF.TZO.COM.

Open in new window

I got that from:
http://www.tzo.com/OrderDocs/TZO-SAF-Administration.html
tzo-mx-settings.png

Author

Commented:
How should I set my A record if thats the case?

Author

Commented:
I'll place my follow up question in a new post. Many thanks.
Top Expert 2007

Commented:
what A record yo want to set?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial