Hi,

I wrote a simple autoreply script based on some examples on the internet.
with these i have the next setting, don't know if postconf output is relevant.


#/etc/postfix/master.cf:
autoreply unix  -      n       n       -       -       pipe
flags= user=nobody argv=/etc/postfix/autoreply ${sender} ${mailbox} ${recipient}

#/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport

#/etc/postfix/transport
autoreply.yourdomain.com    autoreply:


All well... The script is working good, but ... when a mail has to be replied to, the autoreply emails is sent twice, and i can't figure out why. Maybe it needs some optional parameters ( - o ) to suppress this, because maybe the mail is injected to postfix, which responds with another mail.

But i'm knocked down at the moment.

Thnx for your help.

Gerrit.

Reply via email to