i'm deploying a postfix server, using distr-pkg'd postfix

to date, i've always/only used postfix that i've built/installed to my liking.

i prefer to keep my configs under /usr/local/etc/postfix.

my postfix is config'd/built with config dir == /usr/local/etc/postfix.  so its 
bins (postconf, postfix, postsuper, etc etc) are are, by default, pointed to 
that config path.

distro pkgs are built with, typically, default config location == /etc/postfix. 
 similarly, its bins are pointed to THAT config path.

i simply want to ensure that the distro-pkg's bins get pointed to my configs in 
/usr/local/etc/postfix.

two simple ways to do that are

(1) ln -sf /usr/local/etc/postfix /etc/postfix

(2) shell alias each bin with "... -c /usr/local/etc/postfix", or 
shell-script-wrap in /usr/local/bin each postfix-bin, doing the same.

Is either (1) or (2) preferred for any reason?
Or is there a better way to accomplish this?

Reply via email to