# Autoresponder
:0 c:$CYRUSUSER.lock
* !^X-Loop: wojna(_at_)wojna(_dot_)info
| (formail -r -I "Return-path: <wojna(_at_)wojna(_dot_)info>" \
-I "From: <wojna(_at_)wojna(_dot_)info>" \
-A "X-Loop: wojna(_at_)wojna(_dot_)info" \
-A "Mime-Version: 1.0" \
-A "Content-Type: text/plain; charset='iso-8859-1'; format=flowed" \
-A "Content-Transfer-Encoding: quoted-printable"; \
echo "on vacation=20"; \
) | $SENDMAIL -oi -t
The autoresponder works fine long as there are no mails coming
from the same server.
If I send an email to wojna(_at_)wojna(_dot_)info with an email adress such
as test(_at_)wojna(_dot_)info, there is no autoresponder-mail going out to
test(_at_)wojna(_dot_)info whereas all other external adresses
(wojna(_at_)gmx(_dot_)de) get an answer. Where is the error?
I just solved my problem.
The -t option was missing within the formail-line:
| (formail -r -t -I "Return-path: <wojna(_at_)wojna(_dot_)info>" \
So the mail was not sent to the "Reply-To"-adress
but to the adress given by "Return-Path".
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail