Table of Contents

Class: MaildirDirdbmDomain | Twisted-0.19.0/twisted/mail/maildir.py
--- | ---
A Maildir Domain where membership is checked by a dirdbm file
Base Classes |
--- | ---
AbstractMaildirDomain
Methods |
--- | ---
__init__ authenticateUserAPOP userDirectory
| __init__
    __init__ (
            self,
            service,
            root,
            postmaster=0,
            )
### Initialize The first argument is where the Domain directory is rooted. The second is whether non-existing addresses are simply forwarded to postmaster instead of outright bounce The directory structure of a MailddirDirdbmDomain is: /passwd <-- a dirdbm file /USER/inbox/{cur,new,del} <-- each user has these three directories
| authenticateUserAPOP
    authenticateUserAPOP (
            self,
            user,
            magic,
            digest,
            domain,
            )
### Return Mailbox to valid APOP authentications Check the credentials, returning None if they are invalid or a MaildirMailbox if they are valid.
| userDirectory
    userDirectory ( self,  name )
### Get the directory for a user If the user exists in the dirdbm file, return the directory os.path.join(root, name, `inbox`), creating it if necessary. Otherwise, returns postmaster's mailbox instead if bounces go to postmaster, otherwise return None

Table of Contents

This document was automatically generated on Sun Jul 14 19:52:48 2002 by HappyDoc version 2.0