How wildcarding works for PMX lists for email glob match type

  • Article ID: 46188
  • Updated: 26 Sep 2013

This article explains how wildcarding email domains works in PureMessage for UNIX.

Applies to the following Sophos product(s) and version(s)

PureMessage for Unix

Wildcarding explained

For global whitelisted senders/blacklisted senders list the default match type is email glob. Thus to match by domain, you would enter in either (assuming you want to just match the top level domain): @domain.com or: **@domain.com

If you were to use: *@domain.com it would match a@domain.com but it will not match a.b@domain.com

More information about the email glob match type is below.

mail
Glob style email address matching. The wildcards are the same as for domain, but '@' is prevented from matching on '*' and '?'. Also, if the list entry ends with '@' then the match is no longer anchored at the end.
Some examples:
   example.com
Matches all addresses ending with a domain name of 'example.com' such as 'foo@example.com', 'foo@foo.example.com'.
   @example.com
Matches all addresses with 'example.com' as the exact domain part.
   dev-**@
Matches all addresses starting with the string 'dev-'.
   foo@perl.*
Matches all addresses with 'foo' as the local part and a two level domain name with 'perl' as the first level, like 'foo@perl.com' and 'foo@perl.org'.
   foo@perl.**
Matches all addresses with 'foo' as the local part and at least a two level domain name with 'perl' as the first level, like 'foo@perl.com' and 'foo@perl.domain.com'.

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments