Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 22:11 +0200, Julien Danjou wrote: > Like mine. I don't think this is *bad* since it's, AFAIK, Dovecot > only use in homedir to expand %h. Or do I miss another point? Home directory may also be used for other things, although mainly only when Sieve is enabled. > I really sugg

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Julien Danjou
At 1247082407 time_t, Timo Sirainen wrote: > "let the bug"? The idea is anyway that you return > home=/var/mail/vmail/danjou.info/jd and set > > mail_location = maildir:%h > > That makes much more sense to me. I've considered making it an error to > return relative home dirs from userdb, but that

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 15:46 -0400, Timo Sirainen wrote: > "let the bug"? The idea is anyway that you return > home=/var/mail/vmail/danjou.info/jd and set > > mail_location = maildir:%h > > That makes much more sense to me. I've considered making it an error to > return relative home dirs from use

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 21:36 +0200, Julien Danjou wrote: > At 1247080982 time_t, Timo Sirainen wrote: > > > The thing is that danjou.info/jd/ is the homedir of the user (returned > > > by SQL), > > > > Make your SQL query return absolute path for home dir. > > Sigh. That sounds like you let the bu

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Julien Danjou
At 1247080982 time_t, Timo Sirainen wrote: > > The thing is that danjou.info/jd/ is the homedir of the user (returned > > by SQL), > > Make your SQL query return absolute path for home dir. Sigh. That sounds like you let the bug. Quite sad to read. > > I smell (did not dig into the code) that th

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 21:03 +0200, Julien Danjou wrote: > At 1247075539 time_t, Timo Sirainen wrote: > > http://hg.dovecot.org/dovecot-1.2/rev/6d7f6ea02e17 makes it log the > > current directory in the above error message when the path is relative. > > Ok, that helps to see what's wrong, thanks: >

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Julien Danjou
At 1247075539 time_t, Timo Sirainen wrote: > http://hg.dovecot.org/dovecot-1.2/rev/6d7f6ea02e17 makes it log the > current directory in the above error message when the path is relative. Ok, that helps to see what's wrong, thanks: Jul 8 20:50:16 prometheus dovecot: deliver(j...@danjou.info): mkd

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 13:46 -0400, Timo Sirainen wrote: > On Wed, 2009-07-08 at 19:37 +0200, Julien Danjou wrote: > > > Jul 8 18:47:51 prometheus dovecot: deliver(j...@danjou.info): > > mkdir_parents_chown(danjou.info/jd/) failed: Permission denied > > (euid=8(mail) egid=8(mail)) > > The problem

Re: [Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 19:37 +0200, Julien Danjou wrote: > Jul 8 18:47:51 prometheus dovecot: deliver(j...@danjou.info): > mkdir_parents_chown(danjou.info/jd/) failed: Permission denied > (euid=8(mail) egid=8(mail)) The problem is this. It tries to create a non-existing directory, but can't becau

[Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

2009-07-08 Thread Julien Danjou
Hi, First, thanks for this awesome piece of software. I've just upgraded to latest dovecot, aka 1.2. I've a problem. I've started using Sieve, and everything works fine, I already received a thousand of mails without any problem. However, there's one mail which is stuck in the postfix queue becau

Re: [Dovecot] getting Apple Mail and dovecot/IMAP to co-operate

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 18:33 +0100, Jim Reid wrote: > Thanks for the quick response Timo. Sadly, your suggestion doesn't > look as if it'll work because there are many non-empty parent > mailboxes that have to get shifted to the new dovecot server. ie There > are messages in sub as well as sub

Re: [Dovecot] getting Apple Mail and dovecot/IMAP to co-operate

2009-07-08 Thread Jim Reid
On 8 Jul 2009, at 18:08, Timo Sirainen wrote: On Wed, 2009-07-08 at 17:58 +0100, Jim Reid wrote: Hi. I've been fighting a losing battle to get Apple Mail and dovecot to play nice. When dovecot is told to use mbox-style mailboxes, it's not possible to create child mailboxes. Apple Mail whines "T

Re: [Dovecot] getting Apple Mail and dovecot/IMAP to co-operate

2009-07-08 Thread Timo Sirainen
On Wed, 2009-07-08 at 17:58 +0100, Jim Reid wrote: > Hi. I've been fighting a losing battle to get Apple Mail and dovecot > to play nice. When dovecot is told to use mbox-style mailboxes, it's > not possible to create child mailboxes. Apple Mail whines "The IMAP > command “CREATE” failed with

[Dovecot] getting Apple Mail and dovecot/IMAP to co-operate

2009-07-08 Thread Jim Reid
Hi. I've been fighting a losing battle to get Apple Mail and dovecot to play nice. When dovecot is told to use mbox-style mailboxes, it's not possible to create child mailboxes. Apple Mail whines "The IMAP command “CREATE” failed with server error: Mailbox doesn't allow inferior mailboxes."

Re: [Dovecot] problem with convert-tool: "Invalid mailbox name"

2009-07-08 Thread Ezequiel Alfíe
Additional information: I'm having the same problem with dovecot-1.2-0.rc6.1 On Wed, Jul 8, 2009 at 1:25 AM, Ezequiel Alfíe wrote: > Hello everyone. > > I'm having a problem with convert-tool while trying to convert mbox > folders to maildir. > > I'm running dovecot-1.1.16 on Centos 5.3 > > If th

[Dovecot] Mailbox to maildir conversion

2009-07-08 Thread Klaus Rueschstroer
Hi, how i transfer the Tag's in the mbox File's ( X-Keywords: $label1) in the maildir structure With best regards Klaus Rueschstroer

Re: [Dovecot] Optimal quota method for SQL

2009-07-08 Thread Timo Sirainen
On Jul 8, 2009, at 8:39 AM, Tom Sommer wrote: I' ve got dovecot set up as LDA, and currently I'm using the dict- mysql method described for 1.2.0, but it's not really working at all. dovecot -n? Log output with mail_debug=yes when saving messages? Am I correct in assuming that with this met

Re: [Dovecot] Dovecot-1.1.15 panics

2009-07-08 Thread Mike Abbott
Either there's a bit stranger bug It appears to be related to the readdir()-returns-EINVAL issue. Fixing that stopped the assertion from failing. There is still lots of "noise" in the log though. The attached perl script just sends and retrieves mail over and over: $ ./dere.pl --iteratio

Re: [Dovecot] Dovecot and ACL

2009-07-08 Thread Mario Antonio
Daniel, "Dovecot v1.0 and v1.1 supports administrator-configured ACL files. v1.2+ supports also IMAP ACL extension which allows users to change ACLs themselves." http://wiki.dovecot.org/ACL I think to share mailboxes in OPen-Xchange, you will need Version 1.2 (IMap ACL extension) An Alternate

[Dovecot] Optimal quota method for SQL

2009-07-08 Thread Tom Sommer
Hi, I just installed 1.2.0 and I'm gonna set up some quota on my vitual users. I' ve got dovecot set up as LDA, and currently I'm using the dict-mysql method described for 1.2.0, but it's not really working at all. Am I correct in assuming that with this method I can define the quota limit in my

Re: [Dovecot] Sieve vacation with russian subject

2009-07-08 Thread Nikita Koshikov
On Wed, 8 Jul 2009 12:41:38 +0200 Axel Luttgens wrote: > Le 8 juil. 09 à 12:04, Nikita Koshikov a écrit : > > > Hello list, > > > > I have noticed that sieve vacation action breaks some non-english > > letters in the subject. > > I tested with russian language, if subject contains letters from

Re: [Dovecot] System users, mbox format and global ACLs

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 04:54, Timo Sirainen a écrit : On Tue, 2009-07-07 at 22:53 -0400, Timo Sirainen wrote: I had hoped no one would ever try to use ACLs with mbox format.. I don't think I want to try to make it work. Oops, forgot to delete the second sentence. I did it anyway after some interna

Re: [Dovecot] dovecot 1.2rc5 fails to authenticate user via GSSAPI

2009-07-08 Thread Michal Hlavinka
On Wednesday 08 July 2009 03:06:08 Timo Sirainen wrote: > On Tue, 2009-07-07 at 20:29 -0400, Timo Sirainen wrote: > > On Tue, 2009-07-07 at 20:20 -0400, Timo Sirainen wrote: > > > On Wed, 2009-06-24 at 15:38 +0200, Michal Hlavinka wrote: > > > > dovecot: auth(default): gssapi(user,192.168.0.1): aut

Re: [Dovecot] Sieve vacation with russian subject

2009-07-08 Thread Stephan Bosch
Oops forgot a few remarks. Axel Luttgens wrote: I don't know whether dovecot-sieve is supposed to do the conversion automatically, but it is sure that an RFC822 header MUST be in US-ASCII (so as to be 7bit-clean). Sieve is supposed to do the conversion implicitly, yes. The required encodings

Re: [Dovecot] Sieve vacation with russian subject

2009-07-08 Thread Stephan Bosch
Axel Luttgens wrote: Le 8 juil. 09 à 12:04, Nikita Koshikov a écrit : I don't know whether dovecot-sieve is supposed to do the conversion automatically, but it is sure that an RFC822 header MUST be in US-ASCII (so as to be 7bit-clean). The required encodings are described in: http://www

Re: [Dovecot] expire plugin with 1.2 cronjob undefined symbol: capability_string

2009-07-08 Thread Ralf Becker
Thanks, that's it! I've added it to the dovecot wiki: http://wiki.dovecot.org/Plugins/Expire By the way: You are using: #!/bin/bash MAIL_PLUGINS=${mail_plugins//imap_quota/} /usr/lib/dovecot/expire-tool $1 While "mail_plugins" in not defined and therefore empty it's the same like:

Re: [Dovecot] Sieve vacation with russian subject

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 12:04, Nikita Koshikov a écrit : Hello list, I have noticed that sieve vacation action breaks some non-english letters in the subject. I tested with russian language, if subject contains letters from specific diapason russian alphabet, the message received with unreadable

Re: [Dovecot] Problem with sieve and german umlauts

2009-07-08 Thread Robert Schetterer
Timo Sirainen schrieb: > On Mon, 2009-06-29 at 11:04 +0200, M. Bobkiewicz wrote: >> Dear list, >> I?m running a postfix (2.5.6) / Dovecot (1.1.11) on a Centos 5.2 box. >> I?ve written a small gui application to simply create Out of Office >> replys with sieve. The resulting code did work with mai

Re: [Dovecot] Dovecot and ACL

2009-07-08 Thread Daniel Spannbauer
Axel Luttgens schrieb: Le 8 juil. 09 à 11:55, Daniel Spannbauer a écrit : [...] Hmmm, I don't have a imap_acl-Plugin. Sorry but I forgot the Version: Version is 1.0.rc14 Hmm, I guess you're out of luck then; from http://wiki.dovecot.org/ACL: Dovecot v1.0 and v1.1 supports administrat

Re: [Dovecot] Dovecot and ACL

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 11:55, Daniel Spannbauer a écrit : [...] Hmmm, I don't have a imap_acl-Plugin. Sorry but I forgot the Version: Version is 1.0.rc14 Hmm, I guess you're out of luck then; from http://wiki.dovecot.org/ACL: Dovecot v1.0 and v1.1 supports administrator-configured ACL

[Dovecot] Sieve vacation with russian subject

2009-07-08 Thread Nikita Koshikov
Hello list, I have noticed that sieve vacation action breaks some non-english letters in the subject. I tested with russian language, if subject contains letters from specific diapason russian alphabet, the message received with unreadable subject, but text in the body with the same letters loo

Re: [Dovecot] expire plugin with 1.2 cronjob undefined symbol: capability_string

2009-07-08 Thread Robert Schetterer
dovecot@dovecot.org schrieb: > Hi, > > this looks like one of my queued problems: > > On AIX I get a message that indicates missing global symbols. > > For example "client_read_args". It is defined in src/imap/client.c but > just linked at build time to the "imap" executable, while the > "expire

Re: [Dovecot] Dovecot and ACL

2009-07-08 Thread Daniel Spannbauer
Axel Luttgens schrieb: Le 8 juil. 09 à 09:14, Daniel Spannbauer a écrit : Hello, I try to get per-mailbox-ACLs on dovecot. So, I've modded dovecot.conf: protocol imap { mail_plugins = acl } and plugin { acl = vfile } When I telnet to dovecot an try the command "capability" there

Re: [Dovecot] Dovecot and ACL

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 09:14, Daniel Spannbauer a écrit : Hello, I try to get per-mailbox-ACLs on dovecot. So, I've modded dovecot.conf: protocol imap { mail_plugins = acl } and plugin { acl = vfile } When I telnet to dovecot an try the command "capability" there is nothing abou

[Dovecot] expire plugin with 1.2 cronjob undefined symbol: capability_string

2009-07-08 Thread Robert Schetterer
Hi, sorry if this asked twice, i ve searched the list and found some equal posts, but couldnt get my problem fixed with it if running cronjob with expire ( using mysql ) i get dovecot -c /etc/dovecot/dovecot.conf --exec-mail ext /usr/lib/dovecot/expire-tool --test Info: Loading modules from direc

Re: [Dovecot] System users, mbox format and global ACLs

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 04:53, Timo Sirainen a écrit : [...] http://hg.dovecot.org/dovecot-1.2/rev/f3c6cabae3af http://hg.dovecot.org/dovecot-1.2/rev/4c8175452173 [...] [...]http://hg.dovecot.org/dovecot-1.2/rev/bf4f542ec6df [...] http://hg.dovecot.org/dovecot-1.2/rev/5d1a52e8d320 Ouch! After having s

Re: [Dovecot] mbox format and UIDVALIDITY

2009-07-08 Thread Axel Luttgens
Le 7 juil. 09 à 22:04, Timo Sirainen a écrit : On Wed, 2009-07-01 at 17:48 +0200, Axel Luttgens wrote: In fact, any additional mailbox is created with that unique and persistent UIDVALIDITY of 1. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/568ddefd7c18 Many thanks! Axel

Re: [Dovecot] Unable to (un)subscribe mbox with AIX, NFS and netapp filer

2009-07-08 Thread Axel Luttgens
Le 7 juil. 09 à 18:40, Timo Sirainen a écrit : [...] In that case I would have used those nfs_flush_*() functions. Good to know! Thanks for your comment, Axel

Re: [Dovecot] Wrong credential caching

2009-07-08 Thread Ralf Hildebrandt
* Timo Sirainen : > Here again it looks like the user is logging in a second later as > "Loser". Maybe the user has multiple clients? Or the client is just > messed up and used both. He changed it back and forth > > I think the auth cache may work case-insensitive, > > It's case-sensitive. >

[Dovecot] Dovecot and ACL

2009-07-08 Thread Daniel Spannbauer
Hello, I try to get per-mailbox-ACLs on dovecot. So, I've modded dovecot.conf: protocol imap { mail_plugins = acl } and plugin { acl = vfile } When I telnet to dovecot an try the command "capability" there is nothing about acl. I need acl for "open-xchange" so I can share Ma