LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-06-2012, 01:08 AM   #1
newbie.my
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
regular expression not working in procmail recipe


Hi.

I am facing some problem regarding my procmail recipe.
I want my procmail to execute several rule and condition.

for example :

Code:
:0fbwh
       <condition 1>
       <condition 2>
But when i running my procmail, it only execute condition 1 but skip condition 2.Can someone help me.Thanks
 
Old 06-06-2012, 02:08 AM   #2
newbie.my
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by newbie.my View Post
Hi.

I am facing some problem regarding my procmail recipe.
I want my procmail to execute several rule and condition.

for example :

Code:
:0fbwh
       <condition 1>
       <condition 2>
But when i running my procmail, it only execute condition 1 but skip condition 2.Can someone help me.Thanks
This is more detail command:


Code:
:0fbwh
       | reformime -r
       | reformime -x
 
Old 06-07-2012, 01:30 AM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

See some examples here, about nesting procmail recipes

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Regular Expression in IF statement not working in ksh Pinglu Linux - Newbie 2 11-01-2011 10:56 AM
[SOLVED] Regular expression working fine in JavaScript but not in python madsovenielsen Programming 3 06-24-2010 08:25 PM
Regular Expression + not Working with grep scottwmackey Linux - General 2 06-21-2006 02:31 AM
what is wrong with this regular expression in procmail recipe? realos Linux - Software 4 10-20-2005 10:35 AM
procmail recipe not working? theLIGHT Linux - Software 3 11-18-2002 11:04 PM


All times are GMT -5. The time now is 06:11 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration