Re: [Dovecot] Turning on autocreate of maildirs - how?

2014-03-12 Thread Graham Leggett
On 12 Mar 2014, at 8:23 AM, Steffen Kaiser wrote: > What's your UserDB? In some message you've mentioned LDAP. With "Attribute > templates" you can prefix the location with "maildir:". If you do not return > mail in the userdb, the global mail_location is used. Turns out this was the key - wh

Re: [Dovecot] Struggling with antispam

2014-03-12 Thread Alan Chandler
On 12/03/14 21:43, Gedalya wrote: On 03/12/2014 05:35 PM, Alan Chandler wrote: cat<&0 >> tmp/dspam-train.log missing leading / .. also, just cat >> /tmp/dspam-train.log would work, you don't need to redirect what is already your input. Thanks that solved that and indeed my training messag

Re: [Dovecot] Struggling with antispam

2014-03-12 Thread Gedalya
On 03/12/2014 05:35 PM, Alan Chandler wrote: cat<&0 >> tmp/dspam-train.log missing leading / .. also, just cat >> /tmp/dspam-train.log would work, you don't need to redirect what is already your input.

Re: [Dovecot] Struggling with antispam

2014-03-12 Thread Alan Chandler
On 06/03/14 07:59, Alan Chandler wrote: On 06/03/14 07:48, Alan Chandler wrote: However, when I try to make this work with anitspam, I keep getting failure, and I can't work out what is causing it. Maybe its again because I am running with uid 10001 when calling sendmail but I don't know.

[Dovecot] Connection refused userdb lookup ..dovecot/auth-userdb

2014-03-12 Thread Simon
Hi There, Ive taken a look at this and cant quite figure out what is going on here. I have tested all the SQL permissions, and also changed the unix_listener auth-userdb mode to 0666 (as instructed elsewhere to try and solve this issue), but cannot seem to work out what the issue is. Would so

Re: [Dovecot] Disable/patch iOS7 Full Body Search

2014-03-12 Thread Mike Abbott
In traversing this thread I see a few different issues being reported. In no particular order I see: [Nicholas Riley] > iOS Mail still opens lots of simultaneous IMAP connections, eventually > complains about not being able to contact the server, and doesn't seem to do > anything that uses Dov

[Dovecot] Mail server input error: UPDATE-SESSION

2014-03-12 Thread Stéphane Cottin
Hello, After upgrading to 2.2.12 and adding stats plugin, got a lot of errors like this : stats: Error: Mail server input error: UPDATE-SESSION x...@xyz.xyz imap: stats shrank: mcache 900988905 < 1039472051 Stéphane dovecot.conf Description: Binary data

[Dovecot] Finding memory leaks

2014-03-12 Thread Philipp Brüll
Hello, I try to find a memory leak in a dovecot plugin that I develop. In order to find it, it would be helpful to print the total amount of memory that is currently allocated. This print could than spread over the source code and the memory consumption can be tracked. I've tried i_debug("po

Re: [Dovecot] dovecot 2.2.9 replication

2014-03-12 Thread Charles Marcus
On 3/12/2014 9:00 AM, Костырев Александр Алексеевич wrote: Good afternoon, I have a problem with replication is configured in Dovecot, I have two servers, they are version 2.2.9. Here is their configuration /root@mx1:/etc/dovecot# dovecot -n// //# 2.2.9: /etc/dovecot/dovecot.conf// What's with

Re: [Dovecot] dovecot 2.2.9 replication

2014-03-12 Thread Костырев Александр Алексеевич
I didn't get it. What's wrong ? What's not working? -Original Message- From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Франчук Олег Sent: Wednesday, March 12, 2014 10:37 PM To: dovecot@dovecot.org Subject: [Dovecot] dovecot 2.2.9 replication Good afternoon, I have a proble

Re: [Dovecot] Disable/patch iOS7 Full Body Search

2014-03-12 Thread Charles Marcus
On 3/11/2014 7:03 PM, Nicholas Riley wrote: In article , Chris Laif wrote: Hi, I wonder if anyone has done some research on this subject. Apple users are complaining loudly [1] about being not able to search the inbox since Apple did not change the brain-dead full-body-search-behaviour in i

[Dovecot] dovecot 2.2.9 replication

2014-03-12 Thread Франчук Олег
<>

Re: [Dovecot] Disable/patch iOS7 Full Body Search

2014-03-12 Thread Chris Laif
Nicholas, I think the problem has nothing to do with the number of connections iOS7 opens to the server.I do not get any warnings about too many connections and the problem still persists. I think the problem is the way iOS7 builds the search request (pure sub-string search vs. fuzzy search, see

[Dovecot] Finding memory leaks

2014-03-12 Thread Philipp Brüll
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I try to find a memory leak in a dovecot plugin that I develop. In order to find it, it would be helpful to print the total amount of memory that is currently allocated. This print could than spread over the source code and the memory consumpti

Re: [Dovecot] Doveadm?

2014-03-12 Thread Tommy Berglund
2014-03-11 20:41, Gedalya skrev: doveadm search -u jane@example.org mailbox INBOX | cut -d" " -f2 | head -n -200 | tr '\n' , | xargs -n1 doveadm expunge -u jane@example.org mailbox INBOX uid basically, get all uid's and use head to cut out all but the last 200, turn that into a comma sep