| Author |
Message |
edasque
Joined: 15 Apr 2007
Posts: 2
|
| Posted: Wed May 09, 2007 9:43 am Post subject: Quick procmail question |
|
|
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 |
|
| Back to top |
|
pclissold
Joined: 24 Oct 2003
Posts: 472
Location: Netherlands
|
| Posted: Wed May 09, 2007 12:46 pm Post subject: |
|
|
| Shouldn't it be Code: * ^To.*ca_.*@mydomain\.com |
|
| Back to top |
|
Ciaran
Joined: 13 Feb 2004
Posts: 140
Location: England, UK
|
| Posted: Sat May 12, 2007 11:21 am Post subject: |
|
|
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 |
|
| Back to top |
|
| |