[Dovecot-news] Released Pigeonhole Sieve v0.1.15 and ManageSieve v0.11.11 for Dovecot v1.2.10

2010-01-25 Thread Stephan Bosch
Hello Dovecot users, It's been a while since the last Pigeonhole Sieve and ManageSieve releases. That is why this release includes quite a few changes. Most interestingly, the include extension is updated to match the most recent specification, the Sieve interpreter now includes plugin support

[Dovecot] backup restore mailbox files manually

2010-01-25 Thread coolatt
Hi ALL... Am working on a solution to backup maildir mailboxes using rsync. All mailbox directories are mirrored on another machine. I need advise regarding restore of the INBOX SENT files from the backup. For e.g , [1] Can I just copy file-x-y-z from /Maildir/cur to restore it on

[Dovecot] acl flag to limit imap_acl based acl changes

2010-01-25 Thread Amon Ott
Hi all! I have tried the imap_acl plugin with 1.2.9 today, but was not able to limit acl changes for those mailboxes where acl changes should be forbidden. http://wiki.dovecot.org/ACL says that a or admin covers Administration rights to the mailbox. However, removing a from owner acl (using

[Dovecot] Released Pigeonhole Sieve v0.1.15 and ManageSieve v0.11.11 for Dovecot v1.2.10

2010-01-25 Thread Stephan Bosch
Hello Dovecot users, It's been a while since the last Pigeonhole Sieve and ManageSieve releases. That is why this release includes quite a few changes. Most interestingly, the include extension is updated to match the most recent specification, the Sieve interpreter now includes plugin

[Dovecot] blocked for xx secs

2010-01-25 Thread Andrew Hearn
Hello, Occasionally (a few times a day) we get batches of Warnings in the log such as: dovecot: Warning: chdir(/maildir/x.co.uk/users/y) blocked for 18 secs This tends to last a minute or so for different users. /maildir is a NFS mount, and I'm suspecting it's the NFS server being busy and

[Dovecot] Delete messages with archivemail

2010-01-25 Thread gstyle
Hi, I have set up a dovecot imap server (Version 1.0.15 on Debain Lenny). Until know I used courier. Every night I run a script calling archivemail ( http://archivemail.sourceforge.net/) to delete all messages in the Spam folder that are older than 30 days archivemail deletes the files

Re: [Dovecot] backup restore mailbox files manually

2010-01-25 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 25 Jan 2010, coolatt wrote: Am working on a solution to backup maildir mailboxes using rsync. All mailbox directories are mirrored on another machine. I need advise regarding restore of the INBOX SENT files from the backup. For e.g , [1]

Re: [Dovecot] Delete messages with archivemail

2010-01-25 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 25 Jan 2010, gstyle wrote: I know that dovecot uses index files to speed up Maildir access. Will there be any problems with the index files when I delete the old spam like this? No, but the usual problems with distributed IMAP: e.g. an

[Dovecot] still asserts with 1.2.10

2010-01-25 Thread Matthias Rieber
Hi, I've still asserts while accessing virtual folders: Program terminated with signal 6, Aborted. [New process 6714] #0 0xf7e57556 in raise () from /lib/libc.so.6 #0 0xf7e57556 in raise () from /lib/libc.so.6 No symbol table info available. #1 0xf7e58d78 in abort () from /lib/libc.so.6 No

Re: [Dovecot] Delete messages with archivemail

2010-01-25 Thread Charles Marcus
On 2010-01-25 8:53 AM, gstyle wrote: Every night I run a script calling archivemail ( http://archivemail.sourceforge.net/) to delete all messages in the Spam folder that are older than 30 days archivemail deletes the files directly in the Maildir folder. I am not using IMAP for this (cause

Re: [Dovecot] Delete messages with archivemail

2010-01-25 Thread gstyle
2010/1/25 Charles Marcus cmar...@media-brokers.com You'd be better off upgrading to the latest stable version (via backports) and using the expire plugin - its made for doing things just like this. http://wiki.dovecot.org/Plugins/Expire Mh... could be an option... Do I only install the

Re: [Dovecot] Delete messages with archivemail

2010-01-25 Thread Charles Marcus
On 2010-01-25 10:52 AM, gstyle wrote: Do I only install the new packages and tweak the config, or do I have to convert the Maildirs in any way for an upgrade from Dovecot 1.0? Anything importent to consider for the upgrade? http://wiki.dovecot.org/Upgrading/ If you're already using maildir,

Re: [Dovecot] Delete messages with archivemail

2010-01-25 Thread Dennis Guhl
gstyle schrieb: 2010/1/25 Charles Marcus cmar...@media-brokers.com Moin You'd be better off upgrading to the latest stable version (via backports) and using the expire plugin - its made for doing things just like this. http://wiki.dovecot.org/Plugins/Expire Mh... could be an option... Do

[Dovecot] sieve or another vacation/autoreply

2010-01-25 Thread Lampa
Hello, i'm trying to do some delivery notification for each incoming address. Problem is that sieve vacation has :days but minimum value is 1 eg period in which addresses are kept and are not responded to - but that is not that i want. Is there other extension (in devel ???) or some other way

Re: [Dovecot] quick question

2010-01-25 Thread David Halik
On 01/22/2010 05:14 PM, Brandon Davidson wrote: Yeah, as long as the users don't see it, I'm happy to live with the messages in the log file. -Brad *sigh*, it looks like there still might be the occasional user visible issue. I was hoping that once the assert stopped happening, and the

Re: [Dovecot] quick question

2010-01-25 Thread Charles Marcus
On 2010-01-25 12:57 PM, David Halik wrote: I just had user experience this with TB 2, and after looking at the logs I found the good ole' stale nfs message: Maybe TB3 would be better behaved? It has many, many MAP improvements over TB2... worth a try at least... -- Best regards, Charles

Re: [Dovecot] quick question

2010-01-25 Thread David Halik
On 01/25/2010 01:00 PM, Charles Marcus wrote: On 2010-01-25 12:57 PM, David Halik wrote: I just had user experience this with TB 2, and after looking at the logs I found the good ole' stale nfs message: Maybe TB3 would be better behaved? It has many, many MAP improvements over TB2...

Re: [Dovecot] sieve or another vacation/autoreply

2010-01-25 Thread Stephan Bosch
Lampa wrote: Hello, i'm trying to do some delivery notification for each incoming address. Problem is that sieve vacation has :days but minimum value is 1 eg period in which addresses are kept and are not responded to - but that is not that i want. Is there other extension (in devel ???) or

Re: [Dovecot] quick question

2010-01-25 Thread David Halik
On 01/25/2010 01:02 PM, David Halik wrote: On 01/25/2010 01:00 PM, Charles Marcus wrote: On 2010-01-25 12:57 PM, David Halik wrote: I just had user experience this with TB 2, and after looking at the logs I found the good ole' stale nfs message: Maybe TB3 would be better behaved? It has

Re: [Dovecot] quick question

2010-01-25 Thread Brandon Davidson
David, -Original Message- From: David Halik [mailto:dha...@jla.rutgers.edu] *sigh*, it looks like there still might be the occasional user visible issue. I was hoping that once the assert stopped happening, and the process stayed alive, that the users wouldn't see their inbox

[Dovecot] Proxying to a DNS Name

2010-01-25 Thread Andreas Schulze
Hello, reading the wiki I found http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy?highlight=(no DNS resolving) I have a setup where the destination of a proxyconnection is an DNS name. Is there a technical reason which currently require host= to be an IP address ? -- Andreas Schulze

Re: [Dovecot] mailbox format w/ separate headers/data

2010-01-25 Thread John Tobin
On Fri, Jan 22, 2010 at 09:03:42PM -0500, Charles Sprickman wrote: On Fri, 22 Jan 2010, Frank Cusack wrote: On January 22, 2010 11:05:22 PM +0200 Timo Sirainen t...@iki.fi wrote: Dunno about zfs, but I've heard that at least in one NetApp installation deduplication was way too heavyweight.

[Dovecot] dovecot 1.2.9 crash on subscribe with shared namespace

2010-01-25 Thread Alessandro Bono
Hi all I'm testing dovecot to migrate from a cyrus 2.2 With TB2 if I use subscribe dovecot crash but only if I enable a shared namespace. Without explicit namespace or only with private namespace subscribe works Is this a problem already fixed in 1.2.10? is it a problem of my configuration? I

Re: [Dovecot] quick question

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 12:57 -0500, David Halik wrote: Jan 25 11:39:24 gehenna21 dovecot: IMAP(user): fdatasync(/rci/nqu/rci/u8/user/dovecot/.INBOX/dovecot-uidlist) failed: Stale NFS file handle Well, two possibilities: a) The attached patch fixes this b) Dotlocking isn't working for you..

Re: [Dovecot] acl flag to limit imap_acl based acl changes

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 11:57 +0100, Amon Ott wrote: http://wiki.dovecot.org/ACL says that a or admin covers Administration rights to the mailbox. However, removing a from owner acl (using lr) does not help, the user can still change all acl flags for all users with imap. Write accesses to

Re: [Dovecot] still asserts with 1.2.10

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 16:36 +0100, Matthias Rieber wrote: Hi, I've still asserts while accessing virtual folders: You didn't answer my last mail about it: http://dovecot.org/list/dovecot/2010-January/046009.html I can't seem to reproduce it. Although now that I saw your dovecot -n output,

Re: [Dovecot] Proxying to a DNS Name

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 13:58 +0100, Andreas Schulze wrote: Hello, reading the wiki I found http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy?highlight=(no DNS resolving) I have a setup where the destination of a proxyconnection is an DNS name. Is there a technical reason which

Re: [Dovecot] dovecot 1.2.9 crash on subscribe with shared namespace

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 15:34 +0100, Alessandro Bono wrote: namespace: type: shared separator: / prefix: shared/%%n Add '/' after the prefix. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] STATUS command and total/read message count

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 08:25 +0100, Florian Effenberger wrote: Some folders have only read messages, others have only unread messages, and some other have read and unread messages. Thunderbird now only shows the number of unread messages in a folder when using the STATUS command. In order to

Re: [Dovecot] quick question

2010-01-25 Thread David Jonas
On 01/22/2010 10:15 AM, Brandon Davidson wrote: We've thought about enabling IP-based session affinity on the load balancer, but this would concentrate the load of our webmail clients, as well as not really solving the problem for users that leave clients open on multiple systems. Webmail

Re: [Dovecot] Proxying to a DNS Name

2010-01-25 Thread Miquel van Smoorenburg
On Mon, 2010-01-25 at 20:53 +0200, Timo Sirainen wrote: b) Get some async DNS library from somewhere. I have been looking for that as well recenly, and I stumbled upon the unbound library, part of the unbound project. http://unbound.net/documentation/libunbound.html HTH, Mike.

Re: [Dovecot] Proxying to a DNS Name

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 20:22 +0100, Miquel van Smoorenburg wrote: On Mon, 2010-01-25 at 20:53 +0200, Timo Sirainen wrote: b) Get some async DNS library from somewhere. I have been looking for that as well recenly, and I stumbled upon the unbound library, part of the unbound project. I

Re: [Dovecot] quick question

2010-01-25 Thread Brandon Davidson
David, Though we aren't using NFS we do have a BigIP directing IMAP and POP3 traffic to multiple dovecot stores. We use mysql authentication and the proxy_maybe option to keep users on the correct box. My tests using an external proxy box didn't significantly reduce the load on the stores

Re: [Dovecot] sieve or another vacation/autoreply

2010-01-25 Thread Frank Cusack
On January 25, 2010 6:32:34 PM +0100 Lampa lamp...@gmail.com wrote: i'm trying to do some delivery notification for each incoming address. Problem is that sieve vacation has :days but minimum value is 1 eg period in which addresses are kept and are not responded to - but that is not that i

Re: [Dovecot] quick question

2010-01-25 Thread Timo Sirainen
On 25.1.2010, at 21.30, Brandon Davidson wrote: Unfortunately we're currently using LDAP auth via PAM... so even if I could get the SQL and monitoring issues resolved, I think I'd have a hard time convincing my peers that adding a SQL server as a single point of failure was a good idea. If it

Re: [Dovecot] Released Pigeonhole Sieve v0.1.15 and ManageSieve v0.11.11 for Dovecot v1.2.10

2010-01-25 Thread Bruce Bodger
On Jan 25, 2010, at 5:03 AM, Stephan Bosch wrote: The releases are available as follows: Sieve: http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.15.tar.gz http://www.rename-it.nl/dovecot/1.2/dovecot-1.2- sieve-0.1.15.tar.gz.sig First time I ever received an error when compiling

Re: [Dovecot] quick question

2010-01-25 Thread Brandon Davidson
Timo, -Original Message- From: Timo Sirainen [mailto:t...@iki.fi] On 25.1.2010, at 21.30, Brandon Davidson wrote: If it could be set up to just fall back to using a local connection in the event of a SQL server outage, that might help things a bit. Anyone know how that might

Re: [Dovecot] sieve or another vacation/autoreply

2010-01-25 Thread Lampa
Need autmatic delivery notification. You will sent email to supp...@domain.tld (reporting bugs or problem) and you will get back delivery notification (autogenerated). Example: - From: supp...@domain.tld Subject: Automatic reply - Delivery notification Your email will be processed

Re: [Dovecot] quick question

2010-01-25 Thread David Halik
On 01/25/2010 02:18 PM, David Halik wrote: On 01/25/2010 01:31 PM, Timo Sirainen wrote: On Mon, 2010-01-25 at 12:57 -0500, David Halik wrote: Jan 25 11:39:24 gehenna21 dovecot: IMAP(user): fdatasync(/rci/nqu/rci/u8/user/dovecot/.INBOX/dovecot-uidlist) failed: Stale NFS file handle Well, two

Re: [Dovecot] Released Pigeonhole Sieve v0.1.15 and ManageSieve v0.11.11 for Dovecot v1.2.10

2010-01-25 Thread Stephan Bosch
Bruce Bodger wrote: On Jan 25, 2010, at 5:03 AM, Stephan Bosch wrote: The releases are available as follows: Sieve: http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.15.tar.gz http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.15.tar.gz.sig First time I ever received an

Re: [Dovecot] quick question

2010-01-25 Thread Timo Sirainen
On Mon, 2010-01-25 at 15:12 -0500, David Halik wrote: I patched and immediately starting seeing *many* of these: Jan 25 15:05:33 gehenna18.rutgers.edu dovecot: IMAP(user): lseek(/rci/nqu/rci/u1/sendick/dovecot/.Trash/dovecot-uidlist) failed: Bad file descriptor Hmm. I put it through a few

Re: [Dovecot] still asserts with 1.2.10

2010-01-25 Thread Matthias Rieber
Hi, On Mon, 25 Jan 2010, Timo Sirainen wrote: On Mon, 2010-01-25 at 16:36 +0100, Matthias Rieber wrote: Hi, I've still asserts while accessing virtual folders: You didn't answer my last mail about it: http://dovecot.org/list/dovecot/2010-January/046009.html I can't seem to reproduce it.

Re: [Dovecot] Released Pigeonhole Sieve v0.1.15 and ManageSieve v0.11.11 for Dovecot v1.2.10

2010-01-25 Thread Bruce Bodger
On Jan 25, 2010, at 2:16 PM, Stephan Bosch wrote: Sigh.. not again. I forgot extern at various occasions (and possibly even more): http://hg.rename-it.nl/dovecot-1.2-sieve/rev/fe0b2ff50326 Why doesn't GCC warn about this? I usually only find out when people like you report compile

Re: [Dovecot] quick question

2010-01-25 Thread Timo Sirainen
On 25.1.2010, at 21.53, Brandon Davidson wrote: Or just 'passdb pam { ... }' for the second one in our case, since we're using system auth with pam_ldap/nss_ldap. Is the SQL connection/query timeout configurable? It would be nice to make a very cursory attempt at proxying, and immediately

Re: [Dovecot] quick question

2010-01-25 Thread Brandon Davidson
Timo, On 1/25/10 12:31 PM, Timo Sirainen t...@iki.fi wrote: I don't think it's immediate.. But it's probably something like: - notice it's not working - reconnect - requests are queued - reconnect fails, hopefully soon, but MySQL connect at least fails in max. 10 seconds - reconnect

Re: [Dovecot] sieve or another vacation/autoreply

2010-01-25 Thread Lampa
Hello, thank you for pointing in right direction. require [enotify, variables, fileinto, envelope]; #if address :matches :all from * { # set from_addr ${1}; #} if envelope :matches from * { # URI-encode the recipient address when necessary set :encodeurl from ${1};

Re: [Dovecot] quick question

2010-01-25 Thread David Halik
On 01/25/2010 03:26 PM, Timo Sirainen wrote: On Mon, 2010-01-25 at 15:12 -0500, David Halik wrote: I patched and immediately starting seeing *many* of these: Jan 25 15:05:33 gehenna18.rutgers.edu dovecot: IMAP(user): lseek(/rci/nqu/rci/u1/sendick/dovecot/.Trash/dovecot-uidlist) failed: Bad

Re: [Dovecot] dovecot 1.2.9 crash on subscribe with shared namespace

2010-01-25 Thread Alessandro Bono
On Mon, 2010-01-25 at 20:56 +0200, Timo Sirainen wrote: On Mon, 2010-01-25 at 15:34 +0100, Alessandro Bono wrote: namespace: type: shared separator: / prefix: shared/%%n Add '/' after the prefix. works thanks Timo -- Cordiali Saluti Alessandro Bono

Re: [Dovecot] quick question

2010-01-25 Thread David Halik
No guts no glory! So far, so good. The first patch started spewing messages within seconds. I've been running for about twenty minutes with this version and I haven't seen much of anything yet. I'll report back tomorrow after it has a day to burn in. It's still a bit buggy. I haven't

Re: [Dovecot] sieve or another vacation/autoreply

2010-01-25 Thread Frank Cusack
On January 25, 2010 9:10:42 PM +0100 Lampa lamp...@gmail.com wrote: Need autmatic delivery notification. You could find my patch which I posted roughly a month ago. It allows '0' as the :days parameter to vacation. Maybe you prefer that to notify, maybe not. -frnak

Re: [Dovecot] Proxying to a DNS Name

2010-01-25 Thread Andreas Schulze
Hello Timo, a) Assume the hang never happens and just do the blocking lookups. maybe switchable. It's suggested to run a caching dns on every system. In this case a hang realy never happens Thanks Andreas -- Andreas Schulze Internetdienste | P532 DATEV eG 90329 Nürnberg | Telefon +49 911

Re: [Dovecot] backup restore mailbox files manually

2010-01-25 Thread CoolAtt NNA
When I delete the mail file from /Maildir/cur and restore it from the backup , I cannot see the body of the email when I view it (only the subject appears) I restored only a single mail file using scp: scp