Package org.apache.james.mailet.standard.matchers

Core matchers for use with the Mailet API.

See:
          Description

Class Summary
AbstractQuotaMatcher Abstract matcher checking whether a recipient has exceeded a maximum allowed quota.
All Matches all mail.
AttachmentFileNameIs Checks if at least one attachment has a file name which matches any element of a comma-separated or space-separated list of file name masks.
CommandForListserv Returns positive if the recipient is a command for a listserv.
CommandListservMatcher CommandListservMatcher is the matcher that pairs with the CommandListservManager It checks to see if the request is intended for the ListservManager, but doesn't guarantee that it is a valid command.
CompareNumericHeaderValue Matches mails containing a header with a numeric value whose comparison with the specified value is true.
FetchedFrom Matches mail with a header set by Fetchpop X-fetched-from
fetchpop sets X-fetched-by to the "name" of the fetchpop fetch task.
FileRegexMatcher Initializes RegexMatcher with regular expressions from a file.
GenericRegexMatcher This is a generic matcher that uses regular expressions.
HasAttachment Checks whether this message has an attachment
HasHabeasWarrantMark This matcher tests for the Hebeas Warrant Mark.
HasHeader use: <mailet match="HasHeader={<header>[=value]}+" class="..."
HasMailAttribute This Matcher determines if the mail contains the attribute specified in the condition, and returns all recipients if it is the case.
HasMailAttributeWithValue This Matcher determines if the mail contains the attribute specified in the condition and if the value answered when the method toString() is invoked on the attribute is equal to the String value specified in the condition.
HasMailAttributeWithValueRegex This Matcher determines if the mail contains the attribute specified in the condition and that attribute matches the supplied regular expression, it returns all recipients if that is the case.
HostIs Matches mail to given hosts.
HostIsLocal Matches mail to Domains which are local .
IsSingleRecipient Matches mail where the number of recipiants is exactly one.
NESSpamCheck This is based on a sample filter.cfg for a Netscape Mail Server to stop spam.
RecipientIs Matches mail where the recipent is one of a configurable list.
RecipientIsLocal Matches mail where the recipient is local.
RecipientIsRegex Matches recipients whose address matches a regular expression.
RelayLimit Matches mail which has been relayed more than a given number of times.
SenderHostIs Checkes the sender's displayed domain name against a supplied list.
SenderHostIsLocal Checks the sender's displayed domain name against a the hosts serviced by this mail context.
SenderIs Matches mail where the sender is contained in a configurable list.
SenderIsLocal Matches mail where the sender is local.
SenderIsNull Matches mails that are sent by a null sender.
SenderIsRegex Matches mails that are sent by a sender whose address matches a regular expression.
SizeGreaterThan Checks whether the message (entire message, not just content) is greater than a certain number of bytes.
SMTPAuthSuccessful Matches mails that are sent by an SMTP authenticated user.
SMTPAuthUserIs Matches mails that are sent by an SMTP authenticated user present in a supplied list.
SMTPIsAuthNetwork Matches mails that are sent by an client which is allowed to relay.
SubjectIs Matches mail where the subject is contained in a configurable list.
SubjectStartsWith Matches mail where the subject starts with a given phrase.
UserIs Matches mail where the user is contained in a configurable list.
 

Package org.apache.james.mailet.standard.matchers Description

Core matchers for use with the Mailet API.



Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.