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 ofwforce: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
> On 13 May 2019 18:54 Tobi via dovecot <dovecot at 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 > > tobiCould you provide output of 'doveconf -n'? Also, any auth policy interaction should be logged with auth_debug=yes. Aki
> Also, any auth policy interaction should be logged with auth_debug=yesafter I enabled that in 10-logging.conf and it did not show any more loglines I realized that this is a very old box (loads of karma) which likes to have all its config in /etc/dovecot/dovecot.conf :-) So after setting the auth policy settings in dovecot.conf it works like charm :-) Cheers tobi Am 13.05.19 um 18:12 schrieb Aki Tuomi:> >> On 13 May 2019 18:54 Tobi via dovecot <dovecot at 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 >
Possibly Parallel Threads
- dovecot 2.2.36 and wforce
- how to enable PowerDNS/Weakforced with Fedora and sendmail
- how to enable PowerDNS/Weakforced with Fedora and sendmail
- how to enable PowerDNS/Weakforced with Fedora and sendmail
- how to enable PowerDNS/Weakforced with Fedora and sendmail