diff --git a/wheezy/95_alternc.conf b/wheezy/95_alternc.conf index 8cda78d0..c4d66687 100644 --- a/wheezy/95_alternc.conf +++ b/wheezy/95_alternc.conf @@ -9,6 +9,8 @@ protocols = imap pop3 sieve +default_process_limit = 1000 + ## ------------------------------------------------------------------------- ## 10-auth @@ -189,12 +191,22 @@ protocol imap { # list of plugins to load. mail_plugins = quota imap_quota #mail_plugin_dir = /usr/lib/dovecot/modules/imap + mail_max_userip_connections = 500 } service imap { - executable = /usr/lib/alternc/popimap-log-login.sh /usr/lib/dovecot/imap + executable = imap imap-postlogin + vsz_limit = 512M } +service imap-postlogin { + executable = script-login /usr/lib/alternc/popimap-log-login.sh + # the script process runs as the user specified here (v2.0.14+): +# user = $default_internal_user + # this UNIX socket listener must use the same name as given to imap executable + unix_listener imap-postlogin { + } +} # ---------------------------------------------------------------------------- # 20-managesieve.conf