How to get procmail to send a copy of an email
Hello all,
Can anyone tell me how I can get procmail to resend an e mail to me using my own account name vs the origin account? Basically Im trying to get notifications on my cell phone but my cell service is very particular about what can send emails to it.
I know that I can send emails to my cell phone using my work email account, so I want to be able to resend messages from another account or user to my cell phone using my work account.
It looks like I was close but using the following in my .procmailrc file.
:0b
* ^Subject:.*Test
|mail <email address>
But it only sends me a few lines of the email and since its resending an email, its including all of the headers so I can't get any of the info that I actually want.
Does anyone know how to do any of the following:
exclude the headers of the email being resent
Only send the subject of the email being resent
Only send the body of the email being sent
Peferrably I would only like the subject line since that will give me all the info I need.
Any help is appreciated.
|