command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix manpage_directory = /usr/share/man queue_directory = /private/var/spool/postfix readme_directory = /usr/share/doc/postfix sample_directory = /usr/share/doc/postfix/examples
This installation has been running without issues for 4 years or more. Also, from my discussion with him, Bernard Teo does seem to know what he's doing. > On Nov 20, 2015, at 07:44, Wietse Venema <wie...@porcupine.org> wrote: > > Wietse Venema: >> Viktor Dukhovni: >>> On Thu, Nov 19, 2015 at 03:26:27PM -0800, Vicki Brown wrote: >>> >>>> The only program that uses /usr/local/cutedge/postfix/etc is.. postfix. >>> >>> Well, the real Postfix uses /etc/postfix, as evidenced by the errors >>> logged by postdrop(1). Whatever is asking sendmail(1) and postdrop(1) >>> to use that other path is misconfigured. >> >> I suspect that this setting is exported in the MAIL_CONF environment >> variable by the master(8) daemon, which invokes the pipe(8) daemon, >> which invokes your content filter, which invokes the Postfix sendmail >> command, which invokes the postdrop command, which terminates with >> a fatal error. >> >> You have a mixed configuration where postdrop and sendmail require >> /etc/postfix, and where the Postfix daemon programs require >> /usr/local/cutedge/postfix/etc. >> >> Mixed configurations are not supported. >> >> You can work around this by adding the alternate_config_directories >> setting as suggested by in the postdrop error message. > > As a final note, you probably have daemon_directory and command_directory > settings that still point to the obsolete cutedge installation. That would > explain why the obsolete pathname /usr/local/cutedge/postfix/etc > is still in effect. > > The easiest way to fix this permanently is to stop postfix, remove > the symlink /usr/local/cutedge/postfix/etc -> /etc/postfix. Then > start Postfix, watch what programs break, update main.cf, and repeat > until things stop breaking. > > Wietse > -- Vicki Brown cfcl.com/vlb