Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    103

    Exclamation Mail Filter

    HI,

    I created an email filter:

    A filter has been added that sends all mail message_headers that matches /^(.*)(\@hotmail\.com)$/ to me@domain.com
    However it doesnt seem to work.

    Why is that?

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    103

    Default

    Anyone???

    This is weird. Has noone tried to use regex with cPanel?

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Default

    Yes, you probably need to add a multiple escape characters ("\") for the Cpanel parser to pass them to regexp, apparently. See my (nearly simultaneous to your) posting
    HERE

    When you TEST your filters you will be able to see how the parser strips the slashes for the result.

Similar Threads & Tags
Similar threads

  1. regex help for e-mail filter
    By rpiggott in forum E-mail Discussions
    Replies: 1
    Last Post: 05-22-2010, 02:56 PM
  2. mail filter sender
    By freshorange in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-11-2010, 10:29 PM
  3. Filter outgoing mail
    By Surfer in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 01-24-2005, 04:19 AM
  4. E-mail filter rules
    By kawo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-08-2004, 10:22 AM
  5. Exim Mail Filter
    By chrisben in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-01-2003, 02:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube