Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protocols = imap pop3 sieve
- log_timestamp = "%Y-%m-%d %H:%M:%S "
- mail_location = maildir:/home/vmail/%d/%n/Maildir
- #mail_location = mdbox:/home/vmail/%d/%n/Mdbox
- ssl_cert = <cert.pem
- ssl_key = <key.pem
- mail_plugins = zlib
- mdbox_rotate_size = 2M
- namespace inbox {
- type = private
- separator = .
- prefix = INBOX.
- inbox = yes
- mailbox Drafts {
- special_use = \Drafts
- auto = subscribe
- }
- mailbox Junk {
- special_use = \Junk
- auto = create
- }
- mailbox "Junk Mail" {
- special_use = \Junk
- auto = no
- }
- mailbox "Junk E-mail" {
- special_use = \Junk
- auto = no
- }
- mailbox spam {
- special_use = \Junk
- auto = no
- }
- mailbox Spam {
- special_use = \Junk
- auto = no
- }
- mailbox Trash {
- special_use = \Trash
- auto = subscribe
- }
- mailbox Sent {
- special_use = \Sent
- auto = subscribe
- }
- mailbox "Sent Mail" {
- special_use = \Sent
- auto = no
- }
- mailbox "Sent Messages" {
- special_use = \Sent
- auto = no
- }
- mailbox Archive {
- special_use = \Archive
- auto = create
- }
- mailbox "Archives" {
- special_use = \Archive
- auto = no
- }
- }
- service auth {
- unix_listener auth-master {
- mode = 0600
- user = vmail
- }
- unix_listener /var/spool/postfix/private/auth {
- mode = 0666
- user = postfix
- group = postfix
- }
- user = root
- }
- service auth-worker {
- user = root
- }
- protocol lda {
- log_path = /home/vmail/dovecot-deliver.log
- auth_socket_path = /var/run/dovecot/auth-master
- postmaster_address = postmaster@example.com
- mail_plugins = zlib
- }
- protocol pop3 {
- pop3_uidl_format = %08Xu%08Xv
- mail_plugins = $mail_plugins zlib
- }
- protocol imap {
- mail_plugins = $mail_plugins zlib imap_zlib
- }
- passdb {
- driver = sql
- args = /etc/dovecot/dovecot-sql.conf.ext
- }
- userdb {
- driver = sql
- args = /etc/dovecot/dovecot-sql.conf.ext
- }
- plugin {
- zlib_save = gz
- zlib_save_level = 6
- }
- service managesieve-login {
- inet_listener sieve {
- port = 4190
- }
- }
- service managesieve {
- }
- protocol sieve {
- managesieve_max_line_length = 65536
- managesieve_implementation_string = dovecot
- log_path = /var/log/dovecot-sieve-errors.log
- info_log_path = /var/log/dovecot-sieve.log
- }
- plugin {
- sieve = /home/vmail/%d/%n/dovecot.sieve
- sieve_global_path = /etc/dovecot/sieve/default.sieve
- sieve_dir = /home/vmail/%d/%n/sieve
- sieve_global_dir = /etc/dovecot/sieve/global/
- }
- protocol lda {
- mail_plugins = $mail_plugins sieve quota
- postmaster_address = postmaster@example.com
- hostname = server.example.com
- auth_socket_path = /var/run/dovecot/auth-master
- log_path = /var/log/dovecot-lda-errors.log
- info_log_path = /var/log/dovecot-lda.log
- }
- protocol lmtp {
- mail_plugins = $mail_plugins sieve quota
- log_path = /var/log/dovecot-lmtp-errors.log
- info_log_path = /var/log/dovecot-lmtp.log
- }
- service stats {
- unix_listener stats-reader {
- user = vmail
- group = vmail
- mode = 0660
- }
- unix_listener stats-writer {
- user = vmail
- group = vmail
- mode = 0660
- }
- }
Add Comment
Please, Sign In to add comment