Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. My Test-Env Dovecot.conf:
  2. ==========================
  3.  
  4. protocols = imap
  5.  
  6. protocol imap {
  7. listen = *:143
  8. }
  9.  
  10. shutdown_clients = yes
  11. log_timestamp = "%Y-%m-%d %H:%M:%S "
  12. syslog_facility = mail
  13. login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
  14. login_log_format = %$: %s
  15. mail_location = maildir:~/
  16. mail_nfs_index=yes
  17. mail_nfs_storage=yes
  18. mmap_disable=yes
  19. mail_uid = 3001
  20. mail_gid = 3001
  21. mail_privileged_group = mail
  22. mail_debug = yes
  23. mail_log_prefix = "%Us(%u): "
  24. verbose_proctitle = yes
  25.  
  26. protocol managesieve {
  27. }
  28.  
  29. auth_verbose = yes
  30. auth_debug = yes
  31. auth_debug_passwords = yes
  32.  
  33. auth default {
  34. mechanisms = login plain digest-md5 cram-md5
  35. passdb sql {
  36. args = /etc/dovecot/dovecot-sql.conf
  37. }
  38.  
  39. userdb prefetch {
  40. }
  41.  
  42. }
  43.  
  44. dict {
  45. }
  46.  
  47. plugin {
  48.  
  49. }
  50.  
  51. ==============================================
  52.  
  53.  
  54. My dovecot-sql.conf
  55. ===================
  56.  
  57. driver = mysql
  58. connect = host=127.0.0.1 dbname=mytest user=my_user password=my_pw
  59. default_pass_scheme = CRYPT
  60.  
  61. password_query = \
  62. SELECT username AS user, password, \
  63. concat_ws('/',home,maildir) AS userdb_home,concat('*:messages=20000000:storage=',quota, 'M') as userdb_quota_rule, uid AS userdb_uid, gid AS userdb_gid \
  64. FROM plenty_system_mail_mailbox WHERE username = '%u'
  65.  
  66. ======================
  67. my Maildir
  68. ==========
  69.  
  70. ../Maildir/
  71. courierimapkeywords
  72. courierimapuiddb
  73. cur
  74. dovecot.index.cache
  75. dovecot-keywords
  76. dovecot-uidvalidity
  77. new
  78. tmp
  79. courierimapsubscribed
  80. courierpop3dsizelist
  81. dovecot.index
  82. dovecot.index.log
  83. dovecot-uidlist
  84. dovecot-uidvalidity.4e12f2f5
  85. subscriptions
  86. .Privat
  87. .Privat.Wife
  88. .Archive
  89. .Archive.2001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement