Open Bangaio65 opened 4 years ago
I think it might be possible to communicate the IP to dovecot, but I think radicale does not expose that kind of information to auth plugins.
Ah that's too bad. I have switched to apache doing the authorization with mod_authnz_external and doveadm auth. Thanks for the reply.
Info: CentOS 7.8.2003 postfix 2.10.1 dovecot 2.2.36 radicale 3.0.3
I've been trying radicale in a test server, but I can't get the auth to work. After bashing my head for a while it dawned on me to enable on
auth_debug
in dovecot and finally realized why it doesn't work.I have it setup so that only some users can connect outside of the local network (defined in /etc/dovecot/remote_users). If they're not found there then it tries pam, but the issue is that it needs the remote ip to work (
allow_nets=127.0.0.0/8,192.168.1.0/24
). Since radicale doesn't provide it, it fails.Is there a way to pass the remote ip to dovecot?
dovecot log
dovecot config
radicale config