Re: [Dovecot] per-user quotas

2012-10-16 Thread David Mehler
Hello, Thanks for your replies so far. Still having issues with per-user quotas. To my Mysql virtual_users table I've added a column quota_kb and for a test user I've added in a value of 25 going for a 250 megabyte quota. I've tried various sql queries they're returning empty sets not

Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-16 Thread Timo Sirainen
On 16.10.2012, at 6.45, Dave Abrahams wrote: According to the IMAP spec if I do a search for TO isocpp.org it should find all the messages whose To: field contains the string isocpp.org, but dovecot is returning me an empty list. However, a search for TO t...@isocpp.org produces a long list

Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-16 Thread Timo Sirainen
On 16.10.2012, at 6.51, Dave Abrahams wrote: plugin { fts_lucene = whitespace_chars=@. } Do I also need plugin { fts = lucene } or are these mutually exclusive, or...? It's not clear from http://wiki2.dovecot.org/Plugins/FTS/Lucene fts setting selects which backend to use.

Re: [Dovecot] Maildir hardlinks

2012-10-16 Thread Benedetto Vassallo
Def. Quota Timo Sirainen t...@iki.fi: On 4.10.2012, at 16.00, Benedetto Vassallo wrote: All works fine, but with the new version it seems that dovecot don't do hardlinks when deliver a message to multiple users. The hard linking is done only when the directory permissions match.

Re: [Dovecot] /var/run/dovecot/auth-userdb failed

2012-10-16 Thread Fabrizio Monti
Thank you very much Daniel, I solved the problem. In this moment I have a problem with a maildir, I used a format /home/vmail/%d/%u and the first user make maildir he is owner /home/vmail/%d and second user don't make a maildir. Now, I look for the solution. Best regards. 2012/10/14 Daniel

Re: [Dovecot] Search for substring in header?

2012-10-16 Thread Frerich Raabe
Am 10/16/2012 12:20 AM, schrieb Dave Abrahams: on Mon Oct 15 2012, Michael M Slusarz slusarz-AT-curecanti.org wrote: Quoting Dave Abrahams d...@boostpro.com: on Mon Oct 15 2012, Dave Abrahams dave-AT-boostpro.com wrote: on Sun Oct 14 2012, Michael M Slusarz slusarz-AT-curecanti.org wrote:

Re: [Dovecot] Search for substring in header?

2012-10-16 Thread Dave Abrahams
on Tue Oct 16 2012, Frerich Raabe raabe-AT-froglogic.com wrote: Am 10/16/2012 12:20 AM, schrieb Dave Abrahams: on Mon Oct 15 2012, Michael M Slusarz slusarz-AT-curecanti.org wrote: Quoting Dave Abrahams d...@boostpro.com: on Mon Oct 15 2012, Dave Abrahams dave-AT-boostpro.com wrote: on

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-16 Thread Alessio Cecchi
Il 16/10/2012 02:35, Timo Sirainen ha scritto: On 13.10.2012, at 15.38, Alessio Cecchi wrote: Il 2012-10-02 21:28 Timo Sirainen ha scritto: On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at

[Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread tower
Hi A have a problem with quota2 table, working under postfixadmin. When I login into imap server with thunderbird client everything works fine, quota is update when i receive a message, but when I move message to trash or any other folder value for messages field in table quota2 increases +1

Re: [Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread Jack Bates
On 10/16/2012 8:39 AM, tower wrote: Hi A have a problem with quota2 table, working under postfixadmin. When I login into imap server with thunderbird client everything works fine, quota is update when i receive a message, but when I move message to trash or any other folder value for

Re: [Dovecot] CAS Authentication

2012-10-16 Thread de Lafond Guillaume
Hi, Hi.I'm very sorry for the repost but I forgot the subject. So, I'm using dovecot 2.0.18 and I'm trying to authenticate through a CAS server (until now authentication was through MS Active Directory). I could not find anywhere some examples, so here is what i have done so far. -install

Re: [Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread tower
On 10/16/2012 03:48 PM, Jack Bates wrote: On 10/16/2012 8:39 AM, tower wrote: Hi A have a problem with quota2 table, working under postfixadmin. When I login into imap server with thunderbird client everything works fine, quota is update when i receive a message, but when I move message to

Re: [Dovecot] Plugin hooks in login process

2012-10-16 Thread Simone Lazzaris
In data martedì 16 ottobre 2012 03:41:14, Timo Sirainen ha scritto: On 15.10.2012, at 16.13, Simone Lazzaris wrote: Problem is, if I execute the update on the backend, I miss the information regarding the original IP, as I only see the IP of the proxies. This is easy to solve: Set

[Dovecot] Per user quotas

2012-10-16 Thread David Travers
Hi All, I keep going round in circles with this. I have quotas up and running but would like to add a couple of per user exceptions but can't figure out how to do it! I am using Open Xchange community edition on top of dovecot and tha tis showing the 200MB limit, if I change it in the

Re: [Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread Jack Bates
On 10/16/2012 9:00 AM, tower wrote: Yes, now I see, that messages still is in folder from which I move it. In thunderbird I do drag and drop (FYI). Is there any switch in dovecot configuration which treats message as deleted from folder, from which I move that message? Not to my knowledge,

Re: [Dovecot] CAS Authentication

2012-10-16 Thread b m
Thanks for the reply. I have already tried successfully the setup without proxing the cas tickets and setting dovecot to login  with a master password. The problem is that I need a password file with all the users and also I need the proxy feature for other applications.

[Dovecot] real_rip variable addition for dovecot 2.1.10

2012-10-16 Thread Jack Bates
Timo, Please check the code. I didn't add it, but a real_lip might be useful for some people as well. Also, I notice that pop3-proxy is doing a different xsession than the imap proxy. Is there an xsession standard that is different between the two, or just an oversight in the code? Both send

Re: [Dovecot] LMTP userdb lookup

2012-10-16 Thread l...@airstreamcomm.net
On 10/4/12 9:58 AM, Timo Sirainen wrote: On 4.10.2012, at 17.41, l...@airstreamcomm.net wrote: protocol lmtp { userdb { .. } } protocol !lmtp { userdb { .. } } Forgot to mention I am running 2.0.17. The above works in v2.1. And I am getting the following error:

Re: [Dovecot] real_rip variable addition for dovecot 2.1.10

2012-10-16 Thread Jack Bates
Still have some problems with the patch. will have to research it more. Worked fine on localhost, but isn't logging at all for foreign hosts in a production environment. Jack On 10/16/2012 3:43 PM, Jack Bates wrote: Timo, Please check the code. I didn't add it, but a real_lip might be

[Dovecot] Difference between Indexing and Rescan in FTS

2012-10-16 Thread Fred Kilbourn
I've had squat running on dovecot 2.0 and have been updating all users mailbox indexes nighty via cron with this command: doveadm -v search -A text xyzzyx I've just updated to 2.1 and I'm migrating to lucene indexes, but reading the documentation I'm having a hard time understanding the

[Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-10-16 Thread Daniel Parthey
# 2.1.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-44-server x86_64 Ubuntu 10.04.4 LTS doveadm -c /etc/dovecot-director/dovecot-director.conf -D purge -A shows the following message in the log when iterating the 49th user: Oct 17 00:47:17 10.129.3.233 dovecot: doveadm: Error: purge: invalid

[Dovecot] how to best import Evolution/Thunderbird mail into dovecot?

2012-10-16 Thread Christoph Anton Mitterer
Hi. I'm migrating all my mail archive (some 60 GB) from Evolution (which is really a broken piece of software) into dovecot. Now I face the problem how to do this best... Evolution (which is still a old 2.32.x version) itself uses mbox files, in a special hierarchical structure to allow

Re: [Dovecot] real_rip variable addition for dovecot 2.1.10

2012-10-16 Thread Jack Bates
Umm, yeah. Setting your rsyslog to pipe certain IP matches to another file really screws things up when you change the log to include that IP. Hours of work before I figured out that it was logging just fine but to another file. lol Jack On 10/16/2012 5:51 PM, Jack Bates wrote: Still have

Re: [Dovecot] how to best import Evolution/Thunderbird mail into dovecot?

2012-10-16 Thread Christoph Anton Mitterer
Hi again... Things are even much much worse... (oh how I hate Evolution right now). I found a bug in Evolution, where it apparently corrupts all mail by incorrectly (not) quoting From_ lines in headers/bodies... It quotes lines matching ^From (.*)$ as From \1 but it does not quote at all

Re: [Dovecot] Difference between Indexing and Rescan in FTS

2012-10-16 Thread Jack Bates
On 10/16/2012 6:14 PM, Fred Kilbourn wrote: I've had squat running on dovecot 2.0 and have been updating all users mailbox indexes nighty via cron with this command: doveadm -v search -A text xyzzyx I've just updated to 2.1 and I'm migrating to lucene indexes, but reading the

Re: [Dovecot] Per user quotas

2012-10-16 Thread Jack Bates
On 10/16/2012 11:39 AM, David Travers wrote: Hi All, I keep going round in circles with this. I have quotas up and running but would like to add a couple of per user exceptions but can't figure out how to do it! I am using Open Xchange community edition on top of dovecot and tha tis showing

Re: [Dovecot] Difference between Indexing and Rescan in FTS

2012-10-16 Thread Fred Kilbourn
-Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Jack Bates Sent: Tuesday, October 16, 2012 9:44 PM To: dovecot@dovecot.org Subject: Re: [Dovecot] Difference between Indexing and Rescan in FTS On 10/16/2012 6:14 PM, Fred

Re: [Dovecot] Difference between Indexing and Rescan in FTS

2012-10-16 Thread Timo Sirainen
On 17.10.2012, at 2.14, Fred Kilbourn wrote: I've had squat running on dovecot 2.0 and have been updating all users mailbox indexes nighty via cron with this command: doveadm -v search -A text xyzzyx doveadm index is a bit more efficient. I've just updated to 2.1 and I'm migrating to