On 13 May 2019 18:54 Tobi via dovecot <dovecot@dovecot.org> wrote:
Hi list
I'm trying to setup dovecot 2.2.36 on a Centos6 to communicate with a wforce daemon on the remote side. wforce is latest released from git repo. Daemon part is working and I can successfully send queries from remote systems to wforce via curl
For dovecot I configured in /etc/dovecot/conf.d/95-wforce.conf
auth_policy_server_url = http://REMOTE_IP:8084/ auth_policy_hash_nonce = my_random auth_policy_server_api_header = Authorization: Basic <BASE64 of wforce:my_password> auth_policy_request_attributes = login=%{requested_username} pwhash=%{hashed_password} remote=%{rip} device_id=%{client_id} protocol=%s
restarted dovecot without errors, but upon testing via imap I cannot see just one single tcp paket leaving direction REMOTE_IP on port 8084. It looks like auth policy in not involved at all.
Thanks for any idea
tobi
Could you provide output of 'doveconf -n'? Also, any auth policy interaction should be logged with auth_debug=yes.
Aki