procmail
[Top] [All Lists]

Re: question about autoresponder from beginner

1997-09-09 09:25:03
On Tuesday 9 September 97, at 8 h 37, the keyboard of 
yakir(_at_)haaretz-china(_dot_)com wrote:

send a mail to autoresponder(_at_)company(_dot_)com(_dot_) But then
I began to receive the same mail erery two miniutes.

Yes, you introduced a loop.

* !^FROM_DAEMON

Useless since your mails (the auto-replies) do not appear to come from a 
daemon. (You should use a Precedence of "junk".)

* !^From.*MAILER-DAEMON

Useless, included in the above test.

* !^From autoresponder
* !^* !^Subject:.*Re

OK

        | (formail  -r -A"Precedence: first-class";\

I suggest you use -rt (-r alone is buggy, it violates RFC822).

           cat $HOME/autoinfo.txt ) | $SENDMAIL -f
"autoresponder(_at_)company(_dot_)c
om" -oi -t

So, you reply.

        :0
A                                                                   
        ! autoresponder(_at_)company(_dot_)com

But you also send the message (unmodified) to the autoresponder itself. 
There is no reason the loop can stop. You should send it to another 
address, or archive it in a file or mail folder or modify it with formail 
before forwarding it.




<Prev in Thread] Current Thread [Next in Thread>