<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>The others are on openSUSE 15.4 and macOS, all are binary installs</div><div><br></div><div>Entware build options</div><div>Build options: ioloop=epoll openssl io_block_size=8192</div><div>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">SQL drivers: mysql</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Passdb: checkpassword ldap passwd passwd-file shadow sql</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Userdb: checkpassword ldap passwd prefetch passwd-file sql</span></p><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div>macOS build options</div><div><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures;">Build options: ioloop=kqueue notify=kqueue openssl io_block_size=8192</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">SQL drivers: mysql</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Passdb: checkpassword pam passwd passwd-file sql</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Userdb: checkpassword passwd prefetch passwd-file sql</span></p></div><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures">openSUSE build options</span></div><div><span style="font-variant-ligatures: no-common-ligatures"><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures;">Build options: ioloop=epoll notify=inotify openssl io_block_size=8192</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">SQL driver plugins: mysql postgresql sqlite</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Passdb: checkpassword ldap pam passwd passwd-file shadow sql</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Userdb: checkpassword ldap(plugin) passwd prefetch passwd-file sql</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">The libz.so are for OpenSUSE and the QNap in the same directories withe the same permissions </span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">The macOS does not have a libz.so, this dovecot was build by macports.</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">All servers are running dovecot with the same user accounts.</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">At the moment I will look into this issue later and will try to authenticate without using</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">SSL.</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">On the MACs and openSUSE I authenticate using pam, the QNAP does not use pam</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">so I want to authenticate using a local password file, but I have problems to set it up correctly</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">I have changed it 10-auth.conf to use </span>auth-passwdfile.conf.ext and created a password file called userdb.</p><p style="margin: 0px; font-stretch: normal; line-height: normal;">I don’t know what else to change and what exactly should be in the userdb file.</p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;">The log only shows</p><p style="margin: 0px; font-stretch: normal; line-height: normal;">Mar 20 23:52:45 auth: Debug: auth client connected (pid=6966)</p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Mar 20 23:52:45 imap-login: Info: Disconnected: Aborted login by logging out (no auth attempts in 0 secs): user=<>, rip=192.168.117.5, lip=192.168.117.2, session=<AhJNZ1T3GcDAqHUF></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">I need to fix this first before I can enable SSL again.</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Maybe I should open a new threat </span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures">Horst</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Courier;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p></span></div></div><div><blockquote type="cite"><div><div><br>My suggests to look for:<br><br>1. Are your other servers setups installed from "Entware for QNAP" too?<br>2. Do your other servers have libz.so* located under /opt/lib/ too?<br>3. Did you compare owner and permissions of every libz.so* file between <br>servers too?<br>4. Are other servers running Dovecot with same user account?<br><br><br>El 20/3/23 a les 4:01, Horst Simon ha escrit:<br><blockquote type="cite">I try to logon to map using dovecot with SSL required. I get following <br>entries in the log:Mar 20 13:49:30 auth: Debug: Loading modules from <br>directory: /opt/lib/dovecot/modules/auth<br>Mar 20 13:49:30 auth: Debug: Module loaded: <br>/opt/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so<br>Mar 20 13:49:30 auth: Debug: Read auth token secret from <br>/opt/var/run/dovecot/auth-token-secret.dat<br>Mar 20 13:49:30 auth: Debug: passwd-file /opt/etc/dovecot/userdb:Read 1 <br>users in 0 secs<br>Mar 20 13:49:30 auth: Debug: auth client connected (pid=26120)<br>Mar 20 13:49:30 imap-login: Error: Failed to initialize SSL server <br>context: Can't load SSL certificate (ssl_cert setting): <br>error:12800067:DSO support routines::could not load the shared library: <br>filename(libz.so): libz.so: cannot open shared object file: No such file <br>or directory, error:12800067:DSO support routines::could not load the <br>shared library: user=<>, rip=192.168.117.5, lip=192.168.117.2, <br>session=<eX3e+Uv3k8DAqHUF><br>Mar 20 13:49:30 imap-login: Info: Disconnected: TLS initialization <br>failed. (no auth attempts in 0 secs): user=<>, rip=192.168.117.5, <br>lip=192.168.117.2, session=<eX3e+Uv3k8DAqHUF<br><br>The library files exist in the include directory<br>[/opt] # find . -name libz* -print<br><br>./lib/opkg/info/libzstd.control<br><br>./lib/opkg/info/libzstd.list<br><br>./lib/libz.so<br><br>./lib/libz.so.1<br><br>./lib/libz.so.1.2.13<br><br>./lib/libzstd.so<br><br>./lib/libzstd.so.1<br><br>./lib/libzstd.so.1.5.2<br><br>./lib/libz.a<br><br><br>Have the dovecot settings the same on other servers and it works, <br>Dovecot is v2.3.18, installed from Entware for QNAP. Any help?appreciated.<br><br>Horst<br><br><br><br></blockquote><br>-- <br><br>Narcis Garcia<br><br></div></div></blockquote></div><br></body></html>