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 whitelist - allows wildcards ?

Discussion in 'General Discussion' started by Alfaservers, Nov 5, 2004.

  1. Alfaservers

    Alfaservers Registered

    Joined:
    Nov 5, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Is there anyway to allow a wildcard in boxtrapper whitelist ? (IE - *@domain.com)
    Thanks,
    Jaime
     
  2. danimal

    danimal Well-Known Member

    Joined:
    Jul 14, 2003
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Yes, I think...

    Alfaservers,

    As far as I understand it, the lists are just sequential string pattern matches. So if you have:

    from foobar@foobar.com

    It will do a string (case insensitive?) match of "foobar@foobar.com" in the From: field. So... if you do:

    from @foobar.com

    It will do a string match of "@foobar.com" in the From: field, which would match *@foobar.com. I don't think you want the asterix.

    Likewise you can do:
    subject some text

    and it will string match "some text" in the subject field.

    One thing that would help (gripe time) is if cPanel would post some sort of FAQ or manual on the lists and how the syntax can be used. I.e. they only have an example of:
    from something@somewhere.com
    and
    subject some subject

    but what about other header parsing, like matching any field or matching CC: or matching the sender's server/IP or negative matches (i.e. subject !(something) ). How flexible is the pattern matching in the list parsing? I (and others, I'll wager) would like to know.

    In the meantime, stick with:
    from @domain.com

    which works for me.

    -Danimal :cool:
     
Loading...

Share This Page