> Well, I don't recall any mention of multiple Postfix configurations > until now. For "sendmail" to work in a non-default Postfix instance > the associated configuration directory must be listed in the default > instance's main.cf file's "alternate_config_directories" parameter.
Ok, got it back to default config. # postmulti -l - - y /etc/postfix # pgrep -x qmgr | while read pid; do ps -o pid,ppid,args -p "$pid"; xargs -0n1 < /proc/$pid/environ; done PID PPID COMMAND 2028229 2026262 qmgr -l -t unix -u MAIL_CONFIG=/etc/postfix/ MAIL_LOGTAG=postfix LANG=C GENERATION=724 # postfix -c /etc/postfix/ status postfix: Postfix is running with backwards-compatible default settings postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload" /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions postfix/postfix-script: the Postfix mail system is running: PID: 2026262 Same behavior.. > Not really, because the sendmail command goes inside the script, > and I'd stay well clear of PHP for processing email and executing > sub-processes, ... what do you mean by inside the script? > And ${recipient} should always be the last command line variable, > since it expands to multiple recipient arguments. thanks, my mistake > You're stumbling around in the dark trying random things that can't > work. Find a native English speaker who can help you understand > FILTER_README, and get it working in a single-instance Postfix > environment first. yes, at this time. > Consider buying the Postfix Book by Patrick and Ralf, and read the > chapter(s) on content filters. This one? https://books.google.com.br/books?id=uq1Et7KmsGwC&pg=PA22&dq=postfix&hl=pt-BR&sa=X&ved=0ahUKEwjC9evHr9XfAhXFgZAKHb2zBEIQ6AEIPzAD#v=onepage&q=postfix&f=false