- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: help wit procmail ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 12:55 AM
04-19-2005 12:55 AM
help wit procmail ...
I have this:
:0
* ^Subject:.*msgs
{
SUBJECT=`formail -zx Subject:`
:0 Bfhw
* (hda|Drive)
| formail -I "Subject: DiskError $SUBJECT"
:0
* (hda|Drive)
! user1@abc.com, user3@yahoo.com
}
The forwarding line does not work, it seems that as soon as the first match occurs on the ":O bfhw", it skips ":O". Any idea on how to get two action to execute, I am looking to modify the subject line, have the email drop to my mail box, and forward it to others as well.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 01:29 AM
04-19-2005 01:29 AM
Re: help wit procmail ...
Q: Can I list several actions under a common condition? How?
A: Here you go:
:0
* common-condition
{
:0fbw
* perhaps an additional condition on this one, even
| sed -e 's/definately/definitely/g' -e 's/seperate/separate/g'
:0c:
* perhaps an additional condition on this one, too
action1
:0
! action2
}
http://laku19.adsl.netsonic.fi/era/procmail/mini-faq.html#recipe-block
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 02:03 AM
04-19-2005 02:03 AM
Re: help wit procmail ...
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 02:10 AM
04-19-2005 02:10 AM
Re: help wit procmail ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 04:49 AM
04-19-2005 04:49 AM
Re: help wit procmail ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:37 AM
04-26-2005 03:37 AM
Re: help wit procmail ...
http://acs.ucsd.edu/email/procmail.php