Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 25, 2024, 03:48:20 PM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
body of the email message extracting using formail in procmail: Help
« previous
next »
Print
Pages: [
1
]
Author
Topic: body of the email message extracting using formail in procmail: Help (Read 12079 times)
dsksivakumar
New Member
Posts: 3
body of the email message extracting using formail in procmail: Help
«
on:
June 03, 2009, 09:09:28 AM »
i am using formail in procmailrc file to extract he body of the message.
The receipe which i use to separate the body of the message is
:0 bc
* ^TOaaa@xxxxx.com
| formail -I "from" >> /home/xxx/email
The body of the message extracts and save to /home/xxx/email.......
The problem is , when the body of message is extracted it is saved in /home/xxx/email folder with some extra content as
From: foo@bar wed 27 19/04/09.
The From:foo@bar is the default address which formail subsitutes if the sent id is not found...
What sutiable receipe can be added so that only the body of the message is saved without the default sent id.. ie: From:foo@bar ..... plz help ASAP....
«
Last Edit: June 04, 2009, 04:39:05 AM by dsksivakumar
»
Logged
dsksivakumar
New Member
Posts: 3
Re: body of the email message extracting using formail in procmail: Help
«
Reply #1 on:
June 04, 2009, 04:37:17 AM »
solution : use the formail comand with -f option
| formail -I -f "from" >> /home/xxx/email
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
body of the email message extracting using formail in procmail: Help