Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ doveconf -n
- # 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
- # Pigeonhole version 0.4.13 (7b14904)
- # OS: Linux 4.4.0-34-generic x86_64 Ubuntu 16.04.1 LTS
- auth_mechanisms = plain login
- disable_plaintext_auth = no
- listen = *,[::]
- log_timestamp = "%Y-%m-%d %H:%M:%S "
- mail_max_userip_connections = 100
- mail_plugins = " quota"
- mail_privileged_group = vmail
- passdb {
- args = /etc/dovecot/dovecot-sql.conf
- driver = sql
- }
- plugin {
- antispam_backend = pipe
- antispam_debug_target = syslog
- antispam_pipe_program = /bin/bash
- antispam_pipe_program_args = /usr/local/bin/sa-learn-pipe-test.sh
- antispam_pipe_program_notspam_arg = --ham
- antispam_pipe_program_spam_arg = --spam
- antispam_pipe_tmpdir = /tmp
- antispam_spam_pattern_ignorecase = SPAM;JUNK
- antispam_trash_pattern_ignorecase = trash;Deleted *
- antispam_verbose_debug = 1
- quota = dict:user::file:/var/vmail/%d/%n/.quotausage
- quota_rule2 = Trash:storage=+100M
- quota_rule3 = Junk:ignore
- quota_rule4 = INBOX:storage=+100M
- quota_warning = storage=100%% quota-reached 100 %u %d
- quota_warning2 = storage=95%% quota-warning 95 %u %d
- quota_warning3 = storage=80%% quota-warning 80 %u %d
- quota_warning4 = -storage=100%% quota-below below %u %d
- sieve = /var/vmail/%d/%n/.sieve
- sieve_max_redirects = 25
- }
- postmaster_address = postmaster@example.org
- protocols = imap pop3
- service auth {
- unix_listener /var/spool/postfix/private/auth {
- group = postfix
- mode = 0660
- user = postfix
- }
- unix_listener auth-userdb {
- group = vmail
- mode = 0600
- user = vmail
- }
- user = root
- }
- service config {
- unix_listener config {
- group = vmail
- mode = 0600
- user = vmail
- }
- }
- service imap-login {
- client_limit = 1000
- process_limit = 512
- }
- service lmtp {
- unix_listener /var/spool/postfix/private/dovecot-lmtp {
- group = postfix
- mode = 0600
- user = postfix
- }
- }
- service quota-below {
- executable = script /usr/local/bin/quota-below.sh
- unix_listener quota-below {
- group = vmail
- mode = 0666
- user = vmail
- }
- user = vmail
- }
- service quota-reached {
- executable = script /usr/local/bin/quota-reached.sh
- unix_listener quota-reached {
- group = vmail
- mode = 0666
- user = vmail
- }
- user = vmail
- }
- service quota-warning {
- executable = script /usr/local/bin/quota-warning.sh
- unix_listener quota-warning {
- group = vmail
- mode = 0666
- user = vmail
- }
- user = vmail
- }
- ssl_cert = </etc/postfix/smtpd.cert
- ssl_key = </etc/postfix/smtpd.key
- ssl_protocols = !SSLv2 !SSLv3
- userdb {
- driver = prefetch
- }
- userdb {
- args = /etc/dovecot/dovecot-sql.conf
- driver = sql
- }
- protocol imap {
- mail_plugins = quota imap_quota antispam
- }
- protocol pop3 {
- mail_plugins = quota
- pop3_uidl_format = %08Xu%08Xv
- }
- protocol lda {
- info_log_path = /var/log/dovecot-lda.log
- log_path = /var/log/dovecot-lda-errors.log
- mail_plugins = sieve quota
- }
- protocol lmtp {
- mail_plugins = quota sieve
- postmaster_address = webmaster@localhost
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement