Re: [Dovecot] About "Status" to the header

2009-04-09 Thread Timo Sirainen
On Apr 10, 2009, at 2:41 AM, wrote: Does dovecot add the X-UIDL header to a new message? No. But it can use them.

Re: [Dovecot] About "Status" to the header

2009-04-09 Thread ogu_yo
Hi, Thank you for your reply. It helped me a lot. Can I ask you one more thing? Does dovecot add the X-UIDL header to a new message? Thanks in advance. Regards, Yoko --- Karsten Br将」ckelmann wrote: > On Thu, 2009-04-09 at 21:29 +0900, > ogu...@yahoo.co.jp wrote: > > > > I'd like to know a

[Dovecot] Dovecot crash

2009-04-09 Thread Wolfgang . Friebel
tonight dovecot 1.2beta4 crashed for the first time with an assertion failed. See attached log file. Around that time nobody was logged in into dovecot and there were no other mail deliveries going on. The mail in question should have been delivered to three recipients, one got the mail, the t

[Dovecot] Can virtual mailboxes created automatically?

2009-04-09 Thread Xueron Nee
Hi, I set a virtual namespace, and for new users, there is no root dir for it. namespace private { separator = / prefix = virtual/ location= virtual:~/Maildir/virtual list= no hidden = yes } log: Apr 10 12:14:41 mail dovecot: IMAP(t

Re: [Dovecot] uw-imap to dovecot conversion tool

2009-04-09 Thread Timo Sirainen
On Apr 9, 2009, at 9:49 PM, Joe Pruett wrote: also, this assumes you'll change the uid format in dovecot.conf to %08Xu%08Xv so that it doesn't change uids for the clients. If you're upgrading to Dovecot v1.1, you could also write the POP3 UIDLs to dovecot-uidlist and it wouldn't matter whic

Re: [Dovecot] sieve rules in MySQL?

2009-04-09 Thread Stephan Bosch
David Reid schreef: Has anyone looked at modifying the sieve implementation to allow the use of MySQl to store the rules? This is a two-sided problem: - The ManageSieve server needs to store, retrieve and activate the scripts in the SQL database. - The Sieve plugin needs access to the SQL da

[Dovecot] uw-imap to dovecot conversion tool

2009-04-09 Thread Joe Pruett
i plan to switch from uw-imap to dovecot on a couple of medium size systems and so i have written a conversion tool that understands mbox, mbx, and mix formats and converts to maildir format while trying to preserve uid info, keywords, flags, subscriptions, etc. it seems to work for me now, bu

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Timo Sirainen
On Fri, 2009-04-10 at 07:57 +1000, Noel Butler wrote: > > > protocol imap { > > > ... > > > log_path = /var/log/imap.log > > > info_log_path = /var/log/imap.log > > > } > > > protocol pop3 { > > > ... > > > log_path = /var/log/pop3.log > > > info_log_path = /var/log/pop3.log > > > } > >

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Noel Butler
On Fri, 2009-04-10 at 07:42, Noel Butler wrote: > On Thu, 2009-04-09 at 21:57, Charles Marcus wrote: > > > > > > > Extrapolating from your example, I can I just: > > > > protocol imap { > > ... > > log_path = /var/log/imap.log > > info_log_path = /var/log/imap.log > > } > > protocol pop

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Noel Butler
On Thu, 2009-04-09 at 21:57, Charles Marcus wrote: > > Extrapolating from your example, I can I just: > > protocol imap { > ... > log_path = /var/log/imap.log > info_log_path = /var/log/imap.log > } > protocol pop3 { > ... > log_path = /var/log/pop3.log > info_log_path = /var/log/p

Re: [Dovecot] Panic: file mempool-system.c: line 104

2009-04-09 Thread Timo Sirainen
On Thu, 2009-04-09 at 23:41 +0300, Martins Lazdans wrote: > Ok, I unblocked that IP and started Dovecot with > `ulimit -c unlimited && /usr/local/sbin/dovecot` > and will see if that IP will return. > > But I totally forgot I am using Google`s perf-tools > (http://code.google.com/p/google-perftool

Re: [Dovecot] Panic: file mempool-system.c: line 104

2009-04-09 Thread Martins Lazdans
Ok, I unblocked that IP and started Dovecot with `ulimit -c unlimited && /usr/local/sbin/dovecot` and will see if that IP will return. But I totally forgot I am using Google`s perf-tools (http://code.google.com/p/google-perftools/) tcmalloc library. Maybe that library is faulty and/or incompatible

Re: [Dovecot] Panic: file mempool-system.c: line 104

2009-04-09 Thread Timo Sirainen
Run ulimit -c unlimited before starting dovecot. And note that several distributions override the ulimit if you use /etc/init.d/dovecot to start it. Newer Dovecot versions (v1.1.9+) say at startup if core dumps are disabled. On Thu, 2009-04-09 at 23:06 +0300, Martins Lazdans wrote: > No, there is

Re: [Dovecot] Panic: file mempool-system.c: line 104

2009-04-09 Thread Martins Lazdans
No, there is no core dumps. I believe I can somehow enable to dump core? Timo Sirainen wrote: > On Thu, 2009-04-09 at 21:37 +0300, Martins Lazdans wrote: >> Hello! >> >> I have used Dovecot for more than a year without problems, but today it >> just crashed with this message: >> >> dovecot: Apr 09

Re: [Dovecot] Panic: file mempool-system.c: line 104

2009-04-09 Thread Timo Sirainen
On Thu, 2009-04-09 at 21:37 +0300, Martins Lazdans wrote: > Hello! > > I have used Dovecot for more than a year without problems, but today it > just crashed with this message: > > dovecot: Apr 09 21:23:38 Panic: file mempool-system.c: line 104 > (pool_system_realloc): assertion failed: (old_size

[Dovecot] Panic: file mempool-system.c: line 104

2009-04-09 Thread Martins Lazdans
Hello! I have used Dovecot for more than a year without problems, but today it just crashed with this message: dovecot: Apr 09 21:23:38 Panic: file mempool-system.c: line 104 (pool_system_realloc): assertion failed: (old_size == (size_t)-1 || mem == NULL || old_size <= malloc_usable_size(mem)) do

Re: [Dovecot] dbox problem

2009-04-09 Thread Xueron Nee
On Thu, 09 Apr 2009 13:54:17 -0400 Timo Sirainen wrote: > On Fri, 2009-04-10 at 01:29 +0800, Xueron Nee wrote: > > It should not be a bug. I am using a Chinese version of Becky, the tips > > when I create a mailbox is not described much clear. > > > > When use IMAP in Becky, It can create 3

Re: [Dovecot] dbox problem

2009-04-09 Thread Timo Sirainen
On Fri, 2009-04-10 at 01:29 +0800, Xueron Nee wrote: > It should not be a bug. I am using a Chinese version of Becky, the tips > when I create a mailbox is not described much clear. > > When use IMAP in Becky, It can create 3 type folders: > 1. For store mail items > 2. As a parent of sub folders

Re: [Dovecot] Strange behavior of header_filter_callback

2009-04-09 Thread Konstantin Lepa
I mean EOH in previous message. I noticed, that my callback for hdr->eoh==1 doesn't call. I checked by comparing func pointers. Instead, another default callback is called. On Apr 9, 2009, at 17:48 , Konstantin Lepa wrote: I commented the else branch, but EOF exists after i_stream_header

Re: [Dovecot] dbox problem

2009-04-09 Thread Xueron Nee
Is dbox be suitable enough for product use? I am so interested in the alt_path feature :) That was what I need :) On Thu, 09 Apr 2009 11:57:04 -0400 Timo Sirainen wrote: > On Thu, 2009-04-09 at 23:27 +0800, Xueron Nee wrote: > > Oh, yes. > > > > I use `Becky` MUA to do such tests. It adds a

Re: [Dovecot] dbox problem

2009-04-09 Thread Xueron Nee
It should not be a bug. I am using a Chinese version of Becky, the tips when I create a mailbox is not described much clear. When use IMAP in Becky, It can create 3 type folders: 1. For store mail items 2. As a parent of sub folders (some mail server supports the folder which can contain both mail

Re: [Dovecot] dbox problem

2009-04-09 Thread Timo Sirainen
On Thu, 2009-04-09 at 23:27 +0800, Xueron Nee wrote: > Oh, yes. > > I use `Becky` MUA to do such tests. It adds a slash after the folder > name. > > It's ok without the slash :) Sounds like a bug in Becky. The / suffix means that you really want to create a "directory", not a selectable mailbo

Re: [Dovecot] Indexing of mails to speed up the IMAP SEARCH command

2009-04-09 Thread Charles Marcus
On 4/9/2009 11:23 AM, Scott Silva wrote: > IMHO, every version of Dovecot has been the best version ever! Until the next > one comes out... Well, ok, ya got me there... ;)

Re: [Dovecot] dbox problem

2009-04-09 Thread Xueron Nee
Oh, yes. I use `Becky` MUA to do such tests. It adds a slash after the folder name. It's ok without the slash :) Thanks Timo ^_^ 0004 LIST "" * * LIST (\HasNoChildren) "/" "INBOX" * LIST (\Noselect \HasNoChildren) "/" "kkk" * LIST (\HasNoChildren) "/" "Trash" * LIST (\HasNoChildren) "/" "Junk

Re: [Dovecot] Indexing of mails to speed up the IMAP SEARCH command

2009-04-09 Thread Scott Silva
on 4-9-2009 8:10 AM Charles Marcus spake the following: > On 4/9/2009, Timo Sirainen (t...@iki.fi) wrote: >>> Or should I go ahead and plan on doing this via cron as suggested? > >> It's not really necessary to do it via cron either, although users >> may then have to wait a bit longer if they hav

Re: [Dovecot] Moving IMAP folders to NFS volume.

2009-04-09 Thread Timo Sirainen
On Apr 9, 2009, at 4:05 AM, Frank Bonnet wrote: Due to lack of disk space on local disks I need to move all our imap folders to a NFS volume ( NetAPP filer ) But there's still only one Dovecot server accessing them, right? I have a question about Dovecot indexes , is it better to remove all

Re: [Dovecot] dbox problem

2009-04-09 Thread Timo Sirainen
On Apr 9, 2009, at 5:37 AM, Xueron Nee wrote: But when I create dir through imap with `create` command, it only creates the dir onder ~/dbox/mailboxes, such as ~/dbox/mailboxes/newfolder. There was no `dbox-Mails` dir created. So the newfolder was 'noselect'. Are you sure you created the mailb

Re: [Dovecot] Indexing of mails to speed up the IMAP SEARCH command

2009-04-09 Thread Charles Marcus
On 4/9/2009, Timo Sirainen (t...@iki.fi) wrote: >> Or should I go ahead and plan on doing this via cron as suggested? > It's not really necessary to do it via cron either, although users > may then have to wait a bit longer if they have received a lot of new > mail. Hmmm... you're probably right.

Re: [Dovecot] Indexing of mails to speed up the IMAP SEARCH command

2009-04-09 Thread Timo Sirainen
On Apr 9, 2009, at 6:43 AM, Charles Marcus wrote: On 4/8/2009, Timo Sirainen (t...@iki.fi) wrote: For message body indexing there are a couple of choices: http://wiki.dovecot.org/Plugins/FTS On this page it says that the indexes are not updated with deliver and suggests using a cron job... I

Re: [Dovecot] dovecot 1.2-rc2 doesn't build on Solaris 10

2009-04-09 Thread Laurent Blume
Timo Sirainen a écrit : Yeah, I noticed the same. This fixes it: http://hg.dovecot.org/dovecot-1.2/rev/7bfbbfd2c32a It does, thanks! Will do more testing tomorrow. Laurent -- / Leader de Projet & Communauté| I'm working, but not speaking for \ G11N http://fr.opensolaris.org | Bull Serv

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Sahil Tandon
On Thu, 09 Apr 2009, Charles Marcus wrote: > On 4/9/2009 7:46 AM, Sahil Tandon wrote: > >> I like this idea (of splitting the logging)... > > > > As do I and many others. > > > > You could do this with syslog(-ng), or you could just specify the log_path > > and info_log_path variables in dovecot

Re: [Dovecot] About "Status" to the header

2009-04-09 Thread Karsten Bräckelmann
On Thu, 2009-04-09 at 21:29 +0900, ogu...@yahoo.co.jp wrote: > > I'd like to know about "Status" to the header on dovecot. > I can see the "Status" to the header in > /var/spool/mail/user > if I check mail by using mutt, but I cannot see "Status" to > the header if I check mail by using evolution,

Re: [Dovecot] Strange behavior of header_filter_callback

2009-04-09 Thread Konstantin Lepa
I commented the else branch, but EOF exists after i_stream_header_filter. My headers appears in a message body. On Apr 8, 2009, at 20:42 , Timo Sirainen wrote: On Wed, 2009-04-08 at 14:05 +0400, Konstantin Lepa wrote: You didn't say what the strange behavior was .. But: if (hdr &&

[Dovecot] About "Status" to the header

2009-04-09 Thread ogu_yo
hi list, I'd like to know about "Status" to the header on dovecot. I can see the "Status" to the header in /var/spool/mail/user if I check mail by using mutt, but I cannot see "Status" to the header if I check mail by using evolution, thunderbird etc. - /var/spool/mail/user

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Charles Marcus
On 4/9/2009 7:46 AM, Sahil Tandon wrote: >> I like this idea (of splitting the logging)... > > As do I and many others. > > You could do this with syslog(-ng), or you could just specify the log_path > and info_log_path variables in dovecot.conf. For example, in my protocol lda > {} declaration,

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Sahil Tandon
On Thu, 09 Apr 2009, Charles Marcus wrote: > On 4/8/2009, Tom Metro (tmetro+dove...@vl.com) wrote: > > I ended up splitting them up so that I could have each logging to > > different places (IMAP to its own file, as it doesn't relate to mail > > delivery), > > I like this idea (of splitting the l

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Charles Marcus
On 4/8/2009, Tom Metro (tmetro+dove...@vl.com) wrote: > I ended up splitting them up so that I could have each logging to > different places (IMAP to its own file, as it doesn't relate to mail > delivery), I like this idea (of splitting the logging)... Maybe this would be a good thing to be able

Re: [Dovecot] Dovecot+Sieve

2009-04-09 Thread Charles Marcus
On 4/9/2009 10:23 AM, Administrator wrote: > Sorry: > What I'm must be add to master.cf (Postfix configuration) > http://wiki.dovecot.org/LDA/Postfix -- Best regards, Charles

[Dovecot] INBOX lost in virtual namespace

2009-04-09 Thread Xueron Nee
Hi, I have set a virtual namespace to create Virtual POP3 INBOX follow: http://wiki.dovecot.org/Plugins/Virtual dovecot.conf: mail_location = maildir:~/Maildir # default namespace namespace private { separator = / prefix = list= yes hidden = n

Re: [Dovecot] Indexing of mails to speed up the IMAP SEARCH command

2009-04-09 Thread Charles Marcus
On 4/8/2009, Timo Sirainen (t...@iki.fi) wrote: > For message body indexing there are a couple of choices: > http://wiki.dovecot.org/Plugins/FTS On this page it says that the indexes are not updated with deliver and suggests using a cron job... Is this planned to be added anytime soon (1.2? 1.3?)

Re: [Dovecot] Dovecot+Sieve

2009-04-09 Thread Administrator
Sorry: What I'm must be add to master.cf (Postfix configuration) Thanks for All.

Re: [Dovecot] Dovecot+Sieve

2009-04-09 Thread Administrator
Steffen Kaiser пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 6 Apr 2009, Andrey Garkin wrote: I'm configure mail server with Postix+Mysql+Dovecot. Sieve is used at LDA phase, hence, you must configure Postfix to use Dovecot deliver to spool the messages. plugin { sieve = /

[Dovecot] dbox problem

2009-04-09 Thread Xueron Nee
Hi, I have just tested the dbox format mailbox, it works fine. But when I create dir through imap with `create` command, it only creates the dir onder ~/dbox/mailboxes, such as ~/dbox/mailboxes/newfolder. There was no `dbox-Mails` dir created. So the newfolder was 'noselect'. But the new folders

Re: [Dovecot] Postfix + Dovecot + Sieve + SpamAssassin

2009-04-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 8 Apr 2009, Sascha Scandella wrote: So I changed to Postfix + Dovcecot Deliver + Dovecot + Sieve. If I understood correctly I cannot call other applications within a Sieve script. Until now I used Procmail to filter Spam Messages with Spam

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 7 Apr 2009, Timo Sirainen wrote: c) dovecot-lda binary, protocol lda {} e) dovecot-mda binary, protocol mda {} c) and e) choices also makes me think if e.g. imap and imap-login should be called dovecot-imap and dovecot-imap-login instead

[Dovecot] failed dovecot 1.2rc2 build Solaris 8, gcc 2.95.3

2009-04-09 Thread Jernej Porenta
Hello, I trying to build dovecot 1.2rc2 on ancient Solaris 8 with gcc 2.95.3 and it fails with: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -DSYSCONFDIR=\""/opt/dovecot/etc"\" -DPKG_RUNDIR=\""/opt/dovecot/var/run/dovecot"\" -DPKG_STATEDIR=\""/opt/dovecot/var/l

Re: [Dovecot] Dovecot+Sieve

2009-04-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 6 Apr 2009, Andrey Garkin wrote: I'm configure mail server with Postix+Mysql+Dovecot. Sieve is used at LDA phase, hence, you must configure Postfix to use Dovecot deliver to spool the messages. plugin { sieve = /etc/sieve.conf sieve =

Re: [Dovecot] deliver vs lda

2009-04-09 Thread Jakob Hirsch
Timo Sirainen wrote: deliver is the binary name. but it's configured inside protocol lda {} section. This is getting annoying, any thoughts on what would be a good unifying name? I hope you didn't intend such a bikeshed discussion :) c) dovecot-lda binary, protocol lda {} This is perfectly

[Dovecot] Moving IMAP folders to NFS volume.

2009-04-09 Thread Frank Bonnet
Hello Due to lack of disk space on local disks I need to move all our imap folders to a NFS volume ( NetAPP filer ) I have a question about Dovecot indexes , is it better to remove all of them before copying folders to the NFS volume and let Dovecot rebuild all indexes when users restart to acce

Re: [Dovecot] Indexing of mails to speed up the IMAP SEARCH command

2009-04-09 Thread Tassilo Horn
Timo Sirainen writes: Hi Timo, > On Wed, 2009-04-08 at 21:09 +0200, Tassilo Horn wrote: >> I use a local dovecot server which is synchronized with my two imap >> accounts using OfflineIMAP. This works very nice and is highly >> usable. >> >> But one thing I'd like to improve is the slow IMAP s