Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 2.1.7: /etc/dovecot/dovecot.conf
- # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1 xfs
- auth_mechanisms = plain login
- default_client_limit = 1024
- deliver_log_format = from=<%f>: %$
- dict {
- quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
- }
- disable_plaintext_auth = no
- first_valid_gid = 114
- first_valid_uid = 111
- last_valid_gid = 114
- last_valid_uid = 111
- listen = *
- mail_fsync = never
- mail_location = maildir:/home/mail/%d/%n/Maildir
- mail_plugins = quota
- managesieve_notify_capability = mailto
- managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave vacation-seconds
- mmap_disable = yes
- namespace inbox {
- inbox = yes
- location =
- mailbox Drafts {
- special_use = \Drafts
- }
- mailbox Junk {
- special_use = \Junk
- }
- mailbox Sent {
- special_use = \Sent
- }
- mailbox "Sent Messages" {
- special_use = \Sent
- }
- mailbox Trash {
- special_use = \Trash
- }
- prefix =
- }
- passdb {
- args = /etc/dovecot/dovecot-sql.conf.ext
- driver = sql
- }
- plugin {
- quota = dict:User quota::proxy::quota
- quota_exceeded_message = User quota exceed!
- quota_warning = storage=99%% quota-warning 99 %u
- quota_warning2 = storage=95%% quota-warning 95 %u
- quota_warning3 = storage=90%% quota-warning 90 %u
- quota_warning4 = storage=80%% quota-warning 80 %u
- quota_warning5 = storage=75%% quota-warning 75 %u
- sieve = ~/.dovecot.sieve
- sieve_dir = ~/sieve
- sieve_extensions = +vacation-seconds
- sieve_vacation_default_period = 0
- sieve_vacation_max_period = 1d
- sieve_vacation_min_period = 0
- }
- postmaster_address = postmaster@domain.com
- protocols = "imap lmtp sieve pop3"
- service anvil {
- client_limit = 1227
- }
- service auth {
- client_limit = 1324
- unix_listener /var/spool/postfix/private/auth {
- mode = 0666
- }
- unix_listener auth-userdb {
- mode = 0666
- }
- }
- service dict {
- unix_listener dict {
- group = vmail
- mode = 0600
- user = vmail
- }
- }
- service imap-login {
- process_limit = 1024
- service_count = 0
- }
- service imap {
- process_limit = 1024
- }
- service lmtp {
- executable = lmtp -L
- process_min_avail = 5
- unix_listener /var/spool/postfix/private/dovecot-lmtp {
- group = postfix
- mode = 0600
- user = postfix
- }
- user = vmail
- }
- service managesieve-login {
- inet_listener sieve {
- port = 4190
- }
- process_min_avail = 0
- service_count = 0
- vsz_limit = 100 M
- }
- service pop3-login {
- service_count = 0
- }
- service quota-warning {
- executable = script /etc/dovecot/quota-warning.sh
- unix_listener quota-warning {
- user = vmail
- }
- user = vmail
- }
- ssl_cert = </etc/dovecot/dovecot.pem
- ssl_key = </etc/dovecot/private/dovecot.pem
- syslog_facility = local0
- userdb {
- driver = prefetch
- }
- userdb {
- args = /etc/dovecot/dovecot-sql.conf.ext
- driver = sql
- }
- verbose_proctitle = yes
- protocol lmtp {
- mail_fsync = optimized
- mail_plugins = quota sieve
- }
- local 10.10.10.112 {
- protocol sieve {
- mail_max_userip_connections = 10
- }
- }
- local 10.10.10.113 {
- protocol imap {
- mail_plugins = quota imap_quota
- ssl_cert = </etc/dovecot/ssl/domain1.crt
- ssl_key = </etc/dovecot/ssl/domain1.key
- }
- }
- local 10.10.10.113 {
- protocol pop3 {
- mail_plugins = quota
- ssl_cert = </etc/dovecot/ssl/domain1.crt
- ssl_key = </etc/dovecot/ssl/domain1.key
- }
- }
- local 10.10.10.114 {
- protocol imap {
- mail_plugins = quota imap_quota
- ssl_cert = </etc/dovecot/ssl/domain2.crt
- ssl_key = </etc/dovecot/ssl/domain2.key
- }
- }
- local 10.10.10.114 {
- protocol pop3 {
- mail_plugins = quota
- ssl_cert = </etc/dovecot/ssl/domain2.crt
- ssl_key = </etc/dovecot/ssl/domain2.key
- }
- }
- local 10.10.10.115 {
- protocol imap {
- mail_plugins = quota imap_quota
- ssl_cert = </etc/dovecot/ssl/domain3.crt
- ssl_key = </etc/dovecot/ssl/domain3.key
- }
- }
- local 10.10.10.115 {
- protocol pop3 {
- mail_plugins = quota
- ssl_cert = </etc/dovecot/ssl/domain4.crt
- ssl_key = </etc/dovecot/ssl/domain4.key
- }
- }
- local 10.10.10.116 {
- protocol imap {
- mail_plugins = quota imap_quota
- ssl_cert = </etc/dovecot/ssl/domain5.crt
- ssl_key = </etc/dovecot/ssl/domain5.key
- }
- }
- local 10.10.10.116 {
- protocol pop3 {
- mail_plugins = quota
- ssl_cert = </etc/dovecot/ssl/domain5.crt
- ssl_key = </etc/dovecot/ssl/domain5.key
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement