On 10/20/2011 8:33 AM, Roland de Lepper wrote:
> I have a script for adding disclaimers to all outgoing email. (see
> disclaimer-script below)
> The line, "cat >in.$$ ||", caps the message in a tempfile. the last
> sendmail command takes the message and sends it to qmrg.


Change the sendmail command in the first scrip to send the message
to your autoresponder script instead of to postfix.

Since your disclaimer-script uses a variable for SENDMAIL, probably
as easy as something like this near the top
SENDMAIL=/path/to/autoresponder-script

*Do not change the second script*


> Disclaimer-script:
> #!/bin/sh
> # Localize these.
> 
> INSPECT_DIR=/var/spool/filter
> SENDMAIL=/usr/sbin/sendmail

change that line to
SENDMAIL=/path/to/autoresponder-script


  -- Noel Jones

Reply via email to