Mike Schleif: > Is this what you're looking for? > > filter unix - n n - 10 pipe > flags=Rq user=filter null_sender= > argv=/var/spool/filter/bin/filter.sh -f ${sender} -- ${recipient}
That is the 'simple' filter, which uses pipes, not SMTP. > autoresponder unix - n n - - pipe I was going to propose a solution of the form: special user: Postfix SMTP client -> autoreply -> existing filter -> Postfix SMTP server Everyone else: Postfix SMTP client -> existing filter -> Postfix SMTP server But your filters are not SMTP based. Next, I was going to propose special user: Postfix pipe daemon -> autoreply -> existing filter -> Postfix sendmail Everyone else: Postfix pipe daemon -> existing filter -> Postfix sendmail That would not work because autoresponder wants to send its output directly into the Postfix sendmail command; it would need to be hacked up to make it invoke the existing filter instead. Wietse