Patterns File


This file specifies all server patterns. Patterns can be used in aliases, firewall and B&W filters options. Patterns can contain other patterns, IP addresses with masks, email and domains with masks and aliases with masks. They can be then used only by specifying the pattern name in the proper fields.

Formal Syntax:

patternlist = *(pattern CRLF)  
pattern = patternname CRLF patternitems  
patternname = "[" name "]"  
patternitems = 1*(patternitem CRLF)  
patternitem = (ipstring / emailstring / patternname / fileinclude)  
ipstring = (ipaddress / ipstringmask / ipbitmask )  
emailstring = (emailaddress / alias / domain / emailmask / domainmask)  
fileinclude = "{" includefilename "}"  
 

Example:

[All-Alias]
*

[Admins]
administrator
root
hostmaster
postmaster
webmaster

[FireWall]
194.213.*.*
10.20.*.*
192.168.0.0/16

[Spam]
bill@microsoft.com

[IceWarp]
*@icewarp.com

[Infos]
info@*

[IceWarpWorld]
icewarp.*
The pattern above will match icewarp.com, icewarp.net, icewarp.cz, icewarp.it, etc.
 

Example:

[Ducks]
donald@duck.com
daisy@duck.com
scrooge@mcduck.com

[WaltDisney]
mickey@mouse.com
goofy@disney.com
[Ducks]
pluto@disney.com
Patterns can contain other patterns.
So the [WaltDisney] pattern contains all the following addresses:
mickey@mouse.com
goofy@disney.com
donald@duck.com
daisy@duck.com
scrooge@mcduck.com
pluto@disney.com
 

Usage:

In the proper field you can just enter the pattern name then.

Alias: primaryalias;[All-Alias]
The first item in the Alias field is the primary alias for the account. It cannot be a pattern.
The result for the account with [All-Alias] in its Alias option is that all emails
to any alias are delivered to that particular account.

Alias: admin;[Admins]
This is the same as:
Alias: admin;administrator;root;hostmaster;postmaster;webmaster

Firewall: [Firewall]