Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore ListLoad ListLoad Str Str Num Str ListLoad Str Str NameLoad Str ListLoad Str Str NameLoad Str ListLoad Str Str NameLoad Str Assign NameStore ListLoad ListLoad Str Str Str ListLoad Str NameLoad Str ListLoad Str NameLoad Str ListLoad Str NameLoad Str Assign NameStore Dict Str Str Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr orelse Raise Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Raise Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Raise Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd CompareEq NameLoad Str SubscriptLoad NameLoad Index Str CompareEq Call NameLoad SubscriptLoad NameLoad Index NameLoad Num body Return BinOpAdd SubscriptLoad NameLoad Index NameLoad ListLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If SubscriptLoad NameLoad Index NameLoad body Return SubscriptLoad NameLoad Index NameLoad orelse If SubscriptLoad NameLoad Index BinOpAdd Str NameLoad body Return ListLoad orelse Return ListLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias If SubscriptLoad NameLoad Index Str body If UnaryOpNot SubscriptLoad NameLoad Index Str body Raise Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str body Raise Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str If BoolOpAnd SubscriptLoad NameLoad Index Str CompareIs SubscriptLoad NameLoad Index Str NameLoad body Raise Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If SubscriptLoad NameLoad Index NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str ImportFrom alias TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num If NameLoad body ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If SubscriptLoad NameLoad Index Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr If SubscriptLoad NameLoad Index Str body AugAssignAdd AttributeStore NameLoad attr TupleLoad NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr TupleLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad If SubscriptLoad NameLoad Index Str body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Assign AttributeStore NameLoad attr BinOpAdd TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list
N/A N/A 
I am the support module for creating mail servers with twistd
 N/A os N/A warnings twisted.mail mail twisted.mail maildir twisted.mail relay twisted.mail relaymanager twisted.mail alias twisted.internet endpoints twisted.python usage twisted.cred checkers twisted.cred strcred twisted.application internet Options N/A N/A usage Options N/A strcred AuthOptionMixin N/A N/A synopsis [options] N/A optParameters N/A N/A pop3s S 0 Port to start the POP3-over-SSL server on (0 to disable). DEPRECATED: use '--pop3 ssl:port:privateKey=pkey.pem:certKey=cert.pem' N/A certificate c None Certificate file to use for SSL connections. DEPRECATED: use '--pop3 ssl:port:privateKey=pkey.pem:certKey=cert.pem' N/A relay R None Relay messages according to their envelope 'To', using the given path as a queue directory. N/A hostname H None The hostname by which to identify this server. N/A optFlags N/A N/A esmtp E Use RFC 1425/1869 SMTP extensions N/A disable-anonymous None Disallow non-authenticated SMTP connections N/A no-pop3 None Disable the default POP3 server. N/A no-smtp None Disable the default SMTP server. N/A _protoDefaults N/A pop3 smtp 8110 8025 N/A compData N/A N/A usage Completions optActions N/A hostname certificate N/A N/A usage CompleteHostnames N/A N/A usage CompleteFiles *.pem N/A longdesc This creates a mail.tap file that can be used by twistd. __init__ N/A N/A self N/A N/A N/A N/A N/A N/A usage Options __init__ self N/A N/A self service N/A N/A mail MailService N/A N/A self last_domain None N/A service N/A self _protoDefaults N/A N/A N/A self N/A service N/A N/A addEndpoint N/A N/A self service description certificate N/A None N/A N/A 
        Given a 'service' (pop3 or smtp), add an endpoint.
         N/A N/A N/A N/A self N/A service append N/A _toEndpoint description certificate certificate N/A opt_pop3 N/A N/A self description N/A N/A N/A 
        Add a pop3 port listener on the specified endpoint.  You can listen on
        multiple ports by specifying multiple --pop3 options.  For backwards
        compatibility, a bare TCP port number can be specified, but this is
        deprecated. [SSL Example: ssl:8995:privateKey=mycert.pem] [default:
        tcp:8110]
         N/A N/A N/A self addEndpoint pop3 description N/A N/A opt_p opt_pop3 opt_smtp N/A N/A self description N/A N/A N/A 
        Add an smtp port listener on the specified endpoint.  You can listen on
        multiple ports by specifying multiple --smtp options For backwards
        compatibility, a bare TCP port number can be specified, but this is
        deprecated.  [SSL Example: ssl:8465:privateKey=mycert.pem] [default:
        tcp:8025]
         N/A N/A N/A self addEndpoint smtp description N/A N/A opt_s opt_smtp opt_default N/A N/A self N/A N/A N/A Make the most recently specified domain the default domain. N/A N/A self last_domain N/A N/A N/A N/A N/A self service addDomain N/A self last_domain N/A N/A N/A N/A usage UsageError Specify a domain before specifying using --default N/A N/A opt_D opt_default opt_maildirdbmdomain N/A N/A self domain N/A N/A N/A generate an SMTP/POP3 virtual domain which saves to "path"
         N/A N/A N/A N/A name path N/A N/A domain split = N/A N/A N/A ValueError N/A N/A N/A N/A usage UsageError Argument to --maildirdbmdomain must be of the form 'name=path' N/A N/A self last_domain N/A N/A maildir MaildirDirdbmDomain N/A self service N/A N/A N/A os path abspath path N/A N/A N/A N/A self service addDomain name N/A self last_domain N/A N/A opt_d opt_maildirdbmdomain opt_user N/A N/A self user_pass N/A N/A N/A add a user/password to the last specified domains
         N/A N/A N/A N/A user password N/A N/A user_pass split = 1 N/A N/A N/A ValueError N/A N/A N/A N/A usage UsageError Argument to --user must be of the form 'user=password' N/A N/A self last_domain N/A N/A N/A N/A N/A self last_domain addUser user password N/A N/A N/A N/A usage UsageError Specify a domain before specifying users N/A N/A opt_u opt_user opt_bounce_to_postmaster N/A N/A self N/A N/A N/A undelivered mails are sent to the postmaster
         N/A N/A N/A self last_domain postmaster 1 N/A N/A opt_b opt_bounce_to_postmaster opt_aliases N/A N/A self filename N/A N/A N/A Specify an aliases(5) file to use for this domain N/A N/A N/A self last_domain None N/A N/A N/A N/A N/A mail IAliasableDomain providedBy N/A self last_domain N/A N/A aliases N/A N/A alias loadAliasFile N/A N/A self service domains filename N/A N/A N/A N/A self last_domain setAliasGroup aliases N/A N/A N/A N/A N/A self service monitor monitorFile filename N/A AliasUpdater N/A N/A self service domains N/A self last_domain N/A N/A N/A N/A usage UsageError N/A %s does not support alias files N/A N/A N/A N/A self last_domain __class__ __name__ N/A N/A N/A N/A usage UsageError Specify a domain before specifying aliases N/A N/A opt_A opt_aliases _getEndpoints N/A N/A self reactor service N/A N/A N/A 
        Return a list of endpoints for the specified service, constructing
        defaults if necessary.

        @param reactor: If any endpoints are created, this is the reactor with
            which they are created.

        @param service: A key into self indicating the type of service to
            retrieve endpoints for.  This is either C{"pop3"} or C{"smtp"}.

        @return: A C{list} of C{IServerStreamEndpoint} providers corresponding
            to the command line parameters that were specified for C{service}.
            If none were and the protocol was not explicitly disabled with a
            I{--no-*} option, a default endpoint for the service is created
            using C{self._protoDefaults}.
         N/A N/A N/A service pop3 N/A self N/A pop3s N/A N/A len N/A self N/A service 1 N/A N/A N/A N/A self N/A service N/A N/A N/A endpoints TCP4ServerEndpoint reactor N/A N/A self _protoDefaults N/A service N/A N/A N/A self N/A service N/A N/A N/A self N/A service N/A N/A N/A self N/A N/A no- service N/A N/A N/A N/A N/A N/A N/A N/A endpoints TCP4ServerEndpoint reactor N/A N/A self _protoDefaults N/A service N/A postOptions N/A N/A self N/A N/A twisted.internet reactor N/A N/A self N/A pop3s N/A N/A N/A N/A self N/A certificate N/A N/A N/A N/A usage UsageError Cannot specify --pop3s without --certificate N/A N/A N/A N/A N/A N/A os path exists N/A self N/A certificate N/A N/A N/A N/A usage UsageError N/A Certificate file %r does not exist. N/A self N/A certificate N/A N/A N/A N/A self addEndpoint pop3 N/A self N/A pop3s certificate N/A self N/A certificate N/A N/A N/A self N/A esmtp N/A N/A self N/A hostname None N/A N/A N/A N/A usage UsageError --esmtp requires --hostname N/A N/A credCheckers self N/A N/A ch N/A self N/A credCheckers N/A N/A N/A N/A N/A N/A self service smtpPortal registerChecker ch N/A N/A N/A self N/A disable-anonymous N/A N/A N/A N/A N/A N/A self service smtpPortal registerChecker N/A N/A checkers AllowAnonymousAccess N/A anything False N/A service N/A self _protoDefaults N/A N/A N/A self N/A service N/A N/A self _getEndpoints reactor service N/A N/A self N/A service N/A N/A anything True N/A N/A anything N/A N/A N/A N/A usage UsageError You cannot disable all protocols N/A N/A AliasUpdater N/A N/A __init__ N/A N/A self domains domain N/A N/A N/A N/A self domains domains N/A N/A self domain domain N/A __call__ N/A N/A self new N/A N/A N/A N/A N/A N/A self domain setAliasGroup N/A N/A alias loadAliasFile N/A self domains new N/A N/A _toEndpoint N/A N/A description certificate N/A None N/A N/A 
    Tries to guess whether a description is a bare TCP port or a endpoint.  If a
    bare port is specified and a certificate file is present, returns an
    SSL4ServerEndpoint and otherwise returns a TCP4ServerEndpoint.
     twisted.internet reactor N/A N/A N/A port N/A int description N/A N/A N/A ValueError N/A N/A N/A N/A endpoints serverFromString reactor description N/A N/A N/A warnings warn Specifying plain ports and/or a certificate is deprecated since Twisted 11.0; use endpoint descriptions instead. category DeprecationWarning stacklevel 3 N/A certificate N/A twisted.internet.ssl DefaultOpenSSLContextFactory N/A ctx N/A DefaultOpenSSLContextFactory certificate certificate N/A N/A N/A endpoints SSL4ServerEndpoint reactor port ctx N/A N/A N/A endpoints TCP4ServerEndpoint reactor port N/A makeService N/A N/A config N/A N/A N/A 
    Construct a service for operating a mail server.

    The returned service may include POP3 servers or SMTP servers (or both),
    depending on the configuration passed in.  If there are multiple servers,
    they will share all of their non-network state (eg, the same user accounts
    are available on all of them).

    @param config: An L{Options} instance specifying what servers to include in
        the returned service and where they should keep mail data.

    @return: An L{IService} provider which contains the requested mail servers.
     N/A N/A config N/A esmtp N/A N/A rmType N/A relaymanager SmartHostESMTPRelayingManager N/A smtpFactory N/A N/A config service getESMTPFactory N/A N/A rmType N/A relaymanager SmartHostSMTPRelayingManager N/A smtpFactory N/A N/A config service getSMTPFactory N/A N/A config N/A relay N/A N/A dir N/A config N/A relay N/A N/A N/A N/A N/A os path isdir dir N/A N/A N/A N/A os mkdir dir N/A N/A N/A N/A config service setQueue N/A N/A relaymanager Queue dir N/A default N/A N/A relay DomainQueuer N/A config service N/A manager N/A rmType N/A N/A config service queue N/A N/A config N/A esmtp N/A N/A N/A manager fArgs N/A None None N/A N/A manager fArgs N/A N/A config N/A hostname N/A helper N/A N/A relaymanager RelayStateHelper manager 1 N/A N/A N/A helper setServiceParent N/A config service N/A N/A N/A N/A N/A config service domains setDefaultDomain default N/A N/A config N/A pop3 N/A N/A f N/A N/A N/A config service getPOP3Factory N/A endpoint N/A config N/A pop3 N/A N/A svc N/A N/A internet StreamServerEndpointService endpoint f N/A N/A N/A svc setServiceParent N/A config service N/A N/A config N/A smtp N/A N/A f N/A smtpFactory N/A N/A config N/A hostname N/A N/A N/A f domain N/A config N/A hostname N/A N/A f fArgs N/A N/A f domain N/A N/A config N/A esmtp N/A N/A N/A f fArgs N/A N/A None None N/A f fArgs N/A endpoint N/A config N/A smtp N/A N/A svc N/A N/A internet StreamServerEndpointService endpoint f N/A N/A N/A svc setServiceParent N/A config service N/A N/A config service N/A