Re: [Dovecot] Searching dovecot Maildir

2010-08-06 Thread Timo Sirainen
Hmm. Last I heard, Mandriva died.. http://www.osnews.com/story/23276/Mandriva_S_A_For_Sale If something happened since then, I've no idea. On 7.8.2010, at 3.53, emdeex wrote: > Thanks Timo, upgrading to v2.0 seems like a good move, and thanks for the > example of doveadm, that makes me even ha

Re: [Dovecot] Searching dovecot Maildir

2010-08-06 Thread emdeex
Thanks Timo, upgrading to v2.0 seems like a good move, and thanks for the example of doveadm, that makes me even happier I'm using Dovecot. Do you know if Mandriva has released a v2.0 rpm package ? regards On 6 August 2010 21:36, Timo Sirainen wrote: > On 6.8.2010, at 4.16, emdeex wrote: > > >

Re: [Dovecot] Making both folder and .folder available to dovecot-lda but not imap

2010-08-06 Thread Stand H
--- On Fri, 8/6/10, Timo Sirainen wrote: > From: Timo Sirainen > Subject: Re: [Dovecot] Making both folder and .folder available to > dovecot-lda but not imap > To: "Stand H" > Cc: dovecot@dovecot.org > Date: Friday, August 6, 2010, 4:32 AM > On 6.8.2010, at 3.37, Stand H wrote: > > > Hi, >

Re: [Dovecot] Maildir over NFS

2010-08-06 Thread Timo Sirainen
On 6.8.2010, at 20.31, CJ Keist wrote: > So question I have for the dovecot team, does running Maildir over NFS work > well? Or would you recommend that all user mail folders be stored locally on > the mail server when using Maildir? As long as you have only a single Dovecot server accessing m

Re: [Dovecot] Maildir over NFS

2010-08-06 Thread Noel Butler
On Fri, 2010-08-06 at 16:27 -0400, Patrick Domack wrote: > . > > Looking at the new methods for v2.0, still on the fence though with them. > Yeah, know what ya mean, I've decided, if it aint broke, dont break it :) <>

Re: [Dovecot] Maildir over NFS

2010-08-06 Thread Noel Butler
On Fri, 2010-08-06 at 13:31 -0600, CJ Keist wrote: > > For our new mail server I'm looking to switch to the Maildir format. > Some years ago I remember reading that it was not recommended to run > Maildir format over NFS. Now I'm looking at several posts that seem to > indicate that Maildir

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread SK
On 08/06/2010 09:04 PM, Timo Sirainen wrote: > On Fri, 2010-08-06 at 20:41 +0200, SK wrote: > >> Ok, now it does not crash anymore, But...: I cannot see shared folders >> for users containing a dot (e.g. the "shared.user" above) >> on open-exchange webclient. If I disable the listscape plugin,

Re: [Dovecot] Maildir over NFS

2010-08-06 Thread Patrick Domack
Quoting CJ Keist : I'm working on bring up a new mail server to replace our current one. Our current mail server is running dovecot 1.1.16, with postfix using mbox format. User inboxes are stored locally on the mail server and all other mail folders in users home directory under mail wh

Re: [Dovecot] Maildir over NFS

2010-08-06 Thread Seth Mattinen
On 8/6/2010 12:31, CJ Keist wrote: > > So question I have for the dovecot team, does running Maildir over NFS > work well? Or would you recommend that all user mail folders be stored > locally on the mail server when using Maildir? > > We have about 3400 users, doing about 30k mail deliveries da

[Dovecot] Maildir over NFS

2010-08-06 Thread CJ Keist
I'm working on bring up a new mail server to replace our current one. Our current mail server is running dovecot 1.1.16, with postfix using mbox format. User inboxes are stored locally on the mail server and all other mail folders in users home directory under mail which is NFS mounted on the

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 20:41 +0200, SK wrote: > Ok, now it does not crash anymore, But...: I cannot see shared folders > for users containing a dot (e.g. the "shared.user" above) > on open-exchange webclient. If I disable the listscape plugin, the > folder is visible. Something more is still broken

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread SK
On 08/06/2010 07:59 PM, Timo Sirainen wrote: > num = >> #1 listescape_mailbox_list_iter_next (dest=, >> str=0x6c8597 "sharing.user", ns=) >> at listescape-plugin.c:211 >>

Re: [Dovecot] Dovecot 2.0.rc4 (a30a30d1e25a): LMTP dies intermittently

2010-08-06 Thread Thomas Leuxner
Am 06.08.2010 um 20:03 schrieb Timo Sirainen: > On Fri, 2010-08-06 at 19:50 +0200, Thomas Leuxner wrote: >> >> #0 acl_mail_namespace_storage_added (ns=0xd33e10) at >> acl-mailbox-list.c:509 > > Fixed: http://hg.dovecot.org/dovecot-2.0/rev/1aa2ccceacb9 > Looking good. Thanks.

Re: [Dovecot] Dovecot 2.0.rc4 (a30a30d1e25a): LMTP dies intermittently

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 19:50 +0200, Thomas Leuxner wrote: > > #0 acl_mail_namespace_storage_added (ns=0xd33e10) at > acl-mailbox-list.c:509 Fixed: http://hg.dovecot.org/dovecot-2.0/rev/1aa2ccceacb9

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread SK
Hi Timo, yes this works now for thunderbird. But still getting the segfault when using open-xchange weblient right on login. I'm attaching the stacktrace of imap daemon below. Seems to appear in combination with a shared folder of a user with loginID "firstname.lastname". Strangely, it wont crash

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 19:51 +0200, SK wrote: > yes this works now for thunderbird. But still getting the segfault when > using open-xchange weblient right > on login. .. > #0 list_unescape_str (dest=, str=0x6c8597 > "sharing.user", ns=) at listescape-plugin.c:91 > mlist = 0x0

Re: [Dovecot] Dovecot 2.0.rc4 (a30a30d1e25a): LMTP dies intermittently

2010-08-06 Thread Thomas Leuxner
Am 06.08.2010 um 19:39 schrieb Timo Sirainen: > If you can easily reproduce it, then you could attach gdb into lmtp > process and get the backtrace from there: > > gdb -p `pidof lmtp` > cont > > bt full License GPLv3+: GNU GPL version 3 or later This is free so

Re: [Dovecot] Dovecot 2.0.rc4 (a30a30d1e25a): LMTP dies intermittently

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 19:27 +0200, Thomas Leuxner wrote: > Am 06.08.2010 um 16:51 schrieb Timo Sirainen: > > > service lmtp { > > executable = lmtp -D > > } > > Added that but still does not dump cores when LMTP crashes. What does it log? Is it just "(core not dumped)"? Usually it says a reason

Re: [Dovecot] Dovecot 2.0.rc4 (a30a30d1e25a): LMTP dies intermittently

2010-08-06 Thread Thomas Leuxner
Am 06.08.2010 um 16:51 schrieb Timo Sirainen: > service lmtp { > executable = lmtp -D > } Added that but still does not dump cores when LMTP crashes. [19:22] root spectre:/etc/dovecot/conf.d# doveconf -n | grep executable executable = lmtp -D > 2. Run "ulimit -c unlimited" before starting do

Re: [Dovecot] assertion failure with 2.0rc4

2010-08-06 Thread Timo Sirainen
On Thu, 2010-08-05 at 15:28 -0700, Ryan Murray wrote: > #4 0x7f419e3be05c in i_panic ( > format=0x7f419e3e9778 "file %s: line %d (%s): assertion failed: (%s)") > at failures.c:230 > args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0x0, > reg_save_area = 0

Re: [Dovecot] dovecot 2.0 rc4, doveadm: referenced symbol not found

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 16:52 +0200, Burckhard Schmidt wrote: > /usr/dovecot-2/bin/doveadm -Dv expunge -u userx mailbox AutoCleanSpam > savedbefore 30d You enabled debug output with -D. > doveadm(root): Debug: Loading modules from directory: > /usr/dovecot-2/lib/dovecot/doveadm > doveadm(root):

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 16:51 +0200, Samuel Kvasnica wrote: > . create my.test/eee > . NO Invalid mailbox name: my.test/eee Looks like yet another problem with handling hooks. Fixed: http://hg.dovecot.org/dovecot-2.0/rev/e54df5af98ac I hope this doesn't now break another plugin (combination).. I gu

[Dovecot] dovecot 2.0 rc4, doveadm: referenced symbol not found

2010-08-06 Thread Burckhard Schmidt
Hi, I used /usr/dovecot-2/bin/doveadm -Dv expunge -u userx mailbox AutoCleanSpam savedbefore 30d doveadm(root): Debug: Loading modules from directory: /usr/dovecot-2/lib/dovecot/doveadm doveadm(root): Error: dlopen(/usr/dovecot-2/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so) failed:

Re: [Dovecot] Dovecot 2.0.rc4 (a30a30d1e25a): LMTP dies intermittently

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 16:36 +0200, Thomas Leuxner wrote: > Aug 6 16:17:05 spectre dovecot: master: Error: service(lmtp): child > 5509 killed with signal 11 (core not dumped) gdb backtrace is the only good way to know why it would dump a core: 1. Set: service lmtp { executable = lmtp -D } 2.

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Samuel Kvasnica
Hi Timo, On 08/06/2010 03:54 PM, Timo Sirainen wrote: > On Fri, 2010-08-06 at 11:31 +0200, Samuel Kvasnica wrote: > >> I got 2.0 from trunk kind of working now, but the listescape is still >> broken ! The haschildren flag is correct now, but I cannot use (list or >> create) any subfolders in gene

Re: [Dovecot] Strange behaviour when add new mailbox to IMAP (v 1.2.13)

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 11:51 +0300, Alexander Chekalin wrote: > I use Thunderbird (yesterday it was 3.1.1 and now it is 3.1.2) as my > IMAP client. When I connect to my IMAP account on second server, and > create mailbox, I see that there appears greyed folder named > #virtual^Sent , and my new

Re: [Dovecot] Problem creating sockets after Solaris Live Upgrade

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 11:52 +0200, Jürgen Obermann wrote: > During booting this ABE dovecot will not start, unless both files are removed: > > Aug 6 06:55:30 hostname dovecot: Fatal: Socket already exists: > /opt/local/var/run/dovecot/dict-server Doesn't it say something about "Socket operatio

[Dovecot] Dovecot 2.0.rc4 (a30a30d1e25a): LMTP dies intermittently

2010-08-06 Thread Thomas Leuxner
Hi, not sure what change caused this but it first appeared when building HG a30a30d1e25a. LMTP dies intermittently. Aug 6 16:00:57 spectre dovecot: lmtp(5509, al...@domain.tld): b9ESKJkVXEyFFQAAqZii3w: sieve: msgid=<1281102852.6211.447.ca...@kurkku.sapo.corppt.com>: stored mail into mailbox 'Pu

Re: [Dovecot] dovecot 2.0 rc4, expire, sqlite

2010-08-06 Thread Burckhard Schmidt
On 05.08.2010 18:38, Timo Sirainen wrote: On Thu, 2010-08-05 at 18:02 +0200, Burckhard Schmidt wrote: If I copy a message (with TB) into that folder, I get an error if there exists no entry for that user and that folder within the database: dict: Error: sqlite: exec(INSERT INTO expires (e

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 10:16 -0400, Jonathan Siegle wrote: > The end goal is for my Webmail client to access dovecot mailboxes. > Does it make more sense to do the more traditional route of making > Webmail an IMAP client? Yes. There's almost zero performance benefit for accessing mails via lib-s

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Jonathan Siegle
On Aug 6, 2010, at 7:28 AM, Timo Sirainen wrote: > On 6.8.2010, at 11.45, Jonathan Siegle wrote: > >> The first goal is to open these mailboxes(mdbox/dbox) with alpine version 2 >> and the mailboxes are on localhost. > > Why? Why not just let it use IMAP? Seems like a huge amount of work to

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 11:31 +0200, Samuel Kvasnica wrote: > I got 2.0 from trunk kind of working now, but the listescape is still > broken ! The haschildren flag is correct now, but I cannot use (list or > create) any subfolders in general when listescape enabled > in config, only folders directly

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 14:48 +0200, Samuel Kvasnica wrote: > On 08/06/2010 01:24 PM, Timo Sirainen wrote: > > On 6.8.2010, at 8.38, Samuel Kvasnica wrote: > > > >> doveconf -n -c dovecot-1.conf > dovecot-2.conf > >> > >> command seems to remove rather big part of of original config... > > What parts

Re: [Dovecot] dovecot-auth process crashed during pam login

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 14:30 +0200, Elmar Rudigier wrote: > After a little debugging I saw that pam_ssh and dovecot both provide a > buffer_free() function. During cleanup of pam_ssh the buffer_free() from > dovecot was called. The members of the buffer had all "out of bound" > addresses. > > Afte

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Samuel Kvasnica
On 08/06/2010 01:24 PM, Timo Sirainen wrote: > On 6.8.2010, at 8.38, Samuel Kvasnica wrote: > >> doveconf -n -c dovecot-1.conf > dovecot-2.conf >> >> command seems to remove rather big part of of original config... > What parts? Seems like something went wrong (might be my fault), there was simply

Re: [Dovecot] dovecot-auth process crashed during pam login

2010-08-06 Thread Marcus Rueckert
On 2010-08-06 14:30:21 +0200, Elmar Rudigier wrote: > We experienced crashes of the dovecot-auth process during user > verification with pam_ssh. > > After a little debugging I saw that pam_ssh and dovecot both provide a > buffer_free() function. During cleanup of pam_ssh the buffer_free() from >

[Dovecot] dovecot-auth process crashed during pam login

2010-08-06 Thread Elmar Rudigier
Hello! We experienced crashes of the dovecot-auth process during user verification with pam_ssh. After a little debugging I saw that pam_ssh and dovecot both provide a buffer_free() function. During cleanup of pam_ssh the buffer_free() from dovecot was called. The members of the buffer had all "o

Re: [Dovecot] Configure Dovecot to move read mails to another folder?

2010-08-06 Thread Timo Sirainen
On 6.8.2010, at 13.06, Steven Weiß wrote: > is it possible (with dovecot sieve?) to deliver incoming mails to the default > INBOX and then, when I have read the mail with Thunderbird, automatically > move it to another folder? Virtual INBOX would probably work, but it requires v2.0 to work prop

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Marcus Rueckert
On 2010-08-06 12:28:28 +0100, Timo Sirainen wrote: > On 6.8.2010, at 11.45, Jonathan Siegle wrote: > > > The first goal is to open these mailboxes(mdbox/dbox) with alpine version 2 > > and the mailboxes are on localhost. > > Why? Why not just let it use IMAP? Seems like a huge amount of work t

[Dovecot] Configure Dovecot to move read mails to another folder?

2010-08-06 Thread Steven Weiß
Hallo, is it possible (with dovecot sieve?) to deliver incoming mails to the default INBOX and then, when I have read the mail with Thunderbird, automatically move it to another folder? I know I could create filters in my mail client. But that has the disadvantage that I would need to create

Re: [Dovecot] Searching dovecot Maildir

2010-08-06 Thread Timo Sirainen
On 6.8.2010, at 4.16, emdeex wrote: > I want to search my Sent mail folder for all messages with a certain > subject, then "grep" out a certain line that has a dollar ($) figure, and > add up those figures. The idea is to just add up all the values of quotes > I've sent in a month. a) Do it via

[Dovecot] Searching dovecot Maildir

2010-08-06 Thread emdeex
Hi All, Loving Dovecot after several years with Cyrus. This might be more a general question, but this seemed the best place to ask. The idea is to just add up all the values of quotes I've sent in a month. I want to search my Sent mail folder for all messages with a certain subject, then "grep

Re: [Dovecot] Making both folder and .folder available to dovecot-lda but not imap

2010-08-06 Thread Timo Sirainen
On 6.8.2010, at 3.37, Stand H wrote: > Hi, > > I'm looking for a way to deliver mail to both 'folder' and '.folder'. I put > LAYOUT=fs to mail_location, sieve recognize both 'folder' and '.folder', Okay.. > but I don't want dovecot-imap to show 'folder' to imap client. The purpose is > to sen

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Timo Sirainen
On 6.8.2010, at 11.45, Jonathan Siegle wrote: > The first goal is to open these mailboxes(mdbox/dbox) with alpine version 2 > and the mailboxes are on localhost. Why? Why not just let it use IMAP? Seems like a huge amount of work to make c-client call lib-storage. And who knows how many symbo

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Timo Sirainen
On 6.8.2010, at 8.38, Samuel Kvasnica wrote: > doveconf -n -c dovecot-1.conf > dovecot-2.conf > > command seems to remove rather big part of of original config... What parts?

Re: [Dovecot] Write a c program to access a mailbox as a system user using dovecot version 2 includes/libs

2010-08-06 Thread Jonathan Siegle
On Aug 5, 2010, at 10:16 AM, Timo Sirainen wrote: > On Thu, 2010-08-05 at 10:12 -0400, Jonathan Siegle wrote: >> Should this be doable with the current design? > > Yes. > >> Is there a good reference to do this? > > doveadm and dsync are good examples. Or maybe you shouldn't write a > separat

[Dovecot] Problem creating sockets after Solaris Live Upgrade

2010-08-06 Thread Jürgen Obermann
Hello, I use Solaris Live Upgrade to install solaris patches in an alternate boot environment. Unfortunately the dovecot sockets /opt/local/var/run/dovecot/dict-server and /opt/local/var/run/dovecot/login/default are created as normal files in the ABE. After switching to the ABE dovecot wil

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Samuel Kvasnica
Hi Timo, I got 2.0 from trunk kind of working now, but the listescape is still broken ! The haschildren flag is correct now, but I cannot use (list or create) any subfolders in general when listescape enabled in config, only folders directly in inbox root work normal. When clicking e.g. at folde

[Dovecot] Strange behaviour when add new mailbox to IMAP (v 1.2.13)

2010-08-06 Thread Alexander Chekalin
Hi, I think I need to ask you for advice. Personally I face that for the first time and hardly imagine this could be possible at all, but... My setup is simple: I have one mail server where all of my mail accounts are stored, and another one to store backup of all mailings. The scheme is si

Re: [Dovecot] Double logging problem

2010-08-06 Thread Nikolaos Milas
I worked it out: I modified syslog as follows: *.info;mail.none;authpriv.none;cron.none;local1.none /var/log/messages Regards, Nick On 5/8/2010 5:46 μμ, Nikolaos Milas wrote: Could I use something like (in syslog.conf): *.info;mail.none;authpriv.none;cron.none;dove

[Dovecot] Panic: file ioloop-iolist.c: line 25 (ioloop_iolist_add): assertion failed

2010-08-06 Thread Computer Department (Watchtower South Africa Branch)
Hi, I receive the following message after running "/etc/init.d/dovecot reload": Aug 06 02:00:11 dovecot: Warning: SIGHUP received - reloading configuration Aug 06 02:00:11 dovecot: Panic: file ioloop-iolist.c: line 25 (ioloop_iolist_add): assertion failed: (list->ios[idx] == NULL) I'm running do

Re: [Dovecot] dot-containing foldernames \HasNoChildren bug ?

2010-08-06 Thread Samuel Kvasnica
On 08/06/2010 12:49 AM, Timo Sirainen wrote: > On 5.8.2010, at 21.13, Samuel Kvasnica wrote: > >> Hi Timo, >> >> On 08/05/2010 06:26 PM, Timo Sirainen wrote: >>> I think this problem shows up only with acl+listescape combination. I >>> fixed it for v2.0 now with >>> http://hg.dovecot.org/dovecot-2