Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Nikolaos Milas
On 20/12/2011 7:41 πμ, Timo Sirainen wrote: Can you try if changing it back helps? Or by running the same LDAP query using ldapsearch. Is there a reason why you changed the scope? (I'm not entirely sure what the LDAP schemes usually look like..) Hi Timo, The same query, using ldapsearch

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Nikolaos Milas
I resend, because I forgot to change the true domain once and the previous message would appear to include inconsistencies... Sorry for this... On 20/12/2011 7:41 πμ, Timo Sirainen wrote: Can you try if changing it back helps? Or by running the same LDAP query using ldapsearch. Is there a

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-20 at 10:10 +0200, Nikolaos Milas wrote: On 20/12/2011 7:41 πμ, Timo Sirainen wrote: Can you try if changing it back helps? Or by running the same LDAP query using ldapsearch. Is there a reason why you changed the scope? (I'm not entirely sure what the LDAP schemes

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Nikolaos Milas
On 20/12/2011 10:15 πμ, Timo Sirainen wrote: Try adding (objectClass=posixAccount) as filter in the ldapsearch. That's the default iterate_filter. We've caught it! Only the returned (30) accounts include the posixAccount objectClass! So I added in the LDAP setup: iterate_filter =

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-20 at 10:47 +0200, Nikolaos Milas wrote: On 20/12/2011 10:15 πμ, Timo Sirainen wrote: Try adding (objectClass=posixAccount) as filter in the ldapsearch. That's the default iterate_filter. We've caught it! Only the returned (30) accounts include the posixAccount

Re: [Dovecot] crashes on 2.0.16

2011-12-20 Thread Cor Bosman
I installed a newer kernel on these boxes, and it's fixed. Seems to be a problem with the stock debian squeeze kernel. Not a dovecot issue, but others with a stable squeeze box might see similar problems so good to have it in the archive :) regards, Cor

Re: [Dovecot] crashes on 2.0.16

2011-12-20 Thread Ron Leach
On 20/12/2011 09:11, Cor Bosman wrote: I installed a newer kernel on these boxes, and it's fixed. Seems to be a problem with the stock debian squeeze kernel. Not a dovecot issue, but others with a stable squeeze box might see similar problems so good to have it in the archive :) Indeed; very

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Nikolaos Milas
On 20/12/2011 10:57 πμ, Timo Sirainen wrote: On Tue, 2011-12-20 at 10:47 +0200, Nikolaos Milas wrote: So I added in the LDAP setup: iterate_filter = (objectClass=*) and now everything works fine! Isn't that basically the same as an empty filter? What other types of objectClasses are

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-20 at 12:06 +0200, Nikolaos Milas wrote: Isn't that basically the same as an empty filter? What other types of objectClasses are there with user accounts? Perhaps the default should be changed to empty, or maybe to (uid=*) I agree that the default should be changed to

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-20 at 12:13 +0200, Timo Sirainen wrote: I agree that the default should be changed to empty. But that also returns non-user results, like at least in my test setup it returns an organization and admin. .. Perhaps: iterate_filter = (uid=*) Actually, the current default

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Nikolaos Milas
On 20/12/2011 10:57 πμ, Timo Sirainen wrote: On Tue, 2011-12-20 at 10:47 +0200, Nikolaos Milas wrote: So I added in the LDAP setup: iterate_filter = (objectClass=*) and now everything works fine! Isn't that basically the same as an empty filter? And I forgot to answer: Yes,

Re: [Dovecot] doveadm index

2011-12-20 Thread Timo Sirainen
On Wed, 2011-12-14 at 19:27 -0800, Daniel L. Miller wrote: Does doveadm index -A INBOX reindex everything? What about users with multiple folders, both subbed not subbed under INBOX? It indexes INBOX (only) for all users. And it doesn't reindex anything, it just adds any missing stuff.

Re: [Dovecot] Quota PostgreSQL INSERT trigger

2011-12-20 Thread Timo Sirainen
On Thu, 2011-12-15 at 09:37 +0100, Adis Nezirovic wrote: Wiki instructions for creating insert trigger for PostgreSQL are wrong http://wiki.dovecot.org/Quota/Dict Calling INSERT on the table from within BEFORE INSERT trigger creates cascading trigger. Yes.. Instead, one should return

Re: [Dovecot] doveadm quota does not list all accounts

2011-12-20 Thread Nikolaos Milas
On 20/12/2011 12:15 μμ, Timo Sirainen wrote: Perhaps: iterate_filter = (uid=*) Actually, the current default iterate_filter is fine, if you look at the default pass/user filters: #user_filter = ((objectClass=posixAccount)(uid=%u)) #pass_filter = ((objectClass=posixAccount)(uid=%u)) This

Re: [Dovecot] Building 2.1.rc1 with cluence, but without libstemmer

2011-12-20 Thread Timo Sirainen
On Thu, 2011-12-15 at 12:05 +1100, Jan Mikkelsen wrote: I'm testing out 2.1.rc1, building against clucene 2.3.3.4. Without libstemmber, the build fails because it attempts to include SnowballAnalyzer.h which is not part of core clucene. It was actually supposed to be distributed with

Re: [Dovecot] Question about index reset in dovecot 2.0.15

2011-12-20 Thread Timo Sirainen
On Wed, 2011-12-14 at 22:10 +0100, Maria Arrea wrote: I have seen some strange error log messages in our dovecot server (2.0.15, RHEL 5.7x64, mdbox+zlib, local storage, high load) Dec 14 22:01:27 buzon dovecot: imap(fmcarrasco): Error:

Re: [Dovecot] Dovecot 2.1rc1 + 2.0.16 woes regarding fts_squat

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-13 at 15:50 -0800, Robin wrote: I can confirm the report posted in http://dovecot.org/list/dovecot/2011-November/062263.html that fts_squat no longer seems to be used after moving from 2.0.16-2.1 rc 1. I don't see crash reports in the logs, just 0 messages indexed. My search

Re: [Dovecot] dovecot penalties and anvil

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-13 at 09:39 -0200, Leonardo Rodrigues wrote: I'm strugling to find some documentation on dovecot's anvil service and/or its penalties (that can be checked with doveadm penalty) ... but i'm not finding anything on that. is there any documentation on

Re: [Dovecot] Mail lost - maybe a bug???

2011-12-20 Thread Marco Carcano
Hello Timo and Urban I took quite a long time to reply, but as I told you this issue does not verify very often, so I had enabled verbose logging and just waited .. I summarize the situation - user mmanzoni sometimes does not receive a message - it does not matter if he is the only

Re: [Dovecot] v2.x services documentation

2011-12-20 Thread drum.lu...@gmail.com
Well I've got some servers running 1.0 with dovecot, however, I make the installation of Dovecot 2.0 and would like to understand better the way it works. It uses the files in / etc / dovecot / conf.d right? Example: protocol pop3 protocol imap {{or is everything in /

Re: [Dovecot] Question about index reset in dovecot 2.0.15

2011-12-20 Thread Maria Arrea
Hello Timo, thank you in advance. Full log here (1 hour time range) Dec 14 21:19:43 buzon postfix/pipe[27103]: 4423BC7C31: to=fmcarrasco@domain, relay=dovecot, delay=0.24, delays=0.03 /0/0/0.2, dsn=2.0.0, status=sent (delivered via dovecot service) Dec 14 21:20:59 buzon dovecot:

Re: [Dovecot] Mail lost - maybe a bug???

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-20 at 12:46 +0100, Marco Carcano wrote: Hello Timo and Urban I took quite a long time to reply, but as I told you this issue does not verify very often, so I had enabled verbose logging and just waited .. Enabling mail_log plugin and/or lazy_expunge plugin would have

Re: [Dovecot] v2.x services documentation

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-20 at 10:26 -0200, drum.lu...@gmail.com wrote: Well I've got some servers running 1.0 with dovecot, however, I make the installation of Dovecot 2.0 and would like to understand better the way it works. It uses the files in / etc / dovecot / conf.d right? Example: protocol

Re: [Dovecot] Question about index reset in dovecot 2.0.15

2011-12-20 Thread Timo Sirainen
On Tue, 2011-12-20 at 13:48 +0100, Maria Arrea wrote: Hello Timo, thank you in advance. Full log here (1 hour time range) It could be useful to have all error/warning messages logged to their own file, so you could quickly see a list of all errors from the last day or two. That's also the log

Re: [Dovecot] Mail lost - maybe a bug???

2011-12-20 Thread Marco Carcano
Hello Timo and thanks again for the ultra quick reply! Enabling mail_log plugin and/or lazy_expunge plugin would have helped more (both mentioned in my previous mail). Sorry - I thought I have enabled it, but maybe I did something wrong with the configuration and it was not enabled:

Re: [Dovecot] Sieve too rfc compliant ;-)

2011-12-20 Thread Stephan Bosch
On 12/20/2011 3:38 PM, Jan-Frode Myklebust wrote: It seems we have a few email addresses that are not RFC 5322 compliant, and now that we've started using sieve these are failing. The problem is that we have a few addresses with leading, trailing or double dots in the local part:

Re: [Dovecot] Mail lost - maybe a bug???

2011-12-20 Thread Timo Sirainen
On 20.12.2011, at 16.52, Marco Carcano wrote: Enabling mail_log plugin and/or lazy_expunge plugin would have helped more (both mentioned in my previous mail). Sorry - I thought I have enabled it, but maybe I did something wrong with the configuration and it was not enabled: here is

[Dovecot] Why imap_open doesn't work as is expected to?

2011-12-20 Thread I M
Hi, everybody! Question: Why imap_open function doesn't work while getting a mailbox through telnet works perfectly? Note: imap.so is loaded! imap.ini is parsed! 

[Dovecot] Why imap_open function doesn't work while getting a mailbox through telnet works perfectly?

2011-12-20 Thread I M
Hi, everybody! Question: Why imap_open function doesn't work while getting a mailbox through telnet works perfectly? Note: imap.so is loaded! imap.ini is parsed!php flags is checked! Is it a bug?

Re: [Dovecot] Why imap_open function doesn't work while getting a mailbox through telnet works perfectly?

2011-12-20 Thread Leonardo Rodrigues
if it works through telnet, so dovecot is working and you probably have a PHP problem, which should be probably pointed to a PHP related mailing list. Em 20/12/11 17:20, I M escreveu: Hi, everybody! Question: Why imap_open function doesn't work while getting a mailbox through telnet

Re: [Dovecot] doveadm index

2011-12-20 Thread Daniel L. Miller
On 12/20/2011 2:18 AM, Timo Sirainen wrote: On Wed, 2011-12-14 at 19:27 -0800, Daniel L. Miller wrote: Does doveadm index -A INBOX reindex everything? What about users with multiple folders, both subbed not subbed under INBOX? It indexes INBOX (only) for all users. And it doesn't reindex

[Dovecot] APOP and AuthDatabase/SQL

2011-12-20 Thread Peter Smith
Hi, We're running dovecot 1.2.15 and use SQL authentication. We'd like to be able to support APOP, but can't see how this would fit in with SQL auth. Currently we have: password_query = SELECT email as user, password FROM virtual_users WHERE email='%u' or (email LIKE '%n@%%' AND unhashed='%w')

[Dovecot] lmtp logging incomplete (does not tell what mailbox mail is actually being saved to!)

2011-12-20 Thread Gary Chodos
We created a new virtual domain and created a user in that domain in our pgsql database. Instead of creating any directory structure in /home/virtual/mail/domain/user, I just sent a test email to see if dovecot's lmtp would autocreate. And it did! And mail appears to be delivered to an inbox..

[Dovecot] Problem listing SPECIAL-USE flags

2011-12-20 Thread Patrick Ben Koetter
Timo, we want to implement SPECIAL-USE in Thunderbird (TB), but we've run into problems. I believe you could help change that. Here's the problem: By default TB only lists subscribed (LSUB) folders when it accesses an IMAP server. However when I do a LSUB on recent Dovecot 2.1 code from

Re: [Dovecot] Problem listing SPECIAL-USE flags

2011-12-20 Thread Michael M Slusarz
Quoting Patrick Ben Koetter p...@state-of-mind.de: we want to implement SPECIAL-USE in Thunderbird (TB), but we've run into problems. I believe you could help change that. Here's the problem: By default TB only lists subscribed (LSUB) folders when it accesses an IMAP server. However when I do

Re: [Dovecot] doveadm index

2011-12-20 Thread Timo Sirainen
On 20.12.2011, at 22.02, Daniel L. Miller wrote: On 12/20/2011 2:18 AM, Timo Sirainen wrote: On Wed, 2011-12-14 at 19:27 -0800, Daniel L. Miller wrote: Does doveadm index -A INBOX reindex everything? What about users with multiple folders, both subbed not subbed under INBOX? It indexes

Re: [Dovecot] lmtp logging incomplete (does not tell what mailbox mail is actually being saved to!)

2011-12-20 Thread Timo Sirainen
On 21.12.2011, at 6.09, Gary Chodos wrote: We created a new virtual domain and created a user in that domain in our pgsql database. Instead of creating any directory structure in /home/virtual/mail/domain/user, I just sent a test email to see if dovecot's lmtp would autocreate. And it did!

Re: [Dovecot] Problem listing SPECIAL-USE flags

2011-12-20 Thread Timo Sirainen
On 21.12.2011, at 8.24, Michael M Slusarz wrote: That's just the reality of IMAP. LSUB is only useful for grabbing the list of subscribed mailboxes (I *really* hope TB is not using flags from the LSUB response for any meaningful purpose - that is simply badly broken behavior). It does: