Package mireka.filter.local.table
Provides classes for configuring which recipients are local and what to
do with mails addressed to them.
-
Interface Summary Interface Description LocalPartSpecification LocalPartSpecification is able to decide if the local part of a recipient address matches it.RecipientDestinationMapper RecipientDestinationMapper maps recipients to destinations.RecipientSpecification A RecipientSpecification defines a criteria and it is able to tell if a recipient matches it.RemotePartSpecification A DomainSpecification represents a constraint on aRemotePart, and it can tell whether a mail address remote part matches it. -
Class Summary Class Description AliasMapper AliasMapper is a convenience class used in configuration files to create an alias.AnyDomainPostmaster AnyDomainPostmaster matches the special Postmaster@... type of addresses, irrespective of their remote part.AnyDomainRecipient AnyDomainRecipient matches any recipient with the specified local part, irrespective of the remote part.AnyPostmaster AnyPostmaster matches the special "Postmaster" (without remote part) and "Postmaster@..." type of addresses, irrespective of their remote part.AnyRecipient AnyRecipient matches any recipient, for any domain, including the reserved postmaster mailboxes.AnyRemotePart AnyRemotePart matches any remote part.CaseInsensitiveAnyDomainRecipient CaseInsensitiveAnyDomainRecipient is a convenience class for configuration, it case insensitively matches any recipient with the specified local part, irrespective of the remote part.CaseInsensitiveLocalPartSpecification This implementation does case-insensitive comparisons using the US locale.DomainPostmasterSpecification DomainPostmasterSpecification matches the domain postmaster of the supplied remote part.GlobalPostmasterSpecification GlobalPostmasterSpecification matches only aGlobalPostmasterrecipient, i.e a recipient case insensitively named "Postmaster" (without any remote part).InlineDomainRegistry InlineDomainRegistry is used to easily configure the list of domains and address literals which are considered local by the mail server.InlineRecipientRegistry InlineRecipientRegistry is a convenience class, it makes easy to specify valid addresses in the configuration files.LocalPostmaster LocalPostmaster matches the special global postmaster and any domain postmaster of the local domains as specified by aRemotePartSpecification.LocalRecipientTable LocalRecipientTable contains recipient-destination mappings likeRecipientTable, but it never matches a recipient whose domain is not included in the specified domain list.LocalRemoteCombinedRecipientSpecification LocalRemoteCombinedRecipientSpecification combines aLocalPartSpecificationwith aRemotePartvalue, both must match to satisfy this specification.PostmasterAliasMapper PostmasterAliasMapper is a convenience class used in configuration files to assign a Postmaster alias.RecipientDestinationPair RecipientDestinationPair is a configuration helper object which assigns a destination to a mailbox address which is supplied in text form.RecipientSpecificationDestinationPair RecipientSpecificationDestinationPair assigns aDestinationto one or moreRecipientSpecification, it is used to configure what to do with mail sent to the matching mail addresses.RecipientSpecificationFactory RecipientSpecificationFactory can convert a mail address like string into aRecipientSpecificationinstance.RecipientSpecifications RecipientSpecifications groupsRecipientSpecificationinstances, it matches a recipient if any of its elements matches it.RecipientTable RecipientTable contains a list of otherRecipientDestinationMapperinstances, and search each element of the list to lookup the destination assigned to a recipient.RegexAddressSpecification RegexAddressSpecification compares the local part of a recipient address with a regular expression and it also requires the remote part to be identical with the specified remote part.RegexLocalPart RegexLocalPart compares the local part of an address with the specified regular expression.SplitRecipientSpecification SplitRecipientSpecification matches a recipient if its remote part matches the suppliedRemotePartSpecificationand its local part matches the suppliedLocalPartSpecification.