Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/dovecot/dovecot.conf
- # 2.0.9: dovecot.conf
- # OS: Linux 2.6.37-gen1 i686 Gentoo Base System release 2.0.1-r1 ext4
- auth_debug = no
- auth_debug_passwords = no
- auth_mechanisms = plain login cram-md5 digest-md5
- disable_plaintext_auth = yes
- auth_default_realm = DOMENA.COM
- default_internal_user = vpopmail
- default_login_user = vpopmail
- auth_verbose = no
- verbose_ssl = no
- base_dir = /var/run/dovecot/
- first_valid_uid = 1
- info_log_path = /var/log/dovecot/dovecot.log
- last_valid_uid = 89
- listen = *
- log_path = /var/log/dovecot/dovecot-mail.log
- login_log_format_elements = pl
- mail_debug = yes
- mail_location = maildir:/home/domains/%d/%n/.maildir
- mail_privileged_group = vpopmail
- mail_uid = 89
- mail_gid = 89
- first_valid_uid = 89
- last_valid_uid = 89
- first_valid_gid = 89
- last_valid_gid = 89
- passdb {
- args = /etc/dovecot/dovecot-sqlx.conf
- driver = sql
- }
- userdb {
- args = /etc/dovecot/dovecot-sqlx.conf
- driver = sql
- }
- #passdb {
- # driver = vpopmail
- #}
- #userdb {
- # driver = vpopmail
- # args = quota_template=quota_rule=*:backend=%q
- #}
- plugin {
- quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
- quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
- quota = maildir:User quota
- # quota_rule = *:storage=268435456B
- # 10% of 1GB = 100MB
- quota_rule2 = Trash:storage=10%%
- # 20% of 1GB = 200MB
- quota_rule3 = Spam:storage=20%%
- sieve = ~/.dovecot.sieve
- sieve_dir = ~/sieve
- sieve_global_dir = /etc/dovecot/sieve
- sieve_extensions = +spamtest +spamtestplus +relational +comparator-i;ascii-numeric
- sieve_before = /etc/dovecot/sieve
- sieve_after = /etc/dovecot/aftersieve
- autocreate = Sent
- autocreate2 = Drafts
- autocreate3 = Archive
- autocreate4 = Junk
- autocreate5 = Trash
- autocreate6 = Spam
- autosubscribe = Sent
- autosubscribe2 = Drafts
- autosubscribe3 = Archive
- autosubscribe4 = Junk
- autosubscribe5 = Trash
- autosubscribe6 = Spam
- }
- protocols = imap sieve pop3
- service auth {
- unix_listener auth-master {
- mode = 0666
- user = vpopmail # User running dovecot-lda
- group = vpopmail
- }
- unix_listener auth-userdb {
- mode = 0666
- user = vpopmail # User running dovecot-lda
- group = vpopmail
- }
- # unix_listener auth-client {
- # path = /var/spool/postfix/private/auth
- # mode = 0660
- # user = postfix
- # group = postfix
- # }
- }
- service auth-worker {
- user = vpopmail
- }
- service imap-login {
- chroot = login
- client_limit = 32
- process_limit = 16
- process_min_avail = 2
- service_count = 1
- }
- service managesieve-login {
- chroot = login
- client_limit = 32
- process_limit = 16
- process_min_avail = 2
- service_count = 1
- }
- service pop3-login {
- chroot = login
- client_limit = 32
- process_limit = 16
- inet_listener pop3 {
- }
- process_limit = 24
- process_min_avail = 2
- service_count = 1
- }
- ssl_cert = </etc/ssl/dovecot/server.pem
- ssl_key = </etc/ssl/dovecot/server.key
- protocol imap {
- imap_max_line_length = 16k
- mail_plugins = quota autocreate imap_quota
- imap_logout_format = bytes=%i/%o
- imap_idle_notify_interval = 10 mins
- imap_id_log = imapd
- }
- protocol pop3 {
- pop3_uidl_format = %08Xu%08Xv
- pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
- mail_plugins = quota
- }
- protocol sieve {
- managesieve_max_line_length = 65536
- mail_max_userip_connections = 10
- managesieve_logout_format = bytes=%i/%o
- }
- protocol lda {
- postmaster_address = postmaster@DOMENA.COM
- hostname = DOMENA.COM
- quota_full_tempfail = yes
- sendmail_path = /var/qmail/bin/sendmail
- rejection_subject = Rejected: %s
- rejection_reason = Your message to <%t> was automatically rejected:%n%r
- lda_original_recipient_header =
- mail_plugins = sieve quota autocreate
- auth_socket_path = /var/run/dovecot/auth-userdb
- info_log_path = /var/log/dovecot/infolda-dovecot.log
- log_path = /var/log/dovecot/lda-dovecot.log
- lda_mailbox_autocreate = yes
- lda_mailbox_autosubscribe = yes
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement