Package org.apache.james.transport.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 org.apache.james.transport.mailets.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.
This is used to match all mail fetched from a specific pop account.
HasAttachment Checks whether this message has an attachment
HasHabeasWarrantMark This matcher tests for the Hebeas Warrant Mark.
HasHeader use:
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.
HostIs Matches mail from given hosts.
HostIsLocal Matches mail from localhost.
IsSingleRecipient Matches mail where the number of recipiants is exactly one.
RecipientIs Matches mail where the recipent is one of a configurable list.
RecipientIsLocal Matches mail where the recipient is local.
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.
SenderIsNull Matches mails that are sent by a null sender.
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.transport.matchers Description

Core matchers for use with the Mailet API.



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