postfix: /usr/local/etc/postfix/main.cf vs. /usr/local/libexec/postfix/main.cf?

I installed postfix from ports a few weeks ago, using the default options. I notice there are two locations for main.cf and master.cf:

Code:
/usr/local/etc/postfix/master.cf
/usr/local/libexec/postfix/master.cf
/usr/local/etc/postfix/main.cf
/usr/local/libexec/postfix/main.cf

This server is using /usr/local/libexec/postfix, not /usr/local/etc/postfix/.

Code:
# postconf -d daemon_directory
daemon_directory = /usr/local/libexec/postfix

What is the purpose of /usr/local/etc/postfix/?

And actually, postalias seems to use /usr/local/etc/postfix/main.cf.

Code:
# postalias 
postalias: fatal: /usr/local/etc/postfix/main.cf ... ...
 
Back
Top