[CentOS] Setting up postfix under CentOS-6

Natxo Asenjo natxo.asenjo at gmail.com
Fri Sep 13 18:19:15 UTC 2013


On Sep 13, 2013 7:02 PM, "Les Mikesell" <lesmikesell at gmail.com> wrote:
>
> On Fri, Sep 13, 2013 at 10:18 AM, natxo asenjo <natxo.asenjo at gmail.com>
wrote:
> >
> > The fact you do not understand the documentation does not mean it is
> > bad.
>
> It is pretty good evidence that swapping it as the default because
> 'sendmail is hard' was misguided, though.  Sendmail works and isn't
> particularly hard if you stick to the sendmail.mc settings and
> milters.

Hardly.

Postfix works and isn't particularly hard if you take the time to read and
understand the docs.

The point is, an mta is something you need to set up. Be it sendmail, exim,
postfix or exchange.

> >The default postfix in centos does basically nothing. Because there
> > is no standard setting for postfix (it is too versatile), e-mail
> > administrators are expected to know what they are doing.
>
> Everyone needs to send mail.  Lots of unix/linux programs are
> configured to hand off to sendmail whether you do it personally or
> not.  Postfix comes with enough sendmail emulation to accept that
> mail, but then what?

then you set it up. Nothing shocking here. This is a normal step in
provisioning a host. It's like not specifying an alias for the local root
account to send system messages somewhere else where they get read. and the
local root account accumulates messages nobody reads. Then you login to run
some maintenance and the first thing you see is 20000 unread messages.

 > > If you do not
> > want to spend the time learning that, just use your isp e-mail or one of
> > the free and numerous cloud e-mail providers.
>
> Exactly.  But where is the concise how-to to make that work?

RTFM :-)

It is not that hard:
http://www.postfix.org/BASIC_CONFIGURATION_README.html'What delivery
method: direct or indirect'.

Or http://lmgtfy.com/?q=postfix+how+to+send+mail+through+isp if you think
the docs are hard to find, then you get a link to the postfix.org site
http://www.postfix.org/SOHO_README.html where you can read 'Enabling SASL
authentication in the Postfix SMTP/LMTP client' to relay e-mail to another
server with authentication enabled. Very easily explained.

Of course you can always find an obscure howto somewhere on the net and
then complain that it does not work. I prefer to stick with the official
docs.

Running an internet facing stmp server is another matter. But running
postfix with a smarthost is a piece of cake.

-- 

groet,

natxo






I mean, simpler than

relayhost = yourispmta.domain.tld

 is hard to find, isn't it?



More information about the CentOS mailing list