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