[Dovecot] stats: duration of sessions, commands

2013-03-31 Thread Lutz Preßler
Hello Timo, I would like to have reset_timestamp (or another field) in stats dump output of levels session and command. Both session duration and individual command execution times would be interesting data to have. Greetings, Lutz

Re: [Dovecot] Dovecot 2.2rc3 Client Cert Auth and Webmail -> auth_ssl_require_client_cert problem [solved]

2013-03-31 Thread Christian Felsing
Thank you, works now with 'Y' as nopassword :-) best regards Christian Am 31.03.2013 17:16, schrieb Timo Sirainen: > On 31.3.2013, at 17.38, Christian Felsing wrote: > >> There were log entries regarding that problem: > > Ah, you were using PostgreSQL and I tested MySQL. They are handled somew

Re: [Dovecot] Incorrect response when opening read-only mailboxes with per-user flags?

2013-03-31 Thread Jake Johnson
unsubscribe On Wed, Mar 27, 2013 at 1:16 PM, Guido Berhoerster < guido+dovecot@berhoerster.name> wrote: > * Timo Sirainen [2013-03-27 20:27]: > > On 27.3.2013, at 13.41, Guido Berhoerster < > guido+dovecot@berhoerster.name> wrote: > > > > > After some debugging on the protocol level I'v

Re: [Dovecot] dsync mirror to convert from mbox (1.2x) to mdbox (2.2)

2013-03-31 Thread Jake Johnson
unsubscribe On Thu, Mar 21, 2013 at 3:31 PM, Ken A wrote: > I'm converting mail from mbox to mdbox. > I've copied mail over to a new system, and now I'm running dsync like this: > > dsync -u username mirror > mbox:/folder_location/username:INBOX=/inbox_location/username > > That seemed to work,

Re: [Dovecot] Dovecot 2.2rc3 Client Cert Auth and Webmail -> auth_ssl_require_client_cert problem

2013-03-31 Thread Jake Johnson
unsubscribe On Wed, Mar 27, 2013 at 1:49 AM, Christian Felsing < hostmas...@taunusstein.net> wrote: > Hello, > > I would like to set up a Dovecot based mail system which uses X.509 > Client Certificates for authentication. A webmail system based on Horde5 > should use Dovecot as backend. > > For

Re: [Dovecot] Dovecot METADATA support

2013-03-31 Thread Timo Sirainen
On Wed, 2013-03-27 at 21:25 +0200, Timo Sirainen wrote: > The metadata plugin started with implementing the IMAP commands and > kind of ignored the difficult parts of fitting it in with everything. > The stuff that is in Dovecot now handles most of the difficult parts, > but the IMAP commands are

Re: [Dovecot] v2.2 getting NULL pointer reference with shared namespace in mailbox_tree?

2013-03-31 Thread Timo Sirainen
On Fri, 2013-03-22 at 18:34 +0100, Walter Steiner wrote: > > You most likely want to have subscriptions=no for your shared namespace. > > Also you most likely want to enable ACL plugin. > > Yes - thank you for your comment! The ACLs I had configured before are > not enabled in this minimalistic

Re: [Dovecot] v2.2 dsync

2013-03-31 Thread Timo Sirainen
On 22.3.2013, at 10.47, Walter Steiner wrote: > doveadm backup -R -u ... imapc: > => mailboxes are created and some/many messages but not all messages > are copied from the origin cyrus mailbox to the dovecot box. > (i.e. the first consecutive 233 out of 523 are okay) > > All of the missing

Re: [Dovecot] Dovecot 2.2rc3 Client Cert Auth and Webmail -> auth_ssl_require_client_cert problem

2013-03-31 Thread Timo Sirainen
On 31.3.2013, at 17.38, Christian Felsing wrote: > There were log entries regarding that problem: Ah, you were using PostgreSQL and I tested MySQL. They are handled somewhat differently. This should fix it: http://hg.dovecot.org/dovecot-2.2/rev/37cd62516b37 > > > Mar 25 11:05:21 dovecot dov

Re: [Dovecot] Outlook 2013 - mounting folders with XLIST

2013-03-31 Thread Timo Sirainen
On Sun, 2013-03-31 at 17:40 +0300, Timo Sirainen wrote: > > > > namespace/inbox/mailbox=hallohallo^Atnamespace/inbox/mailbox/hallohallo/auto=subscribe > > > > same line occurs when querying ...userdb_import as userdb_import... in > > place of ...userdb_import as userdb_userdb_import… > >

Re: [Dovecot] Outlook 2013 - mounting folders with XLIST

2013-03-31 Thread Timo Sirainen
On 25.3.2013, at 17.14, Hajo Locke wrote: >> Looks like it fixed the TAB problem. So I guess I need to fix >> userdb_userdb_import. > >> Could you try if the attached patch fixes it? > > i added the patch and did build my packages. sql.conf i switched back to > prefetch. > Log looks like: >

