--- /etc/dovecot.conf.orig Thu May 5 02:12:20 2011 +++ /etc/dovecot.conf Sat May 7 14:38:37 2011 @@ -21,6 +21,7 @@ base_dir = /var/dovecot/ # Protocols we want to be serving: imap imaps pop3 pop3s managesieve # If you only want to use dovecot-auth, you can set this to "none". #protocols = imap imaps +protocols = imap imaps # A space separated list of IP or host addresses where to listen in for # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6 @@ -42,8 +43,13 @@ base_dir = /var/dovecot/ # listen = *:12000 # .. # } -listen = *, [::] +protocol imap { +listen = *:[MY CUSTOM IMAP PORT] +ssl_listen = *:[MY CUSTOM IMAPS PORT] +} +#listen = *, [::] + # Disable LOGIN command and all other plaintext authentications unless # SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP # matches the local IP (ie. you're connecting from the same computer), the @@ -89,7 +95,7 @@ disable_plaintext_auth = yes #ssl_listen = # SSL/TLS support: yes, no, required. -#ssl = yes +ssl = yes # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before # dropping root privileges, so keep the key file unreadable by anyone but @@ -171,6 +177,7 @@ login_user = _dovecot # of them are used at the time, we double their amount until the limit set by # this setting is reached. #login_max_processes_count = 128 +login_max_processes_count = 25 # Maximum number of connections allowed per each login process. This setting # is used only if login_process_per_connection=no. Once the limit is reached, @@ -225,6 +232,7 @@ login_user = _dovecot # # #mail_location = +mail_location = maildir:~/Maildir # If you need to set multiple mailbox locations or want to change default # namespace settings, you can do it by defining namespace sections. @@ -392,6 +400,7 @@ mmap_disable = yes # Maximum number of running mail processes. When this limit is reached, # new users aren't allowed to log in. #max_mail_processes = 512 +max_mail_processes = 48 # Set max. process size in megabytes. Most of the memory goes to mmap()ing # files, so it shouldn't harm much even if this limit is set pretty high. @@ -1105,7 +1114,7 @@ auth default { #ssl_username_from_cert = no # It's possible to export the authentication interface to other programs: - #socket listen { + socket listen { #master { # Master socket provides access to userdb information. It's typically # used to give Dovecot's local delivery agent access to userdb so it @@ -1123,7 +1132,13 @@ auth default { #path = /var/run/dovecot/auth-client #mode = 0660 #} - #} + client { + path = /var/spool/postfix/private/auth + mode = 0660 + user = _postfix + group = _postfix + } + } } # If you wish to use another authentication server than dovecot-auth, you can