postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Request for help with redesign of Postfix Con

Re: Request for help with redesign of Postfix Configuration File ...

From: Christopher Koeber <ckoeber_at_nospam>
Date: Thu Oct 21 2010 - 16:49:32 GMT
To: Postfix users <>

On Thu, Oct 21, 2010 at 7:24 AM, Charles Marcus

> Do you understand what I meant by ^^^ that? It really does make working
> with postfix easier if you comment out 'defaults'... I cut my postconf
> -n output in half by doing this.
> Just compare output of postconf -d (gives you the defaults) and postconf
> -n, and comment out any of the settings that are identical.
You were right! Half of my config was setting defaults ;)

After making the changes where only I was explicitly setting things to what
I needed them to be versus the default the postfix system seems faster, too!

> Well, I guess it could matter, since it reads them in the specified
> order. I would recommend changing it, but only you can say if your use
> case needs the order reversed for some specific reason. I would
> investigate it further though.

I made the change. Better to have it the way other admins would expect it.

> Naahh... it won't hurt anything, it's just 'not standard', which would
> kind of bug me if it was my server, but then I'm a bit too picky about
> things sometimes... ;)

I see. Might be a good idea to change sometime in the future, then.

> Be sure to fix this ^^^ one too...
> Oh - in case you didn't know - if you set a parameter twice in postfix,
> 'the last one wins', meaning, the one closest to the end of
> This is actually a nice behavior - I take advantage of it by simply
> adding a block at the very end of the file, with *all* of my settings
> all together in one place. It makes it much easier to read my settings,
> and I always know mine will take precedence no matter what is defined
> above...

Fixed per what I wrote above. Just made my configuration file have my
settings and nothing else.

> >> Well, that's about all my inexperience can come up with...
> > Thanks so much for your time.
> No problem - I remember my first post doing the same exact thing -
> sanity check on my config... :)
> Yep. correct.

Christopher Koeber

> --
> Best regards,
> Charles