Known implementations: twisted.mail.maildir.AbstractMaildirDomain

An interface for email domains which can be aliased to other domains.

Method setAliasGroup Set the group of defined aliases for this domain.
Method exists Check whether a user exists in this domain or an alias of it.

Inherited from IDomain:

Method addUser Add a user to this domain.
Method getCredentialsCheckers Return credentials checkers for this domain.
def setAliasGroup(aliases): (source)

Set the group of defined aliases for this domain.

ParametersaliasesA mapping of domain name to alias. (type: dict of bytes -> IAlias provider)
def exists(user, memo=None): (source)

Check whether a user exists in this domain or an alias of it.

ParametersuserA user. (type: User)
memoA record of the addresses already considered while resolving aliases. The default value should be used by all external code. (type: None or dict of AliasBase)
ReturnsA function which takes no arguments and returns a message receiver for the user. (type: no-argument callable which returns IMessageSMTP provider)
RaisesSMTPBadRcptWhen the given user does not exist in this domain or an alias of it.
API Documentation for Twisted, generated by pydoctor at 2017-02-11 20:06:04.