Package org.apache.james.transport.matchers

Core matchers for use with the Mailet API.

See:
          Description

Class Summary
AbstractNetworkMatcher AbstractNetworkMatcher makes writing IP Address matchers easier.
AbstractQuotaMatcher Abstract matcher checking whether a recipient has exceeded a maximum allowed quota.
AbstractStorageQuota Abstract matcher checking whether a recipient has exceeded a maximum allowed storage quota for messages standing in his inbox.
All  
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  
HasHeader use: This matcher simply checks to see if the header named is present.
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  
HostIsLocal  
InSpammerBlacklist Checks the network IP address of the sending server against a blacklist of spammers.
IsInWhiteList Matches recipients having the mail sender in the recipient's private whitelist .
IsSingleRecipient  
NESSpamCheck This is based on a sample filter.cfg for a Netscape Mail Server to stop spam.
RecipientIs  
RecipientIsLocal  
RecipientIsOverFixedQuota Checks whether a recipient has exceeded a maximum allowed quota for messages standing in his inbox.
RecipientIsRegex Matches recipients whose address matches a regular expression.
RelayLimit  
RemoteAddrInNetwork Checks the IP address of the sending server against a comma- delimited list of IP addresses, domain names or sub-nets.
RemoteAddrNotInNetwork Checks the IP address of the sending server against a comma- delimited list of IP addresses, domain names or sub-nets.
SenderHostIs Checkes the sender's displayed domain name against a supplied list.
SenderInFakeDomain Does a DNS lookup (MX and A/CNAME records) on the sender's domain.
SenderIs  
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.
SubjectIs  
SubjectStartsWith  
UserIs  
 

Package org.apache.james.transport.matchers Description

Core matchers for use with the Mailet API.



Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.