A.1 Wildcard Characters

MailMarshal allows wildcard entries in the following contexts:

Local domains. See Running the Configuration Wizard.

User and Group matching for policy groups and rules. See “Understanding User Matching”.

Receiver HELO name matching. See “Where sender's HELO name is/is not criteria”.

The Console search and filtering options. See “Using the MailMarshal Console for Email Management”.

BTM exclusions. See “MailMarshal Properties – Advanced”.

Outbound TLS domains. See “Securing Outbound Communications”.

In each of these types of entry, MailMarshal supports this syntax:

Table 29: Wildcard syntax

Character

Function

*

Matches any number of characters

?

Matches any single character

[abc]

Matches a single character from a b c

[!abc] or [^abc]

Matches a single character except a b or c

[a!b^c]

Matches a single character from a b c ! ^

[a-d]

Matches a single character in the range from a to d inclusive

[^a-z]

Matches a single character not in the range a to z inclusive

The table below gives some examples of results of the wildcard syntax.

Table 30: Wildcard example results

Pattern

Matches

*.ourcompany.com

pop.ourcompany.com
hq.ourcompany.com
etc.

*.mail[0-9].ourcompany.com

mail5.ourcompany.com
but not
maila.ourcompany.com

mail[!0-9].ourcompany.com

mails.ourcompany.com
but not
mail3.ourcompany.com

 

Information 

Note: The !, -, and ^ are special characters only if they are inside [ ] brackets. To be a negation operator, ! or ^ must be the first character within [ ].

 

Trustwave MailMarshal 10.1.0 User Guide March 2024
< Previous Section   |   Next Section >
Full document: see MailMarshal Documentation.