protocols = imap imaps pop3 pop3s
log_timestamp = '%Y-%m-%d %H:%M:%S'
mail_location = maildir:/var/zpanel/vmail/%d/%n
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
auth default {
mechanisms = plain login
user = root
passdb sql {
args = /etc/postfix/dovecot-sql.conf
}
userdb sql {
args = /etc/postfix/dovecot-sql.conf
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
plugin {
#quota = maildir:storage=10240:messages=1000
#acl = vfile:/etc/dovecot/acls
trash = /etc/postfix/dovecot-trash.conf
}