Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- listen = *
- mail_plugins = mailbox_alias acl
- protocols = imap pop3 sieve lmtp
- mail_uid = 1100
- mail_gid = 1100
- first_valid_uid = 1100
- last_valid_uid = 1100
- auth_verbose = yes
- log_path = /var/log/dovecot/main.log
- info_log_path = /var/log/dovecot/info.log
- debug_log_path = /var/log/dovecot/debug.log
- ssl_min_protocol = SSLv3
- verbose_ssl = yes
- ssl_cert = </etc/letsencrypt/live/mail.наш.домен/fullchain.pem
- ssl_key = </etc/letsencrypt/live/mail.наш.домен/privkey.pem
- ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-RSA-DES-CBC3-SHA:ECDHE-ECDSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
- ssl_prefer_server_ciphers = yes
- disable_plaintext_auth = no
- mail_location = maildir:/mail/%d/%u/
- auth_default_realm = наш.домен
- auth_mechanisms = PLAIN LOGIN
- service auth {
- unix_listener /var/spool/postfix/private/dovecot-auth {
- user = postfix
- group = postfix
- mode = 0666
- }
- unix_listener auth-master {
- user = vmail
- group = vmail
- mode = 0666
- }
- unix_listener auth-userdb {
- user = vmail
- group = vmail
- mode = 0660
- }
- }
- service lmtp {
- unix_listener /var/spool/postfix/private/dovecot-lmtp {
- user = postfix
- group = postfix
- mode = 0600
- }
- inet_listener lmtp {
- address = 127.0.0.1
- port = 24
- }
- }
- userdb {
- args = /etc/dovecot/dovecot-mysql.conf
- driver = sql
- }
- passdb {
- args = /etc/dovecot/dovecot-mysql.conf
- driver = sql
- }
- auth_master_user_separator = *
- plugin {
- auth_socket_path = /var/доменn/dovecot/auth-master
- acl = vfile
- acl_shared_dict = file:/mail/shared-folders/shared-mailboxes.db
- sieve_dir = ~/.sieve/
- mailbox_alias_old = Sent
- mailbox_alias_new = Sent Messages
- mailbox_alias_old2 = Sent
- mailbox_alias_new2 = Sent Items
- }
- protocol lda {
- mail_plugins = $mail_plugins sieve
- auth_socket_path = /var/доменn/dovecot/auth-master
- deliver_log_format = mail from %f: msgid=%m %$
- log_path = /var/log/dovecot/lda-errors.log
- info_log_path = /var/log/dovecot/lda-deliver.log
- lda_mailbox_autocreate = yes
- lda_mailbox_autosubscribe = yes
- # postmaster_address = root
- }
- protocol lmtp {
- info_log_path = /var/log/dovecot/lmtp.log
- mail_plugins = quota sieve
- postmaster_address = postmaster
- lmtp_save_to_detail_mailbox = yes
- recipient_delimiter = +
- }
- protocol imap {
- mail_plugins = $mail_plugins imap_acl
- imap_client_workarounds = tb-extra-mailbox-sep
- mail_max_userip_connections = 30
- }
- protocol pop3 {
- mail_plugins = $mail_plugins
- pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
- pop3_uidl_format = %08Xu%08Xv
- mail_max_userip_connections = 30
- }
- service imap-login {
- service_count = 1
- process_limit = 500
- }
- service pop3-login {
- service_count = 1
- }
- service managesieve-login {
- inet_listener sieve {
- port = 4190
- }
- }
- service stats {
- unix_listener stats-reader {
- user = vmail
- group = vmail
- mode = 0660
- }
- unix_listener stats-writer {
- user = vmail
- group = vmail
- mode = 0660
- }
- }
- namespace {
- type = private
- separator = /
- prefix =
- inbox = yes
- mailbox Sent {
- auto = subscribe
- special_use = \Sent
- }
- mailbox "Sent Messages" {
- auto = no
- special_use = \Sent
- }
- mailbox "Sent Items" {
- auto = no
- special_use = \Sent
- }
- mailbox Drafts {
- auto = subscribe
- special_use = \Drafts
- }
- mailbox Trash {
- auto = subscribe
- special_use = \Trash
- }
- mailbox "Deleted Messages" {
- auto = no
- special_use = \Trash
- }
- mailbox Junk {
- auto = subscribe
- special_use = \Junk
- }
- mailbox Spam {
- auto = no
- special_use = \Junk
- }
- mailbox "Junk E-mail" {
- auto = no
- special_use = \Junk
- }
- mailbox Archive {
- auto = no
- special_use = \Archive
- }
- mailbox Archives {
- auto = no
- special_use = \Archive
- }
- }
- namespace {
- type = shared
- separator = /
- prefix = Shared/%%u/
- location = maildir:%%h:INDEX=%h/shared/%%u
- subscriptions = yes
- list = children
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement