BoxTrapper whitelist - allows wildcards ?

Alfaservers

Registered
Nov 5, 2004
1
0
151
Is there anyway to allow a wildcard in boxtrapper whitelist ? (IE - *@domain.com)
Thanks,
Jaime
 

danimal

Well-Known Member
Jul 14, 2003
79
0
156
Yes, I think...

Alfaservers,

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

from [email protected]

It will do a string (case insensitive?) match of "[email protected]" 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 [email protected]
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: