procmail
[Top] [All Lists]

AW: auto-responder for multiple e-Mail adresses on one unix account

2002-06-17 01:04:56
Hello,

first to your questions:
I think the X-Loop tag is needed for purposes of not constructing
mail loops, in the case the sender of the original mail has an
auto-responder active too.

I think I have solved the problem now:
For every e-Mail adress the user owns I construct a rule for procmail
like this one:

* !^X-Loop: user(_at_)ourdomain(_dot_)de

and if the ruleset is invoked it adds for each of these e-Mail adresses
the corresponding X-Loop tag:
   -A"X-Loop: user(_at_)ourdomain(_dot_)de"

So I write alle the possible e-Mail adresses to the auto-respond mail
no matter what the original adress was, but it is functional.

But if anyone has a suggestion for replacing the real e-Mail adresses
with a procmail variable or something, I can read at the beginning of
the script, please write back.

Bye from Leipzig, Germany

Daniel Paul


-----Ursprungliche Nachricht-----
Von: procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE]Im Auftrag von Udi 
Mottelo
Gesendet: Sonntag, 16. Juni 2002 15:45
An: Daniel Paul
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Betreff: Re: auto-responder for multiple e-Mail adresses on one unix
account


On Sun, 16 Jun 2002, Daniel Paul wrote:

Hello,

I sat up an auto-responder taken from the man procmailex page,
working very well.
But I have a problem:
Many users have two or more e-Mail adresses on the mail server,
so how do I write an auto-responder for all of them. Without the
e-Mail adress which the mail originally was sent to it is not
possible to construct the corresponding X-Loop tag, or?


        I think that the address in the X-Loop dosen't must, it is just
        a stamp.  In my server I use the string "AntiLoopA".

Bye,
 Udi



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail