Advertisement
Guest User

Untitled

a guest
Oct 12th, 2014
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. # 2.2.13: /etc/dovecot/dovecot.conf
  2. # OS: Linux 3.14.14-gentoo x86_64 Gentoo Base System release 2.2
  3. auth_mechanisms = plain login
  4. auth_verbose = yes
  5. disable_plaintext_auth = no
  6. mail_location = mbox:~/mail:INBOX=/var/mail/%u
  7. mail_privileged_group = mail
  8. passdb {
  9. args = scheme=plain-md5 username_format=%u /etc/dovecot/passwddir/%d/passwd
  10. driver = passwd-file
  11. }
  12. plugin {
  13. autocreate = Trash
  14. autocreate2 = Sent
  15. autosubscribe = Trash
  16. autosubscribe2 = Sent
  17. autosubscribe3 = INBOX
  18. }
  19. protocols = imap
  20. service auth {
  21. unix_listener /var/spool/postfix/private/auth {
  22. group = postfix
  23. mode = 0660
  24. user = postfix
  25. }
  26. }
  27. ssl = required
  28. ssl_cert = </etc/ssl/certs/dovecot.pem
  29. ssl_key = </etc/ssl/private/dovecot.pem
  30. userdb {
  31. args = username_format=%u /etc/dovecot/passwddir/%d/passwd
  32. default_fields = uid=5000 gid=5000
  33. driver = passwd-file
  34. }
  35. protocol imap {
  36. mail_plugins = " autocreate"
  37. }
  38.  
  39.  
  40. #######################################à
  41. /etc/dovecot/passwddir/mydomain.tld/passwd
  42. vuser@mydomain.tld:{PLAIN-MD5}$MD5PASS:5000:5000::/var/mail/vhosts/mydomain.tld/vuser_maildir:/bin/false:mail_location=mbox:~/mail:INBOX=/var/mail/vhosts/mydomain.tld/vuser
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement