The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help : regexp email filter

Discussion in 'E-mail Discussions' started by nazoreen, Feb 14, 2007.

  1. nazoreen

    nazoreen Active Member

    Joined:
    May 18, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I would filter some message arrived at an address with the regexp function.

    To better explain :

    I have a POP3 account : "address@domain.com"

    On website, I write : "YWRkcmVzc0Bkb21haW4uY29t@anydomain.com"
    This is a "base64_encode(address@domain.com) + @anydomain.com"

    When someone send an email to : "YWRkcmVzc0Bkb21haW4uY29t@anydomain.com"

    I would the filter erase : "@anydomain.com"

    And base64_decode : "YWRkcmVzc0Bkb21haW4uY29t" (= address@domain.com)

    And send the message to "address@domain.com"

    Have you got an idea what I must write in the fields as Regexp and Destination in cPanel Email Filters ?

    Or maybe have you got an idea to make the same thing with another way ?

    It is important to use Email Filters in cPanel to do this.

    Thank you for your help !!!
     
Loading...

Share This Page