Broken pipe with own dict server. Timing issue?

2016-04-08 Thread martijn.list
Hi, I have created my own dict server (proxy:[]:) to access a proprietary database. The dict server basically creates a listing socket on a separate thread and then waits for incoming requests with accept(handle, NULL, 0). When a request comes in (i.e., when accept returns the accepted socket fd),

Re: Own implementation of a dict server. Is dict lookup multi threaded or single threaded?

2016-04-08 Thread Timo Sirainen
On 08 Apr 2016, at 09:19, martijn.list wrote: > > Hi, > > I have created my own dict server (proxy:[]: dict>) to access a proprietary database. > > What happens if the dict server lookup is slow? for example because the > lookup process takes some time? Looking at the code, there's a 30sec tim

Re: Broken pipe with own dict server. Timing issue?

2016-04-08 Thread Timo Sirainen
On 08 Apr 2016, at 11:08, martijn.list wrote: > > Hi, > > I have created my own dict server (proxy:[]: dict>) to access a proprietary database. The dict server basically > creates a listing socket on a separate thread and then waits for > incoming requests with accept(handle, NULL, 0). When a re

Re: Broken pipe with own dict server. Timing issue?

2016-04-08 Thread martijn.list
On 04/08/2016 10:38 AM, Timo Sirainen wrote: > On 08 Apr 2016, at 11:08, martijn.list > wrote: >> >> Hi, >> >> I have created my own dict server (proxy:[> path>]:) to access a proprietary database. The >> dict server basically creates a listing socket on a separate thread >> and then waits for i

Re: Intermittent IMAP Login failures - about 25% fail

2016-04-08 Thread Mobile Phone
SOLVED: Should anyone else run into this and debugging shows no issues, just random dovecot logins fails - there was a bad username stored. "pwck" showed it up. Only cost me 3 days On 7 April 2016 at 17:24, Timo Sirainen wrote: > On 07 Apr 2016, at 19:02, Mobile Phone wrote: > > > > pam(prtg.08

Re: Intermittent IMAP Login failures - about 25% fail

2016-04-08 Thread lists
I'm not getting a hit on "Dovecot pwck". Can you elaborate.   Original Message   From: Mobile Phone Sent: Friday, April 8, 2016 3:20 AM To: Dovecot Mailing List Reply To: supp...@eceb.co.uk Subject: Re: Intermittent IMAP Login failures - about 25% fail SOLVED: Should anyone else run into this and

Re: Intermittent IMAP Login failures - about 25% fail

2016-04-08 Thread Mobile Phone
Validating /etc/passwd & shadow: /usr/sbin/pwck On 8 April 2016 at 13:04, wrote: > I'm not getting a hit on "Dovecot pwck". Can you elaborate. > > Original Message > From: Mobile Phone > Sent: Friday, April 8, 2016 3:20 AM > To: Dovecot Mailing List > Reply To: supp...@eceb.co.uk > Subject: Re

Re: fts_solr: Lookup failed: 400 Bad Request / GET null null

2016-04-08 Thread Chris Laif
On Wed, Apr 6, 2016 at 9:27 PM, Timo Sirainen wrote: > On 05 Apr 2016, at 11:33, Chris Laif wrote: >> >> I've captured some requests and they look like this (some parts >> changed due to privacy concerns): >> >> GET >> /solr/select?fl=uid,score&rows=439&sort=uid+asc&q={!lucene+q.op%3dAND}hdr:%3c

Re: fts_solr: Lookup failed: 400 Bad Request / GET null null

2016-04-08 Thread Chris Laif
On Wed, Apr 6, 2016 at 9:27 PM, Timo Sirainen wrote: >> The total request size is 31708 bytes and it contains many (hundreds?) >> of 'OR hdrs' (side note: I wonder which client action triggers these >> kind of requests, maybe the user selected hundreds of mails for >> search?) > > I bet this is th

Fwd: Plus addressing on Sentora using Postfix

2016-04-08 Thread Philip McGaw
I am running Ubuntu 14.04.4 LTS “Trusty” and "postconf -d | grep mail_version” gives me “mail_version = 2.11.0”, with Dovecot 2.2.9 I have installed Sentora (http://sentora.org) which sets most of the configuration up for Postfix up, I have made some changes to allow me to use certificates for