Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Quick procmail question
PostPosted: Wed May 09, 2007 10:43 am 
Offline
Newbie

Joined: Sun Apr 15, 2007 1:02 pm
Posts: 2
hi guys,

I am trying to process all emails sent so ca_*@mydomain.com (such as ca_test@frenchguys.com but not test@mydomain.com)

Right now I use: * ^TO\/ca_.*@mydomain.com
but it doesn't seem to work and processes all emails

Any idea ?

Erik


Top
   
 Post subject:
PostPosted: Wed May 09, 2007 1:46 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Shouldn't it be
Code:
* ^To.*ca_.*@mydomain\.com

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Sat May 12, 2007 12:21 pm 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
No, because that'll catch any email with "ca_" in the mailbox part, whether or not it's at the beginning.

I'd assume something like this would be more appropriate:

Code:
^To:.*[< ]ca_[^@]+@mydomain\.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: dasand and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group