Monee Kid asked,
| This is what I used:
|
| :0hwf
| *^TOtest(_at_)twind(_dot_)com
| | formail -A "X-List: Monee'sList" \
| -I "Reply-To: Monee <monee(_at_)twind(_dot_)com>" \
| -I "To: Monee'sList <test(_at_)twind(_dot_)com> \
| -A"Precedence: bulk" \
|
| :0a
| ! -oi `cat $home/testadds`
|
| ...and this is what I got back.....
|
| /bin/bash: unexpected EOF while looking for `"'
| /bin/bash: -c: line 5: syntax error
| procmail: Program failure (2) of " formail -A "X-List: Monee'sList" \
| -I "Reply-To: Monee <monee(_at_)twind(_dot_)com>" \
| -I "To: Monee'sList <test(_at_)twind(_dot_)com> \
| -A"Precedence: bulk" \
| "
| procmail: Rescue of unfiltered data succeeded
| From chocolate(_at_)twind(_dot_)com Tue Feb 27 23:28:29 1996
| Subject: testing something
| Folder: /usr/spool/mail/mkidd
778
You didn't close the quotes in the -I option that changed the "To:" header.
Also, that final trailing backslash at the end of the formail command would
be poison if you didn't have a blank line after it.
Finally, in later versions of procmail you don't need "-oi" after "!".