Marc Roos
2019-Nov-11 12:59 UTC
Proxy testing in container( chown failed /var/dovecot/login)
I am testing a bit with the proxy, and trying to run dovecot as a normal user. (with cap bind_service). I was wondering what the minimum configuration is for running like a proxy. I am now getting issues like unable to chown on /var/dovecot/login, but I do not need this in such a setup do I? passdb { driver = static args = proxy=y host=192.168.11.10 nopassword=y }
Aki Tuomi
2019-Nov-11 13:03 UTC
Proxy testing in container( chown failed /var/dovecot/login)
You should probably disable chrooting for login services if you are running as non-root... service imap-login { ?chroot } Aki On 11.11.2019 14.59, Marc Roos via dovecot wrote:> I am testing a bit with the proxy, and trying to run dovecot as a normal > user. (with cap bind_service). I was wondering what the minimum > configuration is for running like a proxy. > > I am now getting issues like unable to chown on /var/dovecot/login, but > I do not need this in such a setup do I? > > passdb { > driver = static > args = proxy=y host=192.168.11.10 nopassword=y > } > > >
Marc Roos
2019-Nov-11 13:50 UTC
Proxy testing in container( chown failed /var/dovecot/login)
I added this to the 10-master imap-login, pop3-login and submission-login, but keep this message Doveconf still lists imap-urlauth-login with chroot = token-login, also when changing this one to chroot = the error persists. Fatal: fchown() failed for /var/dovecot/login: Operation not permitted -----Original Message----- Subject: Re: Proxy testing in container( chown failed /var/dovecot/login) You should probably disable chrooting for login services if you are running as non-root... service imap-login { ?chroot } Aki On 11.11.2019 14.59, Marc Roos via dovecot wrote:> I am testing a bit with the proxy, and trying to run dovecot as a > normal user. (with cap bind_service). I was wondering what the minimum> configuration is for running like a proxy. > > I am now getting issues like unable to chown on /var/dovecot/login, > but I do not need this in such a setup do I? > > passdb { > driver = static > args = proxy=y host=192.168.11.10 nopassword=y } > > >
Reasonably Related Threads
- Proxy testing in container( chown failed /var/dovecot/login)
- Proxy testing in container( chown failed /var/dovecot/login)
- Catch all for dovecot authentication?
- Dovecot proxy: authentication best practices
- Dovecot proxy with ldap, complains about 'host not given'