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.

Boxtrapper: blacklisting .co domains?

Discussion in 'E-mail Discussions' started by Teresa Green, Oct 10, 2014.

  1. Teresa Green

    Teresa Green Registered

    Joined:
    Oct 10, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Whilst I successfully block other TLDs by using (for example) "from .+\.eu" (sans quotes), when I try to block all mail from the .co TLD ("from .+\.co"), it also blocks all TLDs from .co.uk, .com etc.

    Anyone enlighten me as to how I can specify a literal (*.co) string rather than a contained-in string which is obviously how Boxtrapper reads it (*.co*)? I'm stumped.

    Thanks.
     
  2. jxmot

    jxmot Registered

    Joined:
    Sep 24, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Try this -

    from .+\@\.co$

    Or this -

    from .+\@.+\...$

    The '$' indicates (in regex) that the matching string must end with a match of the regex pattern. The first example will match "*@*.co" and the second one will match all TLDs with 2 characters like "*@*.eu", "*@*.pl", etc. But "*@*.com" will not match.

    The other problem with boxtrapper is the order in which the lists are checked. It checks the ignore list first, then white, then black. It should really be checking the white list first.

    Regards,
    j
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page