FlyerTalk Forums - View Single Post - Email filtering using procmail
View Single Post
Old Mar 23, 2011 | 5:32 pm
  #2  
kennycrudup
All eyes on you!
15 Years on Site
 
Join Date: Dec 2006
Location: SNA
Programs: Bonvoy LTTE/AMB, AmEx Plat, National EE, WN A-List Preferred, CLEAR+, Covid-19, NK Gold
Posts: 5,272
Hey- I 99% use Pine, too.

But I think the issue is your leading "*" in your recipe; these aren't "glob"-type expressions, they're full regular expressions, and as such that "*" means "0 or more of the preceding match character", which in your case is the space.

I think:
Code:
:0:
* ^From:.*lan.com$
/dev/null
... will work, but for safety while testing change "/dev/null" to a folder so you don't inadvertently end up trashing all your mail.
kennycrudup is offline