Am 17.04.2014 20:35, schrieb Wesley Huang:
Does anyone know how to disable the Director service. In our current running Dovecot 2.2.4, if the director configuration is commented out and Dovecot has no errors nor warnings. But the version 2.2.12 I'm testing with gives out fatal errors. We have dedicated Dovecot Director servers that serve the public frontend and separate dedicated imap/pop3 servers on the backend internal network. With the new version, Dovecot is always trying to start Director service and I couldn't find a way to stop Dovecot from giving out errors.
- When the entire Director configuration block is commented out, there errors:
dovecot: director: Fatal: No inet_listeners defined for director service (for standalone keep director_servers empty) dovecot: master: Error: service(director): command startup failed, throttling for 2 secs
you must have done something wrong, that below is a production "dobecont.conf" with no config-includes and such crap running as imap/pop3-proxy as well as postfix-auth-service and there is no single bit for director, that config runs at least 4 years unchanged, saw 2.2.12 also as it runs currently on 2.2.13 while the last real config cahnge was 1.x to 2.x
so what about post output of "dovecont -n" to help people helping you even do yourself a "dovecot -n | grep director"
# provided services protocols = imap pop3
# configure ssl ssl = yes ssl_cert =
# configure imap-proxy service imap-login { inet_listener imap { address = **.**.**.** port = 143 } inet_listener imaps { address = **.**.**.** port = 993 } vsz_limit = 64M service_count = 1 process_min_avail = 0 process_limit = 100 }
# configure pop3-proxy service pop3-login { inet_listener pop3 { address = **.**.**.** port = 110 } inet_listener pop3s { address = **.**.**.** port = 995 } vsz_limit = 64M service_count = 1 process_min_avail = 0 process_limit = 100 }
# default settings imap_capability = IMAP4 IMAP4rev1 ACL RIGHTS=texk NAMESPACE CHILDREN SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE login_greeting = login_log_format_elements = %u %r %m %k mail_max_userip_connections = 100 auth_mechanisms = CRAM-MD5 DIGEST-MD5 SCRAM-SHA-1 APOP LOGIN PLAIN disable_plaintext_auth = no shutdown_clients = no version_ignore = yes
# Logging syslog_facility = mail
# authentication process auth_worker_max_count = 50 auth_cache_size = 1024 auth_cache_ttl = 600 auth_cache_negative_ttl = 600 auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@% auth_username_translation = %@AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
# debug options auth_debug = no auth_debug_passwords = no auth_verbose = no mail_debug = no verbose_ssl = no
# configure proxy-database passdb { driver = sql args = /etc/dovecot/sql.conf }
# we are not using local users userdb { driver = static args = static uid=10000 gid=10000 home=/dev/null }
# configure backend for postfix sasl-auth service auth { unix_listener /var/spool/postfix/private/auth { mode = 0660 user = postfix group = postfix } }