procmail
[Top] [All Lists]

Autoresponders via procmail

1995-10-06 10:23:51
I'm trying to automatically send out an info file when mail is sent 
to the address info(_at_)nymug(_dot_)org(_dot_) In other words I want tp reply 
to any 
message sent to a specific address with a specific file, one file per 
address. (This all lives in the nymug(_at_)cloud9(_dot_)net account which 
receives all email addressed to anyone(_at_)nymug(_dot_)org so I can process 
based on addressee.)

Can anyone give me an example of doing that or point out what's wrong 
with my approach?  Thanks.

Here's my apparently broken .procmailrc entry:

:0
* ^TOinfo
* !^FROM_DAEMON
* !^X-Loop: nymug(_at_)cloud9(_dot_)net
{
  :0 fhw
  | formail -rA "X-Loop: nymug(_at_)cloud9(_dot_)net"


  :0 ah
  | cat - /home/users/nymug/info/info.txt 2>&1 | /usr/lib/sendmail -oi -t

}

--
Elliotte Rusty Harold    Black Star Publishing Co., Inc.
elliotte(_at_)blackstar(_dot_)com   116 East 27th Street
elharo(_at_)escape(_dot_)com        NY NY 10016

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