Part of twisted.mail.maildir View Source View In Hierarchy
Method | __init__ | Initialize. |
Method | userDirectory | Get the directory for a user |
Method | addUser | Undocumented |
Method | getCredentialsCheckers | Undocumented |
Method | requestAvatar | Undocumented |
Inherited from AbstractMaildirDomain:
Method | setAliasGroup | Undocumented |
Method | exists | Check for existence of user in the domain. |
Method | startMessage | Save a message for the given user . |
Method | willRelay | Undocumented |
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/{cur,new,del} <-- each user has these three directories
If the user exists in the dirdbm file, return the directory os.path.join(root, name), creating it if necessary. Otherwise, returns postmaster's mailbox instead if bounces go to postmaster, otherwise return None