| Linode Forum https://forum.linode.com/ |
|
| Quick procmail question https://forum.linode.com/viewtopic.php?f=11&t=2741 |
Page 1 of 1 |
| Author: | edasque [ Wed May 09, 2007 10: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 |
|
| Author: | pclissold [ Wed May 09, 2007 1:46 pm ] |
| Post subject: | |
Shouldn't it be Code: * ^To.*ca_.*@mydomain\.com |
|
| Author: | Ciaran [ Sat May 12, 2007 12:21 pm ] |
| 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 |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|