Re: [Dovecot] Dovecot 2.2rc3 Client Cert Auth and Webmail -> auth_ssl_require_client_cert problem

2013-03-31 Thread Christian Felsing
There were log entries regarding that problem: Mar 25 11:05:21 dovecot dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011valid-client-cert#011sessi on=J8pV8bzYIACwxigG#011cert_username=u...@example.net#011lip=192.168.200.22#011rip=192.168.200.6#011lport=993#011rpor

Re: [Dovecot] Crash while moving mail between private folder and shared folder

2013-03-31 Thread Timo Sirainen
On 27.3.2013, at 18.01, kada...@gmail.com wrote: > Just to bump the OP message as I experience the exact same symptom with the > same configuration. That is: when moving an email to a virtual mailboxes, > dovecot crash (and sometime the email disappears from the real mailbox). I'm guessing you

Re: [Dovecot] dsync mirror to convert from mbox (1.2x) to mdbox (2.2)

2013-03-31 Thread Ken A
On 3/31/2013 3:20 AM, Timo Sirainen wrote: > On 22.3.2013, at 0.31, Ken A wrote: > >> I'm converting mail from mbox to mdbox. I've copied mail over to a >> new system, and now I'm running dsync like this: >> >> dsync -u username mirror >> mbox:/folder_location/username:INBOX=/inbox_location/us

Re: [Dovecot] Crash while moving mail between private folder and shared folder

2013-03-31 Thread Timo Sirainen
On 23.3.2013, at 11.03, Christian Felsing wrote: > while moving a mail from a private folder (inbox) to a shared folder and > back to private folder Dovecot 2.2rc3 crashes: > > ---cut here--- > Mar 23 09:57:44 dovecot dovecot: imap-login: Login: > user=, method=PLAIN, rip=192.168.200.6, > lip=19

Re: [Dovecot] Dovecot 2.2rc3 Client Cert Auth and Webmail -> auth_ssl_require_client_cert problem

2013-03-31 Thread Timo Sirainen
On 31.3.2013, at 15.47, Christian Felsing wrote: > thank you for that hint. > > SELECT NULL AS password, 'Y' as nopassword, userid AS user FROM users > WHERE userid = '%u' > does not work, seems Dovecot 2.2rc3 ignores nopassword, so my solution is: I don't understand. I remember some other mail

Re: [Dovecot] global mail_plugins

2013-03-31 Thread Timo Sirainen
On 31.3.2013, at 14.07, Andreas Meyer wrote: > How do I know what is specified in the global mail_plugins? > > # doveconf |grep mail_plugins > mail_plugins = You have nothing. Easier to test: "doveconf mail_plugins" > mail_plugins = " quota sieve" > mail_plugins = " quota imap_quota autocre

Re: [Dovecot] Dovecot 2.2rc3 Client Cert Auth and Webmail -> auth_ssl_require_client_cert problem

2013-03-31 Thread Christian Felsing
Hi Timo, thank you for that hint. SELECT NULL AS password, 'Y' as nopassword, userid AS user FROM users WHERE userid = '%u' does not work, seems Dovecot 2.2rc3 ignores nopassword, so my solution is: password_query = SELECT MD5('%w') AS password, userid AS user FROM users WHERE (userid = '%u') an

Re: [Dovecot] sieve-filter ignoring separator

2013-03-31 Thread Stephan Bosch
Op 3/22/2013 3:17 PM, isakrubin schreef: Stephan Bosch-2 wrote On 3/4/2013 9:21 PM, Isak Rubin wrote: # dovecot --version 2.1.9 This Dovecot is very old, so is probably your Pigeonhole version. Recent versions should work fine in this regard. Regards, Stephan. Upgraded to # dovecot --versio

Re: [Dovecot] Separate log file for Sieve

2013-03-31 Thread Stephan Bosch
Op 3/31/2013 10:34 AM, Timo Sirainen schreef: On 27.3.2013, at 16.57, Ewald Dieterich wrote: log_path = /var/log/dovecot/error.log info_log_path = /var/log/dovecot/info.log debug_log_path = /var/log/dovecot/debug.log to log to different files. Since I don't consider Sieve errors as severe as

[Dovecot] global mail_plugins

2013-03-31 Thread Andreas Meyer
Hello! How do I know what is specified in the global mail_plugins? # doveconf |grep mail_plugins mail_plugins = mail_plugins = " quota sieve" mail_plugins = " quota imap_quota autocreate" mail_plugins = " sieve" Is it just what is defined in the dovecot.conf and when there is nothing defi

Re: [Dovecot] Cassandra support

2013-03-31 Thread Timo Sirainen
On 29.3.2013, at 11.31, Goktug YILDIRIM wrote: > I've read some previous threads about Cassandra support. In a message at > April 2012 it was written that it would take a few hours after doing some > internal stuff. > http://dovecot.markmail.org/search/?q=cassandra#query:cassandra%20order%3Adate-

Re: [Dovecot] Custom Headers/Flags Support in dovecot

2013-03-31 Thread Timo Sirainen
On 30.3.2013, at 3.03, Ramesh Natarajan wrote: > I am currently trying to evaluate if I can use dovecot to be used for my > imap server like application. This is not an email application but a > generic storage server that uses IMAP protocol to save and retrieve > messages. > > The messages have

Re: [Dovecot] Postfix/Dovecot/lmtp with virtual and local users

2013-03-31 Thread Timo Sirainen
On 22.3.2013, at 11.53, David Obando wrote: > Timo Sirainen schrieb am 22.03.2013 09:48: >> Maybe. Depends on your Dovecot version and passdb/userdb >> configuration. So, doveconf -n output? > I use version 2.1.7 from the backports repo on Debian Squeeze. > > passdb { > args = /etc/dovecot/dove

Re: [Dovecot] about maildirsize not updating

2013-03-31 Thread Timo Sirainen
On 29.3.2013, at 9.11, mastertoi...@netzero.net wrote: > i am currently using roundcube my webmail and configure using dovecot quota > plugins. but it seems to not be updating the maildirsize when new mails > comes.Deleting the maildirsize will recreate the files correctly.Is there any > soluti

Re: [Dovecot] Virtual - thread refs for labeled message

2013-03-31 Thread Timo Sirainen
On 28.3.2013, at 17.35, Łukasz wrote: > Hi > > I hope you will understand my problem. > I want to make virtual folder called "Virtual/label1-threads". This folder > should have: > 1. messages labeled fe. $label1 from INBOX > and > 2. messages from Sent folder inthread refs with those labeled. >

Re: [Dovecot] Conversion from Evolution maildir to imap

2013-03-31 Thread Timo Sirainen
On 28.3.2013, at 10.51, Paul van der Vlis wrote: > A customer has a thin-client server with 100+ homedirs with Evolution. > They are using POP3 and maildir. Now I want to switch to IMAP. > > Can I use Dovecot on this maildirs, or does Evolution use another kind > of maildir? I'm guessing it us

Re: [Dovecot] Managesieve Automatic Homedir Creation: File not Found Error

2013-03-31 Thread Timo Sirainen
On 27.3.2013, at 18.49, linu...@netsteps.ch wrote: > I'm running dovecot version 2.0.19 (Ubuntu 12.04) and I discovered some > unexpected behaviour related to the Dovecot managesieve module. When > connecting to the managesieve service from a client for the first time > (e.g. roundcube webmail), I

Re: [Dovecot] Separate log file for Sieve

2013-03-31 Thread Timo Sirainen
On 27.3.2013, at 16.57, Ewald Dieterich wrote: > log_path = /var/log/dovecot/error.log > info_log_path = /var/log/dovecot/info.log > debug_log_path = /var/log/dovecot/debug.log > > to log to different files. > > Since I don't consider Sieve errors as severe as "real" Dovecot errors I > would l

Re: [Dovecot] Dovecot 2.2rc3 Client Cert Auth and Webmail -> auth_ssl_require_client_cert problem

2013-03-31 Thread Timo Sirainen
On 27.3.2013, at 10.49, Christian Felsing wrote: > I would like to set up a Dovecot based mail system which uses X.509 > Client Certificates for authentication. A webmail system based on Horde5 > should use Dovecot as backend. .. > Unfortunately Dovecot does not support different authentication m

Re: [Dovecot] ACL for root-level mailboxes

2013-03-31 Thread Timo Sirainen
On 26.3.2013, at 3.58, Bradley Rintoul wrote: > I see in the documentation where it says that if mailboxes are created at the > root level it will use the namespace's default ACL. I'm using Dovecot 2.0.9 > so > there is no default namespace defined, so I'm a bit handicapped here... > Anyway

Re: [Dovecot] dsync mirror to convert from mbox (1.2x) to mdbox (2.2)

2013-03-31 Thread Timo Sirainen
On 22.3.2013, at 0.31, Ken A wrote: > I'm converting mail from mbox to mdbox. > I've copied mail over to a new system, and now I'm running dsync like this: > > dsync -u username mirror > mbox:/folder_location/username:INBOX=/inbox_location/username > > That seemed to work, with a couple minor e

Re: [Dovecot] loop when I enable

2013-03-31 Thread Timo Sirainen
On 21.3.2013, at 16.55, Andreas Meyer wrote: > The problem occurs when I add the following to dovecot.conf: > > quota_warning = storage=95%% quota-warning 95 %u > quota_warning2 = storage=80%% quota-warning 80 %u > quota_warning3 = -storage=100%% quota-warning below %u # user is no longer > ove