[Dovecot] Keywords (labels) support via virtual folders

2007-10-27 Thread Robert Tomanek
Hi all, while I am rather a beginner when it comes to IMAP, I was thinking whether it would be possible (and feasible) to implement setting and unsetting of IMAP keywords with the means of virtual folders in Dovecot. The background is that the IMAP keywords seem to be a very useful thing t

Re: [Dovecot] few questions about 1.1*

2007-10-27 Thread Geert Hendrickx
On Fri, Oct 26, 2007 at 06:27:55PM +0300, Timo Sirainen wrote: > It'll bounce (or tempfail with quota_full_tempfail=yes). If you don't > want that, don't load the quota plugin. It would be interesting if deliver could toggle a field in some database once the user is over quota, so the inbound MTA

[Dovecot] Resource temporarily unavailable

2007-10-27 Thread karpi . lists
Hello, Im using dovecot for ages and im happy.. but at now strange things happens: mutt returns: Error talking to localhost (Connection reset by peer) so i started telnet: alnagon ~ % telnet localhost 143 Trying 127.0.0.1... Connected to alnagon.localnet.cz. Escape chara

Re: [Dovecot] few questions about 1.1*

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 11:05 +0200, Geert Hendrickx wrote: > On Fri, Oct 26, 2007 at 06:27:55PM +0300, Timo Sirainen wrote: > > It'll bounce (or tempfail with quota_full_tempfail=yes). If you don't > > want that, don't load the quota plugin. > > It would be interesting if deliver could toggle a fie

Re: [Dovecot] Keywords (labels) support via virtual folders

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 09:23 +0200, Robert Tomanek wrote: > while I am rather a beginner when it comes to IMAP, I was thinking > whether it would be possible (and feasible) to implement setting and > unsetting of IMAP keywords with the means of virtual folders in > Dovecot. Yes, I've thought a

[Dovecot] 1.1b4: Disconnected: EOF while appending

2007-10-27 Thread Luigi Rosa
I am moving some messages from an IMAP account to another. During the process I got this message: dovecot: IMAP(mailstore): Disconnected: EOF while appending bytes=263276/427306 (no core dump) I deleted dovecot.index.cache and dovecot.index.log and the error disappeared Ciao, luigi -- / +-

Re: [Dovecot] 1.1b4: Disconnected: EOF while appending

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 17:06 +0200, Luigi Rosa wrote: > dovecot: IMAP(mailstore): Disconnected: EOF while appending > bytes=263276/427306 Yes, this was a known bug in beta3/4. Finally fixed: http://hg.dovecot.org/dovecot/rev/f33be4f9ba4d signature.asc Description: This is a digitally signed mes

Re: [Dovecot] Resource temporarily unavailable

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 11:31 +0200, [EMAIL PROTECTED] wrote: > Oct 27 11:20:51 alnagon dovecot: IMAP(karpi): setuid(1000) failed: Resource > temporarily unavailable setuid(2) says: EAGAIN The uid does not match the current uid and uid brings process over its RLIMIT_NPROC r

Re: [Dovecot] Messages not marked as read

2007-10-27 Thread Timo Sirainen
On Thu, 2007-10-25 at 12:31 +0530, Manilal K M wrote: > But one of the users is having some unusual issues with his mailbox. > Whenever he clicked and open a new email, it's never marked as read. > He has to click and open several times to get it marked as "Read". I think you should first figure

Re: [Dovecot] 1.1b4: Disconnected: EOF while appending

2007-10-27 Thread Luigi Rosa
Timo Sirainen said the following on 10/27/2007 05:07 PM: Yes, this was a known bug in beta3/4. Finally fixed: http://hg.dovecot.org/dovecot/rev/f33be4f9ba4d Well.. yes and no. :) After applying tthe patch the message disappeared from dovecot log. But after moving 519 messages out og 3478 with

Re: [Dovecot] master user can not login with digest-md5 password

2007-10-27 Thread Timo Sirainen
On Thu, 2007-10-25 at 16:10 +0200, Daniel wrote: > I'm trying to use a master user, here is what I'm doing: > > dovecot.conf: > auth default { > [...] > passdb passwd-file { > args = /etc/dovecot.passdb_master > pass = yes > master = yes > } > > passdb passwd-file { > args =

[Dovecot] time going back

2007-10-27 Thread zbigniew szalbot
Hi all, Sorry if this is trivial. I am just concerned. In Poland we will be putting the clocks one hour behind (back) on Sunday. I once saw dovecot killing itself because I manually adjusted the clock in the past. Will it not happen in this case? Thanks for your ideas. Zbigniew Szalbot

Re: [Dovecot] 1.1b4: Disconnected: EOF while appending

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 17:23 +0200, Luigi Rosa wrote: > Timo Sirainen said the following on 10/27/2007 05:07 PM: > > > Yes, this was a known bug in beta3/4. Finally fixed: > > http://hg.dovecot.org/dovecot/rev/f33be4f9ba4d > > Well.. yes and no. :) > After applying tthe patch the message disappear

Re: [Dovecot] CR-LF handling (WAS: Problem in mbox-sync.c)

2007-10-27 Thread Timo Sirainen
On Tue, 2007-10-23 at 14:18 -0400, Gerard wrote: > > I've been thinking about this a little more since yesterday. Is there > > a reason why Dovecot shouldn't simply convert CR-LF line endings to LF > > on the fly, or at least have a configuration option you can turn on > > that will do this? Thi

Re: [Dovecot] time going back

2007-10-27 Thread Jeff Grossman
zbigniew szalbot wrote: Hi all, Sorry if this is trivial. I am just concerned. In Poland we will be putting the clocks one hour behind (back) on Sunday. I once saw dovecot killing itself because I manually adjusted the clock in the past. Will it not happen in this case? Thanks for your idea

Re: [Dovecot] dovecot-auth: Too many open files

2007-10-27 Thread Timo Sirainen
On Tue, 2007-10-23 at 13:16 -0400, Joe Allesi -X (joallesi - Coyote Creek Consulting at Cisco) wrote: > [version: dovecot-0.99.11-4.EL4.src.rpm] > > We recently experienced an issue that prevented all new IMAP logins from > occurring. Although it appears that it was due to running out of > availab

Re: [Dovecot] virtual hosting

2007-10-27 Thread Timo Sirainen
On Fri, 2007-10-26 at 12:24 +0300, [EMAIL PROTECTED] wrote: > I have smtp server(postfix) setup for virtual hosing and working fine, > but now I just could not have my client connect to the pop3 server to > retrieve emails. Even though it connect and authenticated alright. It > seems the directory

Re: [Dovecot] "Can't sync delivery mail"

2007-10-27 Thread Timo Sirainen
On Wed, 2007-10-24 at 16:27 -0500, Rich Winkel wrote: > Dovecot 1.0.3 > Deliver is saying this on two specific emails. Other emails to these 2 > users are going through fine. Looking at the mail headers the only > thing questionable I see is: > From: "AMS Publication Division"@ams.org > Is this t

Re: [Dovecot] 1.1b4: Disconnected: EOF while appending

2007-10-27 Thread Luigi Rosa
Timo Sirainen said the following on 10/27/2007 05:47 PM: I think this is a Thunderbird bug. "Append aborted" happens only when trying to save a 0 byte message. The error message is bad though, changed: http://hg.dovecot.org/dovecot/rev/744e4f5b6cd0 Ok, now the error changed to that one, thank

Re: [Dovecot] More core dump stack traces

2007-10-27 Thread Timo Sirainen
On Tue, 2007-10-23 at 21:32 +1300, Lloyd Parkes wrote: > #3 0x001192a4 in client_destroy () > #4 0x001196c8 in client_continue_pending_input () > #5 0x00114ecc in cmd_fetch () > #6 0x0011515c in cmd_fetch () > #7 0x00118828 in client_command_cancel () >

Re: [Dovecot] quota problems - which Dovecot version ?

2007-10-27 Thread Timo Sirainen
On Tue, 2007-10-23 at 13:27 +0200, Albert Schweizer wrote: > I'm not sure if the quotas are supported in my Dovecot version : > > version : 0.99.14 > release : 1.EL4 Probably not. It's not a good idea to use v0.99 anymore anyway. > Building from sources neither worked Why not? signature.

Re: [Dovecot] Duplicate message

2007-10-27 Thread Timo Sirainen
On Sun, 2007-10-21 at 14:58 +0100, Timothy Murphy wrote: > I just wondered though why I get the duplicate messages, > and if there is some simple way to avoid them? There are two possibilities: 1) The messages really get saved twice. 2) IMAP client copies the message to the same mailbox duplicat

Re: [Dovecot] receive date wrong in outlook

2007-10-27 Thread Timo Sirainen
On Sun, 2007-10-21 at 15:21 +0200, Farkas Levente wrote: > probably that's the problem. what internaldate in dovecot, the file's > modify date in the maildir? i'd be nice if i can somehow set > internaldate to the date field with dovecot (actually i already wrote a > shell script but it's not the b

Re: [Dovecot] 1.0.5: many pop3-login processes?

2007-10-27 Thread Timo Sirainen
On Thu, 2007-10-11 at 14:36 -0400, Alan Ferrency wrote: > On this particular server we have exactly 2 different users who log in > via POP, and they seem to be set up to log in automatically once every > 10 minutes. > > imap-login process count is reasonable: there are 11 processes running > and i

Re: [Dovecot] Dovecot 1.1b2: Enet_connect_unix(/usr/local/dovecot-1.1/var/run/dovecot/dict-server) failed: Permission denied

2007-10-27 Thread Timo Sirainen
On Tue, 2007-10-02 at 12:46 -0700, David Jonas wrote: > # ./dovecot -F -c ../etc/dovecot.conf > Enet_connect_unix(/usr/local/dovecot-1.1/var/run/dovecot/dict-server) > failed: Permission denied vmail user needs to have +x access to all directories in this path. > Oct 2 12:23:25 kelly-a dovecot:

Re: [Dovecot] quota problems - which Dovecot version ?

2007-10-27 Thread Scott Silva
on 10/27/2007 9:14 AM Timo Sirainen spake the following: On Tue, 2007-10-23 at 13:27 +0200, Albert Schweizer wrote: I'm not sure if the quotas are supported in my Dovecot version : version : 0.99.14 release : 1.EL4 Probably not. It's not a good idea to use v0.99 anymore anyway. Building fro

Re: [Dovecot] 1.1b3 and Maildir quota

2007-10-27 Thread Timo Sirainen
On Sun, 2007-10-21 at 13:55 -0500, Rick Romero wrote: > passdb vpopmail { > # [cache_key=] - See cache_key in PAM for explanation. > # [quota_template=] - %q expands to Maildir++ quota > # (eg. quota_template=quota_rule=*:backend=%q) > #args = > quota_template=quota_rule=*:bac

[Dovecot] Segfault when opening a public folder, dovecot 1.1 beta4

2007-10-27 Thread Adam McDougall
I was trying to debug this with gdb, but I'm not sure how to make env MAIL=maildir:~/Maildir MAIL_PLUGINS=acl ACL=vfile gdb /tmp/imap understand the #shared/decs namespace from below so I can SELECT it. I have a number of maildirs under #ahared/decs, I tried opening at least 2 of them but dovecot

Re: [Dovecot] Sometimes Dovecot v1.0.3 does not accept new connections

2007-10-27 Thread Timo Sirainen
On Wed, 2007-10-17 at 16:12 +0200, Steffen Kaiser wrote: > occasionally Dovecot stops to accept new connections. Already existing > ones do function properly. Strace'ing dovecot-auth reveals that it is > running and is authentificating users, the logfile logs new connections. > However, lots of

Re: [Dovecot] Segfault when opening a public folder, dovecot 1.1 beta4

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 13:02 -0400, Adam McDougall wrote: > I was trying to debug this with gdb, but I'm not sure how to make > env MAIL=maildir:~/Maildir MAIL_PLUGINS=acl ACL=vfile gdb /tmp/imap > understand the #shared/decs namespace from below so I can SELECT it. Easiest way to figure these kin

Re: [Dovecot] Outlook can't see namespace folders

2007-10-27 Thread Timo Sirainen
On Fri, 2007-10-05 at 12:12 -0700, James wrote: > Hi guys i understand that you can't subscribe to the Prefix names of > namespace folders right now with dovecot. > But for instance if i user outlook express and it can't see the prefix > name then it can't see the subfolders of that "prefix folde

Re: [Dovecot] trouble deleting folders that only contain folders

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-06 at 15:57 -0500, Ken A wrote: > x delete dir > x NO Mailbox isn't selectable: dir > >>> > >>> That looks like it's trying to open the mailbox before deleting it. What > >>> plugins do you use? > >>> > >> > >> quota imap_quota > > In tracking this down, I found that by c

Re: [Dovecot] Possible Caching Bug showing up as a MIME BoundaryIssue

2007-10-27 Thread Timo Sirainen
On Thu, 2007-09-27 at 09:53 -0400, Kevin A. McGrail wrote: > I continue to deal with this issue where the MIME Boundary appears on the > bottom of the email and it is still happening as of Dovecot 1.0.5. > Unfortunately, it continues to happen to me ONLY with one email box that I > have seen and

Re: [Dovecot] Resource temporarily unavailable - solved

2007-10-27 Thread karpi
Thank you Timo, that's the ticket! I was running too much processess (>300) so i shut down some consuming applications, and dovecot runs ok. Now i will tune my system setting in /etc/security/limits.conf thanks again.. 27/10/07 17:11, [EMAIL PRO

Re: [Dovecot] Segfault when opening a public folder, dovecot 1.1 beta4

2007-10-27 Thread Adam McDougall
On Sat, Oct 27, 2007 at 08:21:54PM +0300, Timo Sirainen wrote: On Sat, 2007-10-27 at 13:02 -0400, Adam McDougall wrote: > I was trying to debug this with gdb, but I'm not sure how to make > env MAIL=maildir:~/Maildir MAIL_PLUGINS=acl ACL=vfile gdb /tmp/imap > understand the #shared/decs n

[Dovecot] dovecot 1.1b4 not listing public folder children

2007-10-27 Thread Adam McDougall
ACL plugin still disabled. The folders listed below definitely do have Children. telnet session problem example in 1.1b4: * OK Dovecot ready. ? login mcdouga9 password ? OK Logged in. 9 LIST "" "#shared/decs/%" * LIST (\HasNoChildren) "/" "#shared/decs/support" * LIST (\HasNoChildren) "/" "#shar

Re: [Dovecot] Segfault when opening a public folder, dovecot 1.1 beta4

2007-10-27 Thread Timo Sirainen
On 27.10.2007, at 21.51, Adam McDougall wrote: But the real problem is that dovecot-shared file is owned by a group that your imap process doesn't belong to. You probably want to add it to mail_extra_groups. I want to avoid adding a group to any user that logs in because some of them

Re: [Dovecot] dovecot 1.1b4 not listing public folder children

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 15:00 -0400, Adam McDougall wrote: > ACL plugin still disabled. The folders listed below definitely do have > Children. http://hg.dovecot.org/dovecot/rev/80419a82081f signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Segfault when opening a public folder, dovecot 1.1 beta4

2007-10-27 Thread Adam McDougall
On Sat, Oct 27, 2007 at 10:13:46PM +0300, Timo Sirainen wrote: On 27.10.2007, at 21.51, Adam McDougall wrote: >> But the real problem is that dovecot-shared file is owned by a group >> that your imap process doesn't belong to. You probably want to add it to >> mail_extra_groups. >> >>

[Dovecot] do 1.1b4 assertion failed: (mailbox_list_is_valid_existing_name

2007-10-27 Thread Adam McDougall
I think this is where I left off last weekend. Instead of this happening at the base of one of my shared mail namespaces, it happens when I try to select a top level folder inside the namespace, or try to directly select an entire path to a folder. This only happens when ACL is enabled. Let m

Re: [Dovecot] dovecot 1.1b4 not listing public folder children

2007-10-27 Thread Adam McDougall
On Sat, Oct 27, 2007 at 10:43:13PM +0300, Timo Sirainen wrote: On Sat, 2007-10-27 at 15:00 -0400, Adam McDougall wrote: > ACL plugin still disabled. The folders listed below definitely do have Children. http://hg.dovecot.org/dovecot/rev/80419a82081f worked

Re: [Dovecot] do 1.1b4 assertion failed: (mailbox_list_is_valid_existing_name

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 16:31 -0400, Adam McDougall wrote: > Oct 27 16:03:27 gribble dovecot: IMAP(mcdouga9): file mailbox-list-maildir.c: > line 186 > (maildir_list_get_path): assertion failed: > (mailbox_list_is_valid_existing_name(_list, name)) Are you using patched beta4 or all changes from h

Re: [Dovecot] do 1.1b4 assertion failed: (mailbox_list_is_valid_existing_name

2007-10-27 Thread Adam McDougall
On Sat, Oct 27, 2007 at 11:38:58PM +0300, Timo Sirainen wrote: On Sat, 2007-10-27 at 16:31 -0400, Adam McDougall wrote: > Oct 27 16:03:27 gribble dovecot: IMAP(mcdouga9): file mailbox-list-maildir.c: line 186 > (maildir_list_get_path): assertion failed: (mailbox_list_is_valid_existing_nam

Re: [Dovecot] Segfault when opening a public folder, dovecot 1.1 beta4

2007-10-27 Thread Adam McDougall
If you don't need the other groups in Dovecot you can get rid of them and just have the process use the user's primary group and mail_extra_groups. I think this should work: userdb passwd { args = system_user= } Actually, yes I like this alot and put this chan

Re: [Dovecot] do 1.1b4 assertion failed: (mailbox_list_is_valid_existing_name

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 16:31 -0400, Adam McDougall wrote: > Oct 27 16:03:27 gribble dovecot: IMAP(mcdouga9): file mailbox-list-maildir.c: > line 186 > (maildir_list_get_path): assertion failed: > (mailbox_list_is_valid_existing_name(_list, name)) OK, this should fix a lot of things: http://hg.do

Re: [Dovecot] Segfault when opening a public folder, dovecot 1.1 beta4

2007-10-27 Thread Timo Sirainen
On Sat, 2007-10-27 at 17:42 -0400, Adam McDougall wrote: > If you don't need the other groups in Dovecot you can get rid of them and > just have the process use the user's primary group and mail_extra_groups. > I > think this should work: > > userdb passwd { > args = syste

[Dovecot] v1.1.beta5 released

2007-10-27 Thread Timo Sirainen
http://dovecot.org/releases/1.1/beta/dovecot-1.1.beta5.tar.gz http://dovecot.org/releases/1.1/beta/dovecot-1.1.beta5.tar.gz.sig APPEND should be working now. Also lots of fixes to handling namespace prefixes and namespaces where virtual separator differs from real separator. zlib plugin now suppo

[Dovecot] v1.0.6 released

2007-10-27 Thread Timo Sirainen
http://dovecot.org/releases/1.0/dovecot-1.0.6.tar.gz http://dovecot.org/releases/1.0/dovecot-1.0.6.tar.gz.sig * IDLE: Interval between mailbox change notifies is now 1 second, because some clients keep a long-running IDLE connection and use other connections to actually