Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 2.2.13: /etc/dovecot/dovecot.conf
- # OS: Linux 3.14.14-gentoo x86_64 Gentoo Base System release 2.2
- auth_mechanisms = plain login
- auth_verbose = yes
- disable_plaintext_auth = no
- mail_location = mbox:~/mail:INBOX=/var/mail/%u
- mail_privileged_group = mail
- passdb {
- args = scheme=plain-md5 username_format=%u /etc/dovecot/passwddir/%d/passwd
- driver = passwd-file
- }
- plugin {
- autocreate = Trash
- autocreate2 = Sent
- autosubscribe = Trash
- autosubscribe2 = Sent
- autosubscribe3 = INBOX
- }
- protocols = imap
- service auth {
- unix_listener /var/spool/postfix/private/auth {
- group = postfix
- mode = 0660
- user = postfix
- }
- }
- ssl = required
- ssl_cert = </etc/ssl/certs/dovecot.pem
- ssl_key = </etc/ssl/private/dovecot.pem
- userdb {
- args = username_format=%u /etc/dovecot/passwddir/%d/passwd
- default_fields = uid=5000 gid=5000
- driver = passwd-file
- }
- protocol imap {
- mail_plugins = " autocreate"
- }
- #######################################à
- /etc/dovecot/passwddir/mydomain.tld/passwd
- 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