Matchers

 

All

Every mail with all recipients is always matched.

 

No condition.

 

CommandForListserv

Matches the –on and –off version of the address specified.  For instance, if the match was specified as CommandForListserv=james@list.working-dogs.com, then this match would match james-on@list.working-dogs.com and james-off@list.working-dogs.com.  Useful to channel listserv commands to a different mailet.

 

Condition: listserv address to use as base.

 

HostIs

Matches recipients where the domain of the recipient’s email address matches the host specified in the condition.  This is a string comparison and does not check DNS information.

 

Condition: the hostname to compare to the recipient’s domain name.

 

HostIsLocal

Matches recipients where the domain of the recipient’s email address matches one of the hosts handled by this server.

 

No condition.

 

RecipientIs

Matches recipients against a comma or space delimited list of recipient email addresses (exactly).

 

Condition: a comma or space delimited list of email addresses.

 

RecipientIsLocal

Matches the recipient’s domain against the hosts handled by this server and the recipient’s user against the user accounts of this server.

 

No condition.

 

RelayLimit

Matches mail is it has been relayed more than the number specified in the condition.  Determines number of hops by counting the number of “Received” headers in the message.

 

Condition: the number of hops at which this message should start matching.

 

RemoteInNetwork

Matches mail if the remote IP address of the sending machine is in one of the networks specified in the condition.

 

Condition: a comma or space delimited list of IP addresses and networks.  Networks are specified by leaving off the appropriate subnet mask as is done in /etc/hosts.allow and /etc/hosts.deny in unix, e.g., “38.177.223.”

 

RemoteNotInNetwork

Matches mail if the remote IP address of the sending machine is not in one of the networks specified in the condition.

 

Condition: a comma or space delimited list IP addresses and networks.  Networks are specified by leaving off the appropriate subnet mask as is done in /etc/hosts.allow and /etc/hosts.deny in unix, e.g., “38.177.223.”

 

SenderInFakeDomain

Does a DNS lookup for MX, A or CNAME record on the sending email address’s domain part.  If no DNS records are found, the mail is matched.  (useful for blocking mail with forged email addresses.)

 

No condition.

 

SenderIs

Matches mail if sender is one of the email addresses specified in the condition.

 

Condition: a comma or space delimited list of email addresses.

 

SubjectIs

Matches mail if the subject is the same as the one specified in the condition.

 

Condition: a subject to match.

 

SubjectStartsWith

Matches mail if the subjects starts with the one specified in the condition.

 

Condition: a subject fragment to compare.

 

UserIs

Matches mail if the user part of a recipient’s email address matches one of the users specified in the condition.  The user portion of an email address is the part before the @ symbol.

 

Condition: a comma or space delimited list of users.