Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Help : regexp email filter

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

  1. nazoreen

    nazoreen Active Member

    Joined:
    May 18, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice