|The stupid question is the question not asked|
Using MIME::Lite to resend plain text messages (no attachments)by jlongino (Parson)
|on Sep 03, 2002 at 14:45 UTC||Need Help??|
outside of the for loop just for aesthetic purposes and check for errors on your open statement:
but otherwise it performs as I would expect. Try saving a copy of your mail message to a file and invoke the program like so:
This suggests that you'll probably have to modify your procmail config line in some way, but I'm not familiar with procmail.
Update: I've had a similar problem using the /etc/aliases file to strip/redirect mail to a special account. I solved my problem by parsing the message and then resending it to a different account. This is sort of ugly, but it works until I can figure out the correct method:
The modified perl program: