Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2011
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.49 KB | None | 0 0
  1. # 2.0.9: dovecot.conf
  2. # OS: Linux 2.6.37-gen1 i686 Gentoo Base System release 2.0.1-r1 ext4
  3. auth_debug = no
  4. auth_debug_passwords = no
  5. auth_mechanisms = plain login cram-md5 digest-md5
  6. auth_verbose = no
  7. verbose_ssl = no
  8. base_dir = /var/run/dovecot/
  9. first_valid_uid = 1
  10. info_log_path = /var/log/dovecot/dovecot.log
  11. last_valid_uid = 5000
  12. listen = *
  13. log_path = /var/log/dovecot/dovecot-mail.log
  14. login_log_format_elements = pl
  15. mail_debug = yes
  16. mail_location = maildir:/home/domains/%d/%n/.maildir
  17. mail_privileged_group = vpopmail
  18. passdb {
  19.   args = /etc/dovecot/dovecot-sqlx.conf
  20.   driver = sql
  21. }
  22. plugin {
  23.   quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
  24.   quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
  25.   sieve = ~/.dovecot.sieve
  26.   sieve_dir = ~/sieve
  27. }
  28. protocols = imap sieve  pop3
  29. service auth {
  30.   unix_listener auth-master {
  31.    mode = 0666
  32.    user = vpopmail # User running dovecot-lda
  33.    group = vpopmail
  34.     }
  35.    unix_listener auth-userdb {
  36.    mode = 0666
  37.    user = vpopmail # User running dovecot-lda
  38.    group = vpopmail
  39.   }
  40.  
  41.  }
  42. service imap-login {
  43.   chroot = login
  44.   client_limit = 32
  45.   process_limit = 16
  46.   process_min_avail = 2
  47.   service_count = 1
  48. }
  49. service managesieve-login {
  50.   chroot = login
  51.   client_limit = 32
  52.   process_limit = 16
  53.   process_min_avail = 2
  54.   service_count = 1
  55. }
  56. service pop3-login {
  57.   chroot = login
  58.   client_limit = 32
  59.   process_limit = 16
  60.   inet_listener pop3 {
  61.   }
  62.   process_limit = 128
  63.   process_min_avail = 2
  64.   service_count = 1
  65. }
  66. ssl_cert = </etc/ssl/dovecot/server.pem
  67. ssl_key = </etc/ssl/dovecot/server.key
  68. userdb {
  69.   args = /etc/dovecot/dovecot-sqlx.conf
  70.   driver = sql
  71. }
  72.  
  73. protocol imap {
  74.   imap_max_line_length = 16k
  75.   mail_plugins = $mail_plugins
  76.   imap_logout_format = bytes=%i/%o
  77.  imap_idle_notify_interval = 10 mins
  78.   imap_id_log = imapd
  79. }
  80.  
  81. protocol pop3 {
  82.   pop3_uidl_format = %08Xu%08Xv
  83.   pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
  84.   mail_plugins = $mail_plugins
  85. }
  86.  
  87. protocol sieve {
  88.   managesieve_max_line_length = 65536
  89.   mail_max_userip_connections = 10
  90.  managesieve_logout_format = bytes=%i/%o
  91. }
  92.  
  93. protocol lda {
  94.     postmaster_address = postmaster@localhost
  95.     quota_full_tempfail = yes
  96.     sendmail_path = /usr/sbin/sendmail
  97.     rejection_subject = Rejected: %s
  98.     rejection_reason = Your message to <%t> was automatically rejected:%n%r
  99.     lda_original_recipient_header =
  100.     mail_plugins = sieve
  101.     mail_plugins = quota
  102.     auth_socket_path = /var/run/dovecot/auth-userdb
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement