Re: IMAP preauth and stats-writer

2019-01-16 Thread Mark Hills
Hi, many thanks for the quick replies and patch. So quick that I'm not able to respond in the same timeframe. Yes, I am working with FreeBSD pre-built packages; I still intend check out the ports from svn or do my own build, but have not had time yet. To answer specific question: On Sun, 6

auth-worker: Error: double free or corruption (fasttop)

2019-01-16 Thread Marcel Lorenz
Dear list, since the distri upgrade to glibc 2.28, i can't build working dovecot binary's. Older with glibc 2.27 are working. The distri is LFS based. MariaDB 10.2.18 and 10.3.11 makes no difference. Having this on different systems. Messages Log: Dec 19 17:10:38 test kernel: traps:

Re: Dovecot + Weakforced Policy server

2019-01-16 Thread alberto bersol
Sorry, yes, I did miss the closing quote. Now, It not show auth error already, It shows an Wforced Exception: Exception in command [report] exception: Unable to convert presentation address '' But, it's no problem of Dovecot, I suppose... ;-) Thanks El 16/01/19 a las 11:11, Aki Tuomi

Repetitive indexing nd LOCK WRITE error

2019-01-16 Thread Joan Moreau via dovecot
Hi, Monitoring the Xapian plugin, I notice that dovecot is re-indexing multiple times the same Inbox for no apparent reason (not the last email received but the whole mailbox, LAST UID being properly returned (with the confusion already discussed) ) : Why so ? Also, I get a LOCK on the

Re: Dovecot + Weakforced Policy server

2019-01-16 Thread Aki Tuomi
Did you miss the closing quote from api_header? Also, can you turn on auth_debug=yes? Aki > On 16 January 2019 at 12:05 alberto bersol wrote: > > > Hi Aki, > > I've configured in this way: > > vm-weakforced:~# printf 'wforce:super' | base64 > d2ZvcmNlOnN1cGVy > > vm-weakforced:~# cat

Re: Dovecot + Weakforced Policy server

2019-01-16 Thread alberto bersol
Hi Aki, I've configured in this way: vm-weakforced:~# printf 'wforce:super' | base64 d2ZvcmNlOnN1cGVy vm-weakforced:~# cat /etc/dovecot/conf.d/95-policy.conf auth_policy_server_url = http://localhost:8084/ auth_policy_hash_nonce = some random string auth_policy_server_api_header =

Re: Dovecot + Weakforced Policy server

2019-01-16 Thread Aki Tuomi
Hi! You configure it like this: auth_policy_server_url = http://localhost:8084/ auth_policy_hash_nonce = some random string auth_policy_server_api_header = "Authorization: Basic d2ZvcmNlOkJydHpUNlRuTkZ4UUU=" the authorization blob is basically printf 'wforce:super' | base64 Aki > On 16

Dovecot + Weakforced Policy server

2019-01-16 Thread alberto bersol
Hi, I'm trying to set Weakforced with Dovecot and I cannot log in policy server. This is the config: /root/weakforced/wforce/wforce.conf --- ... webserver("0.0.0.0:8084", "super") ... /etc/dovecot/conf.d/95-policy.conf --