maildir – Maildir Delivery Support
The maildir I/O module subverts the regular spooling actions for qualified messages to storage in maildir format as specified by qmail: http://www.qmail.org/man/man5/maildir.html .
maildir "maildir1" {
basedir = "/var/tmp/popbase"
dirmode = 775
filemode = 664
create_users = true
domain_in_path = true
all_domains = false
domains = ( "example.com"
"another.example.com")
}
- all_domains
-
If set to true, all domains will be delivered to the maildir store; otherwise, only the domains configured by the
domain
option will be delivered to the maildir store. - basedir
-
The base directory under which to create maildir mailboxes.
- createusers
-
If set to true, any user for one of the configured domains will be accepted for local delivery and the mailbox will be created if it does not already exist. This is most useful in conjunction with custom logic programmed using policy scripts.
If set to false, the message will be rejected if the mailbox does not already exist.
- dirmode
-
The file permission mode to use on directories created by the module.
- domain
-
This option configures a domain for delivery to the maildir store. It can be specified multiple times.
- domain_in_path
-
If set to true the mailbox path will include the domain name, otherwise it will not.
- filemode
-
The file permission mode to use on files created by the module.