I am trying to run a bash script to called by procmailrc to rewrite the Subject line of emails. I have it setup so that if an email has an exe or some other program as an attachment it will pipe the email to the script. Then in the script I use sed to add a warning about the message may contain a virus. That part works fine. My problem is that I don't know were to pipe the data after that. If I let the message fall out of the sed it goes (I assume) to the STDOUT but it disappears after that and I think I am suppose to pipe it somewhere else but I cannot find any documentation about where.
Any clues?
signature.asc
Description: This is a digitally signed message part
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying