[Dovecot] Connection closed by foreign host.

Michael Cramer michael at bigmichi1.de
Thu Jun 13 09:16:01 EEST 2013


Zitat von Timo Sirainen <tss at iki.fi>:

> On 13.6.2013, at 7.37, Michael Cramer <michael at bigmichi1.de> wrote:
>
>>>> 3 LIST () "" (*)
>>>> Connection closed by foreign host.
>>>>
>>>> the command with number 3 results everytime in a connection closed. i
>>>> turned on debug_log but nothing is shown there.
>>>
>>> doveconf -n output?
>>
>> sorry forgot that part to post
>>
>> root at i920:/srv/www/horde.bigmichi1.de/conf# doveconf -n
>> # 2.2.2 (45399357008a): /etc/dovecot/dovecot.conf
>> # OS: Linux 3.8.0-23-generic x86_64 Ubuntu 13.04 ext4
> ..
>> mdbox_preallocate_space = yes
>>    user = postfix
>>  }
>
> That seems to be missing a (big?) part in here. I was mainly  
> wondering what namespace configs you have?
>
> Oh and BTW:
>
>> mail_location =  
>> mdbox:/srv/vmail/mail/%d/%n:INDEXPVT=/srv/vmail/indexes/private/%d/%n:INDEX=/srv/vmail/indexes/shared/%d/%n
>
> You don't need INDEXPVT for your own mails, only for the shared namespaces.

now the full conf

# 2.2.2 (45399357008a): /etc/dovecot/dovecot.conf
# OS: Linux 3.8.0-23-generic x86_64 Ubuntu 13.04 ext4
auth_mechanisms = plain login
debug_log_path = /var/log/dovecot/debug.log
dict {
   acl = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
   expire = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
   quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
first_valid_gid = 8
first_valid_uid = 8
info_log_path = /var/log/dovecot/info.log
last_valid_gid = 8
last_valid_uid = 8
log_path = /var/log/dovecot/error.log
mail_debug = yes
mail_gid = 8
mail_location =  
mdbox:/srv/vmail/mail/%d/%n:INDEXPVT=/srv/vmail/indexes/private/%d/%n:INDEX=/srv/vmail/indexes/shared/%d/%n
mail_plugins = quota zlib acl expire virtual
mail_uid = 8
mailbox_list_index = yes
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 imapflags notify
mdbox_preallocate_space = yes
mdbox_rotate_size = 10 M
namespace {
   list = children
   location =  
mdbox:/srv/vmail/mail/%%d/%%n:INDEXPVT=/srv/vmail/indexes/private/%d/%n/shared/%%u:INDEX=/srv/vmail/indexes/shared/%d/%n/shared/%%u
   prefix = Shared/%%u/
   separator = /
   subscriptions = no
   type = shared
}
namespace inbox {
   inbox = yes
   location =
   mailbox Archive {
     auto = subscribe
     special_use = \Archive
   }
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox Spam {
     auto = subscribe
     special_use = \Junk
   }
   mailbox Trash {
     auto = subscribe
     special_use = \Trash
   }
   mailbox virtual/All {
     auto = subscribe
     special_use = \All
   }
   mailbox virtual/Flagged {
     auto = subscribe
     special_use = \Flagged
   }
   prefix =
   separator = /
   type = private
}
namespace virtual {
   location =  
virtual:/srv/vmail/virtual:INDEXPVT=/srv/vmail/indexes/private/%d/%n/virtual:INDEX=/srv/vmail/indexes/shared/%d/%n/virtual
   prefix = virtual/
   separator = /
}
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   acl = vfile:/srv/vmail/acl:cache_secs=300
   acl_anyone = allow
   acl_shared_dict = proxy::acl
   expire = Trash 7 Trash/* 7 Spam 30
   expire_dict = proxy::expire
   quota = dict:User quota::proxy::quota
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=80%% quota-warning 80 %u
   quota_warning3 = -storage=100%% quota-warning below %u
   sieve = /srv/vmail/sieve/%d/%n/.dovecot.sieve
   sieve_default = /srv/vmail/sieve/default.sieve
   sieve_dir = /srv/vmail/sieve/%d/%n/
   sieve_extensions = +notify +imapflags
   sieve_global_dir = /srv/vmail/sieve/global
}
postmaster_address = postmaster at bigmichi1.de
protocols = " imap sieve"
service auth-worker {
   user = $default_internal_user
}
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
   unix_listener auth-userdb {
     group = mail
     mode = 0666
     user = mail
   }
}
service dict {
   unix_listener dict {
     group = mail
     mode = 0660
     user = mail
   }
}
service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   unix_listener quota-warning {
     user = mail
   }
   user = dovecot
}
ssl_cert = </srv/ssl/ssl-unified.crt
ssl_key = </srv/ssl/ssl-decrypted.key
userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
protocol lda {
   debug_log_path = /var/log/dovecot/deliver-debug.log
   info_log_path = /var/log/dovecot/deliver-info.log
   log_path = /var/log/dovecot/deliver-errors.log
   mail_plugins = quota zlib acl expire virtual sieve
}
protocol imap {
   mail_plugins = quota zlib acl expire virtual imap_quota imap_acl imap_zlib
}




More information about the dovecot mailing list