On September 25, 2016 at 4:54 PM Christophe Bricout christophebricout@yahoo.fr wrote:
Dear All,
SUMMARY: Dovecot shows an issue when "localstatedir" path is too long The issue exists also with dovecot-2.2.25
CONFIGURATION: The configure options are:
./configure --prefix=${TARGET_DIR}
--sysconfdir=${TARGET_DIR}/cfg
--localstatedir=${TARGET_DIR}/var
--with-ssl=openssl
--with-sqlite
--disable-sharedRESULTS: When executing dovecot (as root), the followin message appears:
Error: service(dict): net_listen_unix(/<user>/localbin/minnowboard-turbot-applications/1.0/linux/x86_64-linux/localbin/dovecot/2.2.18/linux/x86_64-linux/var/run/dovecot/dict) failed: Value too large for defined data type Error: service(config): net_listen_unix(<user>/localbin/minnowboard-turbot-applications/1.0/linux/x86_64-linux/localbin/dovecot/2.2.18/linux/x86_64-linux/var/run/dovecot/config) failed: Value too large for defined data type
WORKAROUND: The problem is solved by defining shorten localstatedir or using base_dir = /var/run/dovecot.
It seems the path lengh causing a such issue. Path Lengh > 127
Available for additional experiments Best Regards
Hi!
Unix socket maximum path len is 108 characters. This is *nix limitation, not dovecot.
Aki Tuomi Dovecot oy