On Fri, Mar 21, 2014 at 02:24:49PM +0000, Nick Warr wrote:
> This is the entry in master.cf
>
> dfilt unix - n n - - pipe
> flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} --
> ${recipient}
>
> Any advice or recommendations?
Edit the filter script, and make sure it invokes the sendmail(1)
command with a "-i" option and (as should be already the case)
without any "-t" option.
sendmail -i -f "$sender" -- "$@"
if the argument list is simply copied from the arguments to
"disclaimer", add a "-i" before "-f".
--
Viktor.