Elliotte Rusty Harold asked,
| Can anyone give me an example of doing that or point out what's wrong
| with my approach? Thanks.
The code looks right. What's happening instead? What does a verbose logfile
tell you?
| 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
|
| }
That looks rock solid, provided that your version of procmail is recent
enough to understand both asterisk notation and brace nesting. Are formail
and cat in your .procmailrc's $PATH?