[CentOS] Postfix setup

Mon Mar 11 08:52:46 UTC 2013
Tilman Schmidt <t.schmidt at phoenixsoftware.de>

Am 11.03.2013 03:54, schrieb Austin Einter:
> I am planning to setup mail server for my domain.
> 
> Which one is preferred postfix or sendmail.

Choose the one your most familiar with.
If you aren't familiar with either, find someone who is.
Setting up a mail server in today's hostile Internet is not a task to be
taken lightly.

> I came across a link *
> http://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/
> * for postfix mail setup.

That page does not give good advice.
Surely there must be better resources than that?

> It says,
> Prerequisites:
> 
>    - The mail server should contain a valid MX record in the DNS server.

Strange wording, but I guess they mean the right thing:
your DNS zone should contain an MX RR pointing to the mail server,
but only *after* your mail server is up and running.

>    Navigate to this link how to setup DNS
> server<http://ostechnix.wordpress.com/2013/01/25/setup-dns-server-step-by-step-in-centos-6-3-rhel-6-3-scientific-linux-6-3-3/>

That page contains the blatant DNS configuration errors we sorted
out in your other thread. Don't use it. While we're at it, consider
not setting up your own nameserver at all but using your registrar's
nameservice instead. It may save you some hassle.

>    - Firewall and SELinux should be disabled.

Bad advice.

> I have disabled iptables as my m/c is behind the firewall.
> 
> It says I need to disable firewall. Is it really required. Kindly let me
> know.

No, you don't need to, and you shouldn't.

HTH
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20130311/5d48dfc9/attachment-0003.sig>