Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 2.0.19: /etc/dovecot/dovecot.conf
- # OS: Linux 2.6.32-042stab076.8 x86_64 Ubuntu 12.04.2 LTS
- auth_mechanisms = plain login
- disable_plaintext_auth = no
- listen = *,[::]
- log_timestamp = "%Y-%m-%d %H:%M:%S "
- mail_debug = yes
- mail_privileged_group = vmail
- managesieve_notify_capability = mailto
- managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
- 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/bin/sa-learn-pipe.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=95%% quota-warning 95 %u %d
- quota_warning2 = storage=80%% quota-warning 80 %u %d
- quota_warning3 = -storage=100%% quota-below below %u %d
- sieve = /var/vmail/%d/%n/.sieve
- }
- protocols = imap pop3 sieve
- 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 quota-below {
- executable = script /usr/local/bin/quota-below.sh
- unix_listener quota-below {
- 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
- 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 =
- log_path =
- mail_plugins = sieve quota
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement