after a lot of research, I have this script

# sh reply motty.c...@gmail.com u...@mydomain.com

I get the copy and sender gets a copy, but how do I get Postfix to use this
script
here is the script:
#!/usr/bin/bash
/usr/sbin/sendmail -oi -t <<EOF
From: ce...@sscsinc.com
To: $1
Subject: On vacation
Content-Type: text/plain; charset=utf-8

This is a test email.
EOF

here is my master.cf
#
reply unix  -       n       n       -       -       pipe
        flags=Fq  user=nobody argv=/usr/local/sbin/reply $sender $recipient

here is my transport
autoreply.mydomain.com   autoreply:

any suggestions?
Thanks,




On Mon, May 20, 2013 at 9:09 PM, Peter <pe...@pajamian.dhs.org> wrote:

> On 05/21/2013 09:51 AM, Timo Röhling wrote:
>
>> Have a look at
>> http://www.postfix.org/addon.**html#autoreply<http://www.postfix.org/addon.html#autoreply>and
>>  pick the solution that
>> is the easiest for you to setup.
>>
>
> I have two to add to that list:
>
> 1.  Virtual Vacation which comes packaged with PostfixAdmin (but does not
> require PostfixAdmin to use).
>
> 2.  dovecot sieve and managesieve plugins (probably with other sieve
> implementations as well).
>
> There are addons in both Roundcube and Squirrlmail for both of the above
> so that users can set their own autoreply messages.
>
>
> Peter
>
>

Reply via email to