Re: [Dovecot] Quota not working with dict proxy

2013-05-15 Thread Daniel Parthey
Chris Richards wrote: > Is there any documentation that goes into more detail regarding the 'map' > settings, what they mean, etc., of which you are aware? > hoping to avoid digging through the code just to satisfy my curiosity. I couldn't find much in the docs: http://wiki.dovecot.org/Quota/Dict

Re: [Dovecot] dovecot 2.2.0 corrupts mailboxes?

2013-05-15 Thread Emmanuel Dreyfus
On Wed, May 15, 2013 at 09:36:54PM +0300, Timo Sirainen wrote: > > - one of the users was using mutt locally and accessed its mailbox directly > > without going through dovecot. > That shouldn't cause problems if locking was configured the same. I never looked at it, but I assume they both use fl

Re: [Dovecot] Looking for a good way to manage passwords for CRAM-MD5

2013-05-15 Thread Steinar Bang
> Daniel Parthey : > The PAM documentation can be found at: > http://www.linux-pam.org/Linux-PAM-html/ This one I have already visited, if the link colour in the browser is to be belived. However it didn't make much of an impression at the time. Now, however, after actually writing a PAM mo

Re: [Dovecot] dovecot 2.0 -> 2.2.1 sieve problem

2013-05-15 Thread Trever L. Adams
On 05/15/2013 02:01 PM, Stephan Bosch wrote: > On 5/15/2013 9:37 PM, Trever L. Adams wrote: >> On 05/15/2013 10:39 AM, Stephan Bosch wrote: >> When trying to compile this version, I am getting the following. I am >> not sure what is causing it. dovecot compiles fine. Pigeonhole is >> compiling, but

Re: [Dovecot] Looking for a good way to manage passwords for CRAM-MD5

2013-05-15 Thread Steinar Bang
> Steinar Bang : > Professa Dementia : >>> There are plugins that allow you to call some glue logic (Perl, >>> Python, shell scripts, etc) which enables you to interface to pretty >>> much any method (SQL, LDAP, shadow files, etc) you have chosen to >>> save passwords - that is, as long as

Re: [Dovecot] dovecot 2.0 -> 2.2.1 sieve problem

2013-05-15 Thread Stephan Bosch
On 5/15/2013 9:37 PM, Trever L. Adams wrote: On 05/15/2013 10:39 AM, Stephan Bosch wrote: When trying to compile this version, I am getting the following. I am not sure what is causing it. dovecot compiles fine. Pigeonhole is compiling, but then failing. PASS: 2 tests succeeded. Test case: ./te

Re: [Dovecot] dovecot 2.0 -> 2.2.1 sieve problem

2013-05-15 Thread Trever L. Adams
On 05/15/2013 10:39 AM, Stephan Bosch wrote: > > This looks like a rather old version of Pigeonhole (pre-release v0.4). > > Due to the following change a Pigeonhole version should be logged when > mail_debug is enabled: > > http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/44721c50833e > > I see no

Re: [Dovecot] 2.2.1 and quota-status

2013-05-15 Thread Christian Rößner
Hi, Am 15.05.2013 um 13:28 schrieb Timo Sirainen : > On 14.5.2013, at 12.20, Christian Rößner wrote: > >> Also the following test does not succeed: >> >> telnet localhost 12340 >> Trying ::1... >> Connected to localhost. >> Escape character is '^]'. >> request=smtpd_access_policy >> sender=f..

Re: [Dovecot] dovecot 2.0 -> 2.2.1 sieve problem

2013-05-15 Thread Trever L. Adams
On 05/15/2013 10:39 AM, Stephan Bosch wrote: > On 5/15/2013 5:25 PM, Trever L. Adams wrote: >> On 05/15/2013 09:18 AM, Timo Sirainen wrote: >>> What do you get in logs with auth_debug=yes and mail_debug=yes? >> with auth_debug=yes and mail_debug=yes > > This looks like a rather old version of Pigeo

Re: [Dovecot] dovecot 2.2.0 corrupts mailboxes?

2013-05-15 Thread Timo Sirainen
On 15.5.2013, at 20.33, Emmanuel Dreyfus wrote: > On Wed, May 15, 2013 at 02:50:55PM +0300, Timo Sirainen wrote: >> There are some locking code changes between v2.1 and v2.2, which >> I guess might be buggy. But I can't reproduce any corruption with >> stress testing. What's your doveconf -n outp

Re: [Dovecot] Quota not working with dict proxy

2013-05-15 Thread Chris Richards
> Are you using the same SQL table "email" for user lookup > and quota/storage accounting? > > Try to use two different tables for user and quota database, because the > quota > accounting might have deleted an entry from the "user" table while it only > tried to delete a row from the "quota" table

Re: [Dovecot] dovecot 2.2.0 corrupts mailboxes?

2013-05-15 Thread Emmanuel Dreyfus
On Wed, May 15, 2013 at 02:50:55PM +0300, Timo Sirainen wrote: > There are some locking code changes between v2.1 and v2.2, which > I guess might be buggy. But I can't reproduce any corruption with > stress testing. What's your doveconf -n output? Are you delivering > mails via dovecot-lda or somet

Re: [Dovecot] dovecot 2.0 -> 2.2.1 sieve problem

2013-05-15 Thread Stephan Bosch
On 5/15/2013 5:25 PM, Trever L. Adams wrote: On 05/15/2013 09:18 AM, Timo Sirainen wrote: What do you get in logs with auth_debug=yes and mail_debug=yes? with auth_debug=yes and mail_debug=yes This looks like a rather old version of Pigeonhole (pre-release v0.4). Due to the following change

Re: [Dovecot] Crossrealm Kerberos problems

2013-05-15 Thread Jonathan Hanks
Answers inline On 5/15/13 5:47 AM, Timo Sirainen wrote: > On 9.5.2013, at 21.13, Jonathan Hanks wrote: > >> I am working on a Kerberos/GSSAPI based setup that requires cross-realm >> authentication. I have regular GSSAPI working, I can log in using >> pam_krb5 with password based logins or with

Re: [Dovecot] Fatal: Can't finish POP3 UIDL command

2013-05-15 Thread Timo Sirainen
On 15.5.2013, at 18.28, stevenfah wrote: > The version we're currently using is: 2.0.19 v2.1 has this related fix which isn't in v2.0: http://hg.dovecot.org/dovecot-2.1/rev/69826dc7a959

Re: [Dovecot] Fatal: Can't finish POP3 UIDL command

2013-05-15 Thread stevenfah
The version we're currently using is: 2.0.19 -- View this message in context: http://dovecot.2317879.n4.nabble.com/Fatal-Can-t-finish-POP3-UIDL-command-tp42258p42263.html Sent from the Dovecot mailing list archive at Nabble.com.

Re: [Dovecot] dovecot 2.0 -> 2.2.1 sieve problem

2013-05-15 Thread Trever L. Adams
On 05/15/2013 09:18 AM, Timo Sirainen wrote: > On 15.5.2013, at 18.05, Trever L. Adams > wrote: > >> I have been racking my brain trying to figure out why some may not see >> what I am seeing. The only odd part of my configuration that others may >> not have is: >> >> import_environment = TZ KRB5

Re: [Dovecot] dovecot 2.0 -> 2.1 sieve problem

2013-05-15 Thread Timo Sirainen
On 15.5.2013, at 18.05, Trever L. Adams wrote: > I have been racking my brain trying to figure out why some may not see > what I am seeing. The only odd part of my configuration that others may > not have is: > > import_environment = TZ KRB5CCNAME=... > > This was added, if I remember right, a

Re: [Dovecot] Fatal: Can't finish POP3 UIDL command

2013-05-15 Thread Timo Sirainen
On 15.5.2013, at 18.03, stevenfah wrote: > Error: Message ordering changed unexpectedly (msg #1: storage seq 140 -> 1) > Fatal: Can't finish POP3 UIDL command That's a bug. > I used the Perl script given here to convert the mailboxes. > > The only fix we've found is the rename/delete the Dovec

Re: [Dovecot] dovecot 2.0 -> 2.1 sieve problem

2013-05-15 Thread Trever L. Adams
On 05/14/2013 02:56 PM, Stephan Bosch wrote: > On 5/14/2013 9:35 PM, Trever L. Adams wrote: >> On 05/14/2013 01:29 PM, Stephan Bosch wrote: >>> On 5/14/2013 8:54 PM, Trever L. Adams wrote: I had a completely working setup before. I upgraded, now I get: Error: 7LUaNYqHklG6EAAApwKjnA:

[Dovecot] Fatal: Can't finish POP3 UIDL command

2013-05-15 Thread stevenfah
I have been setting up a new mail server and copied our client's old mail to it. The old server has Courier (under Plesk), we're using Dovecot on the new server. Most accounts seem to work fine (under IMAP or POP3), but for a few we're getting the following in the /var/log/mail.err. Error: Mess

Re: [Dovecot] quota-related crash for doveadm dsync operation

2013-05-15 Thread Timo Sirainen
On 29.4.2013, at 10.43, Emmanuel Dreyfus wrote: > I understand the crash below is caused by filesystem quota. I just report > it because perhaps it could have a more graceful failure. > > > Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: Mailbox Sent: > Saving failed: Not enough dis

Re: [Dovecot] Lucene and Zlib with 2.2.1

2013-05-15 Thread Kyle Wheeler
On Wednesday, May 15 at 04:29 PM, quoth Timo Sirainen: On 25.4.2013, at 19.55, Kyle Wheeler wrote: I have an "archive" folder in my inbox, where I manually stick old mails into a compressed mbox format. Since upgrading to Dovecot 2.2.1, I've started seeing messages like the following in my l

Re: [Dovecot] Xlist in userdb, Foldernames with whitespace?

2013-05-15 Thread Hajo Locke
Hello, I think you don't need to use the actual mailbox name as the "id". So the above URL's command modified: /usr/local/libexec/dovecot/imap -o 'namespace/inbox/mailbox=foo bar' -o namespace/inbox/mailbox/foo/name="foo with spaces" -o namespace/inbox/mailbox/bar/name="bar with spaces" -o na

Re: [Dovecot] Lucene and Zlib with 2.2.1

2013-05-15 Thread Timo Sirainen
On 25.4.2013, at 19.55, Kyle Wheeler wrote: > I have an "archive" folder in my inbox, where I manually stick old mails into > a compressed mbox format. Since upgrading to Dovecot 2.2.1, I've started > seeing messages like the following in my log files: > > imap(...): Error: lucene: Failed to

Re: [Dovecot] protocols and privileges

2013-05-15 Thread Timo Sirainen
On 14.5.2013, at 16.41, andreas graeper wrote: > 1) > protocols = pop3 > but when starting the service, output tells about imap. when mua fetches > mails ~/mail/.imap/INDEX is created. It should have originally been named .dovecot instead of .imap, but it's way too late to change now. > 2) > i

Re: [Dovecot] Xlist in userdb, Foldernames with whitespace?

2013-05-15 Thread Timo Sirainen
On 13.5.2013, at 10.06, Hajo Locke wrote: >> My problem is to allow Foldernames with whitespace in it f.e. Sent Messages >> I tried to put these names in quotes in this line or mask the blank with >> backslash but nothing was working. >> Dovecot ist not accepting these settings: > > In your exa

Re: [Dovecot] Autocreation the home folder

2013-05-15 Thread Timo Sirainen
Dovecot autocreates the mail directory, but apparently it doesn't currently autocreate the home directory if it's located elsewhere. I'm not sure if it's really worth the trouble to change the code to do that. Ideally the mail directory would be under the home directory and this wouldn't be a pr

Re: [Dovecot] dovecot 2.2.1: lmtp running in base_dir

2013-05-15 Thread Timo Sirainen
On 11.5.2013, at 2.58, Andy R wrote: > I'm running into an issue with lmtp trying to store user mail in 'base_dir' ( > same as this ( http://www.dovecot.org/list/dovecot/2011-January/056736.html > )) however I'm just using PAM for auth. I've tried with chroot, without > chroot and 'chroot'ing

Re: [Dovecot] Dovecot 2.2.1 subscribtion status in LIST

2013-05-15 Thread Timo Sirainen
On 10.5.2013, at 16.30, Nikolay S. wrote: > I am using Evolution to connect to dovecot imap server. Today the server was > upgraded to 2.2.1 from 2.1.9, and there is problem with evolution being > unable to subscribe to INBOX. > > This is from dovecot 2.1.9: > a002 list "" "*" return (subscrib

Re: [Dovecot] Autocreation the home folder

2013-05-15 Thread Joan
Sorry for this bump, but isn't there a better solution to have those folders than to be watching the logs for warnings and recreate them? Regards, Joan 2013/5/14 Joan > Yes, all folder tree has vmail:vmail as the owner, and dovecot can create > the folders without issues. > I verified that wh

Re: [Dovecot] Sieve was installed but doesn't work or log

2013-05-15 Thread Jim McNamara
On 05/14/2013 06:55 PM, Noel Butler wrote: On Tue, 2013-05-14 at 12:49 -0400, Jim McNamara wrote: Hello everyone. I have dovecot version 1.2.8 installed from source. This morning I installed the sieve plugin to sort emails, and though the install reported no errors, the plugin doesn't seem to

Re: [Dovecot] Crossrealm Kerberos problems

2013-05-15 Thread Timo Sirainen
On 9.5.2013, at 21.13, Jonathan Hanks wrote: > I am working on a Kerberos/GSSAPI based setup that requires cross-realm > authentication. I have regular GSSAPI working, I can log in using > pam_krb5 with password based logins or with the GSSAPI support when > using a kerberos ticket in the defaul

Re: [Dovecot] IMAP SSL proxy (questions)

2013-05-15 Thread Timo Sirainen
On 9.5.2013, at 15.04, Trever L. Adams wrote: > Thank you Ben and Noel for your responses! I know Thunderbird on Linux > sends it. Right now my targets would be Thunderbird, K9 Mail and Android > Mail on Android, and Apple Mail and whatever the equivalent is on iOS. I > will investigate K9 and A

Re: [Dovecot] Keyword limit?

2013-05-15 Thread Timo Sirainen
On 7.5.2013, at 1.10, Michael M Slusarz wrote: > Running into a weird issue in a mailbox that has 26+ keywords. http://hg.dovecot.org/dovecot-2.1/rev/7389ff729d2e should help.

Re: [Dovecot] Mail deduplication

2013-05-15 Thread Charles Marcus
On 2013-05-15 8:12 AM, Timo Sirainen wrote: On 7.5.2013, at 13.09, Charles Marcus wrote: *Attachments*, yes (so, an image signature that was an *attachment* would be de-duped, but if it was an *embedded* graphic, I'm pretty sure it would *not* be. SIS doesn't by default care about if a MIM

Re: [Dovecot] Mail deduplication

2013-05-15 Thread Timo Sirainen
On 7.5.2013, at 13.09, Charles Marcus wrote: > On 2013-05-07 2:22 AM, Angel L. Mateo wrote: >> El 07/05/13 02:19, Tim Groeneveld escribió: >>> I was thinking of splitting all of the mime parts and recombining >>> them later when the message was requested. >>> >>> All of the parts would be hashe

Re: [Dovecot] dovecot 2.2.0 corrupts mailboxes?

2013-05-15 Thread Timo Sirainen
On 5.5.2013, at 3.56, Emmanuel Dreyfus wrote: > On april 17th, I upgraded from dovecot 2.1.13 to 2.2.0. Since that time, > I had two different users that reported received three incident of > messages that disapeared from their mailboxes. > > The mailbox format is mbox on local FFS filesystem (

Re: [Dovecot] quota and dict

2013-05-15 Thread Timo Sirainen
On 3.5.2013, at 8.04, Jeff Gustafson wrote: > Shouldn't I be able to use a dictionary > proxy to attach any custom program to a quota dict socket? > > plugin { > quota = dict:User quota::proxy:/tmp/test-socket > } This tells quota plugin to connect to /tmp/test-socket and talk dict protocol t

Re: [Dovecot] 2.2.1 and quota-status

2013-05-15 Thread Timo Sirainen
On 14.5.2013, at 12.20, Christian Rößner wrote: > Also the following test does not succeed: > > telnet localhost 12340 > Trying ::1... > Connected to localhost. > Escape character is '^]'. > request=smtpd_access_policy > sender=f...@bar.tld > recipient=c...@roessner-network-solutions.com > size=

Re: [Dovecot] search and UTF-8 normalization forms (NFD)

2013-05-15 Thread Timo Sirainen
On 11.5.2013, at 18.13, Florian Zeitz wrote: > Am 10.05.2013 15:24, schrieb Florian Zeitz: >> Could you elaborate a bit why you think i;unicode-casemap does not >> handle this case? >> >> Is it only applied to the query, but not the header, or vice versa? >> It seems to me that Step 2 should map

Re: [Dovecot] Make install error

2013-05-15 Thread kengheng
The output as below: grep ^libexecdir config.log libexecdir='${exec_prefix}/lib' grep ^exec_prefix config.log exec_prefix='${prefix}' grep ^prefix config.log prefix='/usr/local/dovecot' On 4/24/13 11:50 PM, Ben Morrow wrote: At 1PM +0800 on 24/04/13 you (kengheng) wrote: Hi, I tried remov