This section describes the use of the signature identifier dialog in ORF.
Use the Signature Identifier dialog to edit DKIM selector-domain expressions. Enter the domain or mask expression to the Domain Expression box and the selector or mask expression to the Selector Expression box. Test your expression using the test group edit box. If the test box contents match with the mask, a green "Matches" label appears on the right side of the test box.
Optionally, you can include a comment with the expression. This comment is logged when a hit appears on this list.
By clicking the button to the right of the domain expression box, you can invoke a dialog which will generate a domain expression based on the Expression scope of your choice:
Domain name entered | Selected scope | Expression generated | Matches |
---|---|---|---|
domain.com | Domain + subdomains | ^([^.]+\.)*domain\.com$ | The entire domain and its subdomains (both domain.com and subdomain.domain.com) |
domain.com | Subdomains only | *.domain.com | Only the subdomains (matches subdomain.domain.com but not domain.com) |
domain.com | Domain only | domain.com | Only the domain, but not its subdomains |
Domains can be specified by the domain itself / wildcard mask or Perl-compatible regular expressions. Switch between the two modes by using the Simple text / wildcard mask and the Regular expression (Perl-compatible) radio buttons.
The wildcard mask supports the * and the ? wildcards.
Wildcards allow you to define masks easily, without having to learn the relatively complex regular expression syntax. Wildcards are special characters which match a wildcard-dependent count of arbitrary characters. ORF supports two wildcard characters:
Wildcard | Meaning | Example |
---|---|---|
* | Matches zero or more arbitrary characters. | *example.org |
? | Matches zero or one arbitrary character. | example?.org |
ORF's wildcard masks are case-insensitive. The number of wildcards in a single mask is not limited.
You can list a domain and its subdomains in a single wildcard expression like *example.org, but this mask also matches for notactuallyanexample.org. If you want to specify example.org and all of its subdomains, use a regular expression like
instead.
When working with IDNs, make sure to enter these in ASCII ("Punycode") format, e.g. as "xn--e1afmkfd.xn--80akhbyknj4f" instead of "пример.испытание".