LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2006, 01:16 PM   #1
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Procmail, Sendmail, quotas and bounced Email mickyman Linux - Security 1 02-14-2006 06:06 AM
Using procmail to forward a copy of mails J_Szucs Linux - Software 2 02-09-2006 02:31 PM
MS Security Virus Email bypasses Procmail Filter lewt Linux - Security 3 09-24-2003 06:32 PM
Allowing an IP to send email using my email server... culprit Linux - Networking 7 09-09-2003 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration