[Dovecot] quota not updated

2010-08-02 Thread Martin Ott
Hi, we're using quota with the maildir backend. When new mail arrives, the quota gets updated. But when mail is expunged, quota stays the same (see imap dialog below). We're using the latest version from hg ( 1.2.13 ). Any ideas? ###quota part from dovecot -n plugin: quota: maildir:User quota

Re: [Dovecot] LDAP + mail_location: Get %d from customfield

2010-08-02 Thread Denny Schierz
hi, Am Freitag, den 30.07.2010, 15:24 +0100 schrieb Timo Sirainen: pass_attrs = .., postAddress=domain Assuming v1.1+. This changes the username to u...@domain everywhere. thanks for helping :-) But, it doesn't work: ldap.conf: user_attrs =

Re: [Dovecot] LDAP + mail_location: Get %d from customfield

2010-08-02 Thread Denny Schierz
hi, Am Montag, den 02.08.2010, 10:08 +0200 schrieb Denny Schierz: http://pastebin.com/RZfpZkyc so I assume, that %d isn't filled ... any suggestions? I've forgotten to say: our version from Dovecot is 1.2.11 cu denny signature.asc Description: Dies ist ein digital signierter

Re: [Dovecot] Cant compile managesieve 0.11.11 on Solaris10

2010-08-02 Thread Denny Schierz
Am Donnerstag, den 29.07.2010, 23:53 +0900 schrieb Kenji Iuchi: Please show me configure and Comple Options. $ ./configure OPTIONS ./configure --prefix=/usr/local/dovecot/managesieve-0.11 --with-dovecot=/usr/local/dovecot/src/dovecot-1.2.11

Re: [Dovecot] error 89 when loading plugin

2010-08-02 Thread John O'Brien
Pascal, On 02/08/2010, at 2:22 AM, Pascal Volk wrote: On 08/01/2010 08:37 AM John O'Brien wrote: Hi, I'm very confused - that's not too difficult for me. I have written a small plugin change_passwd_plugin.c I would like this custom IMAP command to be available to all users. The code

Re: [Dovecot] LDAP + mail_location: Get %d from customfield

2010-08-02 Thread Timo Sirainen
On Mon, 2010-08-02 at 10:08 +0200, Denny Schierz wrote: pass_attrs = .., postAddress=domain Assuming v1.1+. This changes the username to u...@domain everywhere. thanks for helping :-) But, it doesn't work: ldap.conf: user_attrs =

Re: [Dovecot] LDAP + mail_location: Get %d from customfield

2010-08-02 Thread Timo Sirainen
On Mon, 2010-08-02 at 13:10 +0100, Timo Sirainen wrote: user_attrs = postalAddress=domain,homeDirectory=/imap/spool/%d/%1n/%n user_filter = ((objectClass=posixAccount)(uid=%n)) OK, there is a bug/missing feature that this doesn't work with user_attrs. Fixed for v2.0:

Re: [Dovecot] Cant compile managesieve 0.11.11 on Solaris10

2010-08-02 Thread Timo Sirainen
On Tue, 2010-07-27 at 16:16 +0200, Denny Schierz wrote: SSL_COMP_get_name /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o) SSL_get_current_compression

Re: [Dovecot] quota not updated

2010-08-02 Thread Timo Sirainen
On Mon, 2010-08-02 at 09:30 +0200, Martin Ott wrote: Hi, we're using quota with the maildir backend. When new mail arrives, the quota gets updated. But when mail is expunged, quota stays the same (see imap dialog below). We're using the latest version from hg ( 1.2.13 ). Any ideas? Anything

Re: [Dovecot] LDAP + mail_location: Get %d from customfield

2010-08-02 Thread Denny Schierz
hi, Am Montag, den 02.08.2010, 13:10 +0100 schrieb Timo Sirainen: auth_bind_userdn I have (I think): the complete ldap.conf: hosts = ldap.subdomain.domain.foo auth_bind = yes auth_bind_userdn = uid=%u,cn=accounts,dc=mail,dc=subdomain,dc=foo,dc=bla ldap_version = 3 base = cn=accounts, dc=mail,

[Dovecot] Auto delete older messages in SPAM folder

2010-08-02 Thread Thiago Henrique
Hello, I use Cyrus in my mailservers and I intend to migrate it to Dovecot. Cyrus has a setting that purge the emails from a mailbox under a pre-defined criteria. For example: EVENTS { ... # At 12:01 delete messages older than 60 days in SPAM folder deletespam cmd=ipurge -d 60 -f

Re: [Dovecot] quota not updated

2010-08-02 Thread Martin Ott
Hi Timo, thanks for your answer. I triggered the problem down to the lazy_expunge plugin. When I remove lazy_expunge from mail_plugins, quota gets calculated as expected. How can I change the quota_rule, so that only the namespace with prefix INBOX is regarded? namespace: type: private

Re: [Dovecot] Patch: New event mailbox_create for the mail_log plugin

2010-08-02 Thread Timo Sirainen
On Thu, 2010-07-29 at 13:28 +0200, Tobias Joch wrote: the following patch for the mail_log plugin (source version = 1.2.13) adds a new logging event mailbox_create. Perhaps this is also of interest to other people except me ;) I added mailbox_create event now to v2.0, but I had to pretty

Re: [Dovecot] LDAP + mail_location: Get %d from customfield

2010-08-02 Thread Timo Sirainen
On Mon, 2010-08-02 at 15:08 +0200, Denny Schierz wrote: hosts = ldap.subdomain.domain.foo auth_bind = yes auth_bind_userdn = uid=%u,cn=accounts,dc=mail,dc=subdomain,dc=foo,dc=bla If you remove the auth_bind_userdn, it does a lookup using pass_filter and pass_attrs. pass_attrs =

Re: [Dovecot] quota not updated

2010-08-02 Thread Timo Sirainen
On Mon, 2010-08-02 at 15:34 +0200, Martin Ott wrote: thanks for your answer. I triggered the problem down to the lazy_expunge plugin. When I remove lazy_expunge from mail_plugins, quota gets calculated as expected. How can I change the quota_rule, so that only the namespace with prefix INBOX

Re: [Dovecot] Auto delete older messages in SPAM folder

2010-08-02 Thread Timo Sirainen
On Mon, 2010-08-02 at 10:33 -0300, Thiago Henrique wrote: Cyrus has a setting that purge the emails from a mailbox under a pre-defined criteria. For example: EVENTS { ... # At 12:01 delete messages older than 60 days in SPAM folder deletespam cmd=ipurge -d 60 -f user/*/SPAM at=1201

Re: [Dovecot] Cant compile managesieve 0.11.11 on Solaris10 *SOLVED*

2010-08-02 Thread Denny Schierz
hi, Am Montag, den 02.08.2010, 13:29 +0100 schrieb Timo Sirainen: On Tue, 2010-07-27 at 16:16 +0200, Denny Schierz wrote: SSL_COMP_get_name /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o) SSL_get_current_compression

Re: [Dovecot] LDAP + mail_location: Get %d from customfield

2010-08-02 Thread Denny Schierz
hi, Am Montag, den 02.08.2010, 15:37 +0100 schrieb Timo Sirainen: If you remove the auth_bind_userdn, it does a lookup using pass_filter and pass_attrs. ahh, that was it ! Very big thank You for helping me :-) It works now :-) cu denny signature.asc Description: Dies ist ein digital

Re: [Dovecot] 2.0rc3: Panic: [...] mailbox_list_is_valid_pattern (was: Crash while accessing mdbox folders)

2010-08-02 Thread Timo Sirainen
On Thu, 2010-07-29 at 13:56 +0300, Axel Thimm wrote: Jul 28 19:42:48 lda(athimm): Panic: file mailbox-list-fs.c: line 150 (fs_list_get_path): assertion failed: (mailbox_list_is_valid_pattern(_list, name)) .. I found what the issue was, a bogus line in my sieve script tried to use a match

Re: [Dovecot] Plugin for XFS project quota

2010-08-02 Thread Timo Sirainen
On Wed, 2010-07-28 at 16:08 +0200, Wessel Dankers wrote: I just finished writing a small plugin that reports XFS project quota in de IMAP component of Dovecot (1.2, currently). It was written to fill the needs of our organization but someone else might find this useful as well. In its current

Re: [Dovecot] [2.0] Experience in production environment

2010-08-02 Thread Timo Sirainen
On Tue, 2010-07-27 at 07:26 +0200, Luigi Rosa wrote: The only difference between 2.0 and the previous version is the RIM server. Some users have configured their blackberry to synchronize the phone with their mailbox in IMAP. Previously RIM kept a connection open, after upgrading to 2.0,

Re: [Dovecot] BUG: Unknown internal error

2010-08-02 Thread Timo Sirainen
On Wed, 2010-07-28 at 10:40 +0200, myleetl...@gmx.de wrote: I saw this BUG message in the logfile (only one time). dovecot: IMAP(xxx): FETCH for mailbox INBOX UID 4572 failed to read message input: Input/output error This input/output error shouldn't happen. It was caused by some temporary

Re: [Dovecot] Patch: New event mailbox_create for the mail_log plugin

2010-08-02 Thread Tobias Joch
Am 02.08.2010 um 16:34 schrieb Timo Sirainen: On Thu, 2010-07-29 at 13:28 +0200, Tobias Joch wrote: the following patch for the mail_log plugin (source version = 1.2.13) adds a new logging event mailbox_create. Perhaps this is also of interest to other people except me ;) I added

Re: [Dovecot] [2.0] Experience in production environment

2010-08-02 Thread Daniel L. Miller
On 8/2/2010 8:15 AM, Timo Sirainen wrote: cause IDLE is no longer advertised in CAPABILITY before login. This is the only widely used IMAP client I know of that has this problem now. Wonder if RIM would have any interest in fixing this themselves.. Probably not. Maybe I should just give up and

[Dovecot] Dovecot 2.0.rc3 doesn't compile with custom OpenSSL

2010-08-02 Thread Andreas M. Kirchwitz
Hi folks, when building Dovecot 2.0.rc3 (never used any other 2.0.X before, so this issue might not be new to that specific release), then compilation fails on anything that is linked against the new libdovecot-login.so library. For example, imap-login fails: /bin/sh ../../libtool --tag=CC

Re: [Dovecot] [2.0] Experience in production environment

2010-08-02 Thread Timo Sirainen
On 2.8.2010, at 19.04, Daniel L. Miller wrote: On 8/2/2010 8:15 AM, Timo Sirainen wrote: cause IDLE is no longer advertised in CAPABILITY before login. This is the only widely used IMAP client I know of that has this problem now. Wonder if RIM would have any interest in fixing this

Re: [Dovecot] quota not updated

2010-08-02 Thread Martin Ott
Am 02.08.2010 16:39, schrieb Timo Sirainen: On Mon, 2010-08-02 at 15:34 +0200, Martin Ott wrote: thanks for your answer. I triggered the problem down to the lazy_expunge plugin. When I remove lazy_expunge from mail_plugins, quota gets calculated as expected. How can I change the