| boughtonp |
|
NetHosted Customer
Joined: 18 Jul 2005 Posts: 130 Location: South Croydon
|
Posted: Tue Mar 20, 2007 9:35 pm Post subject: cPanel Mail Filter |
| |
A couple of questions...
The regex option in the mail filter area - is it case sensitive?
Does the 'To' option apply to the value of the 'To:' header, or to the address the message was received on?
(I want to filter stuff that is sent to an address but has stuff like "newsletter-recipients@domain.com" in the To: field.)
Thanks.  _________________ Peter Boughton |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Tue Mar 20, 2007 9:47 pm Post subject: |
| |
Peter,
I can't give you a definitive answer but I doubt that it would be case sensitive due to the nature of domain names/email addresses.
The To: option would apply to email addresses listed in the To: header.
I suggest using the Filter Tester on the filters page to ensure that any filters you create are performing the job you expect.
Thanks,
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| boughtonp |
|
NetHosted Customer
Joined: 18 Jul 2005 Posts: 130 Location: South Croydon
|
Posted: Tue Mar 20, 2007 10:14 pm Post subject: |
| |
Heh, I used to filter to test it normally - for some reason it missed my mind entirely to test for case with it too! :S
And you're right, it's not case sensitive.
Found out the header I want for the second part is "Delivered-To:", but it only appears to apply when "To:" isn't the right address, so I just changed the match from header_to message_headers and put (Delivered-)?To:s* at the start and it appears to work okay in the tester.
Pity I had to keep deleting & adding the filter though, rather than editing the existing one.  _________________ Peter Boughton |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Tue Mar 20, 2007 10:16 pm Post subject: |
| |
Peter,
Yes I have also been frustrated by having to delete/add constantly. Hopefully cPanel will address this issue in the future.
Glad you have it working now.
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
User Permissions |
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 You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
| |