I recently, perhaps foolishly, changed over a remote server from sendmail/procmail to postfix/amavis/spamassassin/clamd , and I'm finding it difficult to configure this setup. The CentOS document <http://wiki.centos.org/HowTos/postfix> explicitly says that its instructions may not work in CentOS-6. Does anyone know of reasonably simple postfix documentation for CentOS-6? I've been amazed how bad the postfix documentation is. It actually seems to be worse that sendmail documentation, which I thought established a record for this sort of thing. The official documentation at <http://www.postfix.org/documentation.html> is ludicrously wordy, with every conceivable option listed in random order. -- Timothy Murphy e-mail: gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin 2, Ireland
On 12/09/13 11:03, Timothy Murphy wrote:> I recently, perhaps foolishly, changed over a remote server > from sendmail/procmail to postfix/amavis/spamassassin/clamd , > and I'm finding it difficult to configure this setup. > > The CentOS document <http://wiki.centos.org/HowTos/postfix> > explicitly says that its instructions may not work in CentOS-6. > Does anyone know of reasonably simple postfix documentation > for CentOS-6? >The above probably should work, just that it wasn't written specifically for 6 and hasn't been tested on 6, but the changes in Postfix between 5 and 6 shouldn't prevent it from working given it describes the bare minimum required to get Postfix up on your system. The warning was added as a matter of course, as users started reporting inconsistencies between guides written for CentOS 5 when CentOS 6 was released. For example, I would expect more issues with dovecot configs between 5 and 6 than I would with Postfix. Anyway, for Postfix it really doesn't get any simpler than the above. If you find inconsistencies please feel free to feed back changes to the centos-docs list and the page can be updated for CentOS 6. Thanks.
On 09/12/2013 12:03 PM, Timothy Murphy wrote:> I recently, perhaps foolishly, changed over a remote server > from sendmail/procmail to postfix/amavis/spamassassin/clamd , > and I'm finding it difficult to configure this setup. > > The CentOS document <http://wiki.centos.org/HowTos/postfix> > explicitly says that its instructions may not work in CentOS-6. > Does anyone know of reasonably simple postfix documentation > for CentOS-6?Read "Postfix: The Definitive Guide" or "The Book of Postfix". Years ago I read the first and used it to setup multiple domains with virtual accounts. Works perfectly to this day. Also heard good things about the 2nd book. Both should give you ample knowledge how to setup Postfix.> I've been amazed how bad the postfix documentation is. > It actually seems to be worse that sendmail documentation, > which I thought established a record for this sort of thing. > The official documentation at > <http://www.postfix.org/documentation.html> > is ludicrously wordy, with every conceivable option > listed in random order.Imho the Postfix documentation is excellent. Admittedly it does not do any handholding but once you are familiar with it, it's very helpful to have such an elaborate overview of all possible options. I would suggest to start with a basic Postfix setup without all the bells and whistles, get that going and then slowly add things like anti-spam rules, amavis etc. Using git for your configs helps reverting if something blows up. Regards, Patrick
How about trying this out -> http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-centos-6.3-x86_64 -- View this message in context: http://centos.1050465.n5.nabble.com/CentOS-Setting-up-postfix-under-CentOS-6-tp5720727p5720736.html Sent from the CentOS mailing list archive at Nabble.com.
On 09/12/2013 12:03 PM, Timothy Murphy wrote:> I recently, perhaps foolishly, changed over a remote server > from sendmail/procmail to postfix/amavis/spamassassin/clamd , > and I'm finding it difficult to configure this setup.migrating is always a pain.> The CentOS document <http://wiki.centos.org/HowTos/postfix> > explicitly says that its instructions may not work in CentOS-6. > Does anyone know of reasonably simple postfix documentation > for CentOS-6?no. Maybe you can write one after you figure it out :-)> I've been amazed how bad the postfix documentation is. > It actually seems to be worse that sendmail documentation, > which I thought established a record for this sort of thing. > The official documentation at > <http://www.postfix.org/documentation.html> > is ludicrously wordy, with every conceivable option > listed in random order.let me disagree with you. Postfix's target audience is not the average joe user but e-mail administrators. It is assumed you know some stuff about how smtp e-mail works. With that in mind, its documentation is simple, to the point and accurate. For simple scenarios, you go to the 'General configuration' bullet points. In there you even have standard configuration examples: http://www.postfix.org/STANDARD_CONFIGURATION_README.html Once you have that figured out, then you can go on to other configs, like the content inspection, integration with other data sources, performance problems, etc. It does make sense once you approach it with an e-mail admin hat on. If what you want is an appliance that handles this stuff but hides it all under the hood from you, maybe you should be looking at commercial offerings like barracuda. It is nothing to be ashamed of to buy stuff that works and has support when something goes wrong. Handling e-mail for a company without understanding how it works internally can be stressing. Also, the postfix mailing list is the best place to ask postfix questions -- Groet, natxo
On Thu, Sep 12, 2013 at 3:33 PM, Timothy Murphy <gayleard at eircom.net> wrote:> I recently, perhaps foolishly, changed over a remote server > from sendmail/procmail to postfix/amavis/spamassassin/clamd , > and I'm finding it difficult to configure this setup. >It would have been helpful, if you had described briefly what was your sendmail setup e.g. relaying mail through smart host, authenticating local users before allowing relay etc.> > The CentOS document <http://wiki.centos.org/HowTos/postfix> > explicitly says that its instructions may not work in CentOS-6. > Does anyone know of reasonably simple postfix documentation > for CentOS-6? > >What is the harm in trying out and finding for yourself? Postfix's main.cfhas all the conceivable configuration that most sites would deploy. +1 to everyone's responses.> I've been amazed how bad the postfix documentation is. > It actually seems to be worse that sendmail documentation, > which I thought established a record for this sort of thing. > The official documentation at > <http://www.postfix.org/documentation.html> > is ludicrously wordy, with every conceivable option > listed in random order. >I would suggest read the overview doc to see how the various modules work together <http://www.postfix.org/OVERVIEW.html> I abandoned sendmail and switched to postfix a long time ago and was glad that RHEL6/CentOS6 has switched to it as the default MTA. I found postfix documentation easier to follow. As with any software package, I budgeted time for a little trial and error got it working for my requirements. Alternately, you can try iRedMail. It is a collection of scripts that checks and installs all the requisite packages for an email server with pop3+imap support + RoundCube web mail; it supports CentOS6. Try it if you don't want to muck around hand editing conf files. iRedMail details <http://www.iredmail.org/> HTH, -- Arun Khan Sent from my non-iphone/non-android device