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: mouss <mouss_at_nospam>
Date: Sat Oct 23 2010 - 09:13:10 GMT

Le 18/10/2010 22:22, Charles Marcus a écrit :
> On 2010-10-18 4:02 PM, Christopher Koeber wrote:
>> OK, based on the config below I have achieved what I set out to do
>> below.
> I'm far from expert, but some comments...
>
> First - you are explicitly setting a lot of settings to their defaults -
> this clutters postconf -n output needlessly.
>
>> postconf -n
>> -----------------------------------------------
>> alias_maps = hash:/var/lib/mailman/data/aliases,hash:/etc/mail/aliases
> Not sure if it matters, but mine - and every example I've seen - has
> mailman aliases *after* /etc/mail/aliases...
>

order would only matter if the same alias is found in both, in which
case the first file wins.

>> home_mailbox = .Maildir/
> Mine is lowercase 'm' - again, not sure if it matters...

No. you can set:
home_mailbox = atjoe/

The name doesn't matter as far as your delivery agent agrees with your
IMAP server.

>> mydomain = students.wesleyseminary.edu
>> myhostname = students.wesleyseminary.edu
> This doesn't look right - are you sure they should be the same?

It is ok to set mydomain and myhostname to the same value.

>> smtp_use_tls = yes
> This is deprecated - best to change it to
>
> smtpd_tls_security_level = may

beware. smtp != smtpd

>> smtpd_use_tls = yes
> You had it set twice too...

No (see above). postconf -n can't show the same variable twice :)