procmail
[Top] [All Lists]

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

2002-06-17 10:31:44
On Mon, 17 Jun 2002, Daniel Paul wrote:

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


        This is not the best idea, imagine this scenario:  there are three
        address,  A, B, X.   A and B are in the same host (say, one user
        with two address).  Suppose that B set to forward mail to X and X
        forward messages to A.

        Part I     X send a message to A and B:

                A  <---  X(a)  --->  B(x)


        Part II    A and B replies:

                A  --->  X(a)  <---  B(x)
                               <---


        Did you see that?  B answers _AND_ forwards X's message to X.
        B will not fails into Loop (X-Loop: B), what about A?  Lets see
        in part III

        Part III   X does its job:

                A  |<---  X(a)     B(x)
                  <---
                  <---


        X forwards two B's messages and one from A.
        A will not block B's messages because there is no "X-Loop: A"
        in the header.

Bye,
 Udi

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