First of all thank You for Your quick answer,
I think I have now a solution for my problem.
One must ask why you need to do this - having a generic "autoreply" from
address might be better - certainly easier for you to implement.
My "problem" is a little bit more complicated.
1. I have different addresses I have to work on:
jozsef(_at_)juni(_dot_)de
info(_at_)juni(_dot_)de
help(_at_)juni(_dot_)de
dalos-gmbh(_at_)t-online(_dot_)de
info(_at_)lastchoice(_dot_)de
juni(_at_)lastchoice(_dot_)de
...
All this addreses are located "public" on the internet
2. I have a Linux-Server on my intranet, wich is doing the internal
and externel mailtransport. On this MTA I have only one Mailbox.
I fetch all he mails with "... is jj here", because I don´t want
to add a local Mailbox every time, I have to deal with a new
"public" addres.
I changed Your example , so I can add or remove easer am "Match":
:0
* ^TOinfo(_at_)juni(_dot_)de>?
{ <<< do I need still this brackets ??
FROMADDR=$MATCH
} ""
* ^TOhelp(_at_)juni(_dot_)de>?
{ ""
FROMADDR=$MATCH
} ""
* ^TOinfo(_at_)lastchoice(_dot_)de>?
{
FROMADDR=$MATCH
}
:0hcA:
* !^FROM_DAEMON
* !^X-Loop: @juni\.de
| (formail -rz -I"Precedence: junk" \
-I"From: $FROMADDR"; \
-A"X-Loop: @juni.de"; \
cat $HOME/response.txt ) | $SENDMAIL -oi -t
:0 A:
$DEFAULT
Once more thank You for Your Help and sorry for my bad english
József
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail