Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dovecote configuration file
- protocols = imap
- listen = *
- shutdown_clients = yes
- mail_uid = vmail
- mail_gid = vmail
- first_valid_uid = 5000
- last_valid_uid = 5000
- # Log files
- log_path = /var/log/dovecot.log
- log_timestamp = "%Y-%m-%d %H:%M:%S "
- # SSL
- ssl = yes
- ssl_cert = </etc/dovecot/certificate/dovecot.pem
- ssl_key = </etc/dovecot/certificate/dovecot.key
- # Расположение и формат файлов почты (%d - домен, %n - имя пользователя)
- mail_location = maildir:/home/vmail/%d/%n
- protocol lda {
- auth_socket_path = /var/run/dovecot/auth-master
- log_path = /home/vmail/dovecot-deliver.log
- mail_plugins = sieve
- postmaster_address = postmaster@mail.tritoniada.tk
- }
- namespace {
- inbox = yes
- location =
- prefix = INBOX.
- separator = .
- }
- passdb {
- args = /etc/dovecot/dovecot-sql.conf
- driver = sql
- }
- service auth {
- unix_listener /var/spool/postfix/private/auth {
- group = postfix
- mode = 0660
- user = postfix
- }
- unix_listener auth-master {
- mode = 0600
- user = vmail
- }
- user = root
- }
- userdb {
- args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
- driver = static
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement