Re: [Dovecot] Re maintenance of the dovecot-uidlist files

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 16:49 -0700, Dann Daggett wrote: > Greetings all, > > I am new to dovecot, using ver 1.0.13 and IMAP with ~/Maildir delivery. > I have noticed that the entries in the dovecot-uidlist files don't seem > to get updated when an email is deleted or moved to .Trash. It appears >

[Dovecot] Re maintenance of the dovecot-uidlist files

2008-06-03 Thread Dann Daggett
Greetings all, I am new to dovecot, using ver 1.0.13 and IMAP with ~/Maildir delivery. I have noticed that the entries in the dovecot-uidlist files don't seem to get updated when an email is deleted or moved to .Trash. It appears that this list list would just keep growing over time, being full o

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Juan Asensio Sánchez
I compile Dovecot from the source packages of the Debian repository. I don't know if it has been correctly compiled with that flag, i have executed: # CFLAGS=-g3 dpkg-buildpackage -rfakeroot -b When running gdb again, i get diffrenet output but i think that this information is not relevant: (gdb

[Dovecot] FreeBSD port for 1.1, some bits more...

2008-06-03 Thread Geoffroy DESVERNAY
I did (re-)compile dovecot (1.1rc8) today, with managesieve (0.10.2) and sieve-plugin (1.1.5). I did modify the existing dovecot-devel port, adding managesieve patch as an OPTION, and I added a 'dovecot-managesieve-devel' port, and a 'dovecot-sieve-devel' one to be complete... Not sure everything

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
On Tue, 2008-06-03 at 22:16 +0300, Timo Sirainen wrote: > On Tue, 2008-06-03 at 21:11 +0200, Johannes Berg wrote: > > On Tue, 2008-06-03 at 21:06 +0200, Juan Asensio Sánchez wrote: > > > Wow. Thanks for your quick answer. I don't know much about compiling > > > or debugging. Could anyone say me how

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 21:11 +0200, Johannes Berg wrote: > On Tue, 2008-06-03 at 21:06 +0200, Juan Asensio Sánchez wrote: > > Wow. Thanks for your quick answer. I don't know much about compiling > > or debugging. Could anyone say me how to do that or give some tips? > > well, add -g3 somewhere to t

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
On Tue, 2008-06-03 at 21:06 +0200, Juan Asensio Sánchez wrote: > Wow. Thanks for your quick answer. I don't know much about compiling > or debugging. Could anyone say me how to do that or give some tips? well, add -g3 somewhere to the CFLAGS when building dovecot. johannes signature.asc Descrip

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Juan Asensio Sánchez
Wow. Thanks for your quick answer. I don't know much about compiling or debugging. Could anyone say me how to do that or give some tips? Thanks in advance. 2008/6/3 Johannes Berg <[EMAIL PROTECTED]>: > >> Program received signal SIGSEGV, Segmentation fault. >> 0x0809ea67 in mail_get_physical_size

Re: [Dovecot] expire plugin - setgid failed

2008-06-03 Thread e-frog
You are right. When I unset HOME before running expire-tool I don't get the error message. I'm not sure how to add a user to the expire database. All I configured is using passwd as userdb. I have include my configuration below: [EMAIL PROTECTED]:/var/lib/dovecot# dovecot -n # 1.1.rc8: /etc/do

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
> Program received signal SIGSEGV, Segmentation fault. > 0x0809ea67 in mail_get_physical_size () > (gdb) bt full > #0 0x0809ea67 in mail_get_physical_size () > No symbol table info available. > #1 0xb7e795c5 in quota_mail_storage_created () from > /usr/lib/dovecot/modules/imap/lib10_quota_plugin

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Juan Asensio Sánchez
Hi Thanks for the help, This is the result of the running commands: pdc-server:~# dpkg -l | grep gdb ii gdb 6.4.90.dfsg-1 The GNU Debugger ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version) pdc-server:~# dpkg -l

Re: [Dovecot] v1.0.14 released

2008-06-03 Thread Kenneth Porter
--On Tuesday, June 03, 2008 8:58 PM +0300 Timo Sirainen <[EMAIL PROTECTED]> wrote: Which clients/versions? Can we name names? http://dovecot.org/list/dovecot/2008-April/030245.html Ah, a mobile phone. Which means a firmware upgrade, and a niche market, which means a client fix is less like

Re: [Dovecot] expire plugin - setgid failed

2008-06-03 Thread Timo Sirainen
On Jun 3, 2008, at 9:27 PM, e-frog wrote: I'm still having problems to get the expire plugin working. Now I get the following error when running the expire-tool. Error: stat(/root/mail/.Trash/tmp) failed: Permission denied (euid=2005 egid=100) Somehow it tries to access root's mailbox wit

Re: [Dovecot] expire plugin - setgid failed

2008-06-03 Thread e-frog
Hi, I'm still having problems to get the expire plugin working. Now I get the following error when running the expire-tool. Error: stat(/root/mail/.Trash/tmp) failed: Permission denied (euid=2005 egid=100) Somehow it tries to access root's mailbox with a standard user account. I'm already

Re: [Dovecot] v1.1.rc8 released

2008-06-03 Thread Kenneth Porter
--On Tuesday, June 03, 2008 3:49 PM +0300 Timo Sirainen <[EMAIL PROTECTED]> wrote: dbox is half-designed to support this. It supports arbitrary metadata (unlike maildir) and I've already written 3 lines of code to get this implemented ;) /* Pointer to external message data. Format is:

Re: [Dovecot] How to set MDNSent flag on a large amount of mails?

2008-06-03 Thread Kenneth Porter
--On Wednesday, June 04, 2008 1:17 AM +0800 Patrick Nagel <[EMAIL PROTECTED]> wrote: I'll give it a try tomorrow... netcat would be the bridge between my shell and dovecot then, I guess? Another possibility would be to use the c-client library, part of the uw-imap package:

Re: [Dovecot] v1.0.14 released

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 10:55 -0700, Kenneth Porter wrote: > --On Tuesday, June 03, 2008 5:56 PM +1000 Curtis Maloney > <[EMAIL PROTECTED]> wrote: > > > So include the work-around (that doesn't break anything) in Dovecot, and > > notify the maintainers of the broken clients to "Get a clue(tm)" :P >

Re: [Dovecot] v1.0.14 released

2008-06-03 Thread Kenneth Porter
--On Tuesday, June 03, 2008 5:56 PM +1000 Curtis Maloney <[EMAIL PROTECTED]> wrote: So include the work-around (that doesn't break anything) in Dovecot, and notify the maintainers of the broken clients to "Get a clue(tm)" :P Which clients/versions? Can we name names?

[Dovecot] Scriptable protocol design

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 19:37 +0300, Timo Sirainen wrote: > 1 list "" * > 2 select > 3 uid search header Disposition-Notification-To "" > 4 uid store +flags $MDNSent I've once in a while thought about creating a new protocol to make things like these easier. So it wouldn't attempt to replace IMAP

Re: [Dovecot] How to set MDNSent flag on a large amount of mails?

2008-06-03 Thread Patrick Nagel
Hi, On Tue, 03 Jun 2008 19:20:43 +0200, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Wed, 2008-06-04 at 01:17 +0800, Patrick Nagel wrote: >> I'll give it a try tomorrow... netcat would be the bridge between my shell >> and dovecot then, I guess? > > That'll work, I tend to use python because it

Re: [Dovecot] How to set MDNSent flag on a large amount of mails?

2008-06-03 Thread Johannes Berg
On Wed, 2008-06-04 at 01:17 +0800, Patrick Nagel wrote: > Hi, > > On Tue, 03 Jun 2008 19:37:50 +0300, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > How about making your script use IMAP protocol? > > > > 1 list "" * > > 2 select > > 3 uid search header Disposition-Notification-To "" > > 4 uid sto

Re: [Dovecot] How to set MDNSent flag on a large amount of mails?

2008-06-03 Thread Patrick Nagel
Hi, On Tue, 03 Jun 2008 19:37:50 +0300, Timo Sirainen <[EMAIL PROTECTED]> wrote: > How about making your script use IMAP protocol? > > 1 list "" * > 2 select > 3 uid search header Disposition-Notification-To "" > 4 uid store +flags $MDNSent Thanks, Timo! Never thought of that :) I'll give it

Re: [Dovecot] How to set MDNSent flag on a large amount of mails?

2008-06-03 Thread Timo Sirainen
On Wed, 2008-06-04 at 00:33 +0800, Patrick Nagel wrote: > after having moved a big mail archive to IMAP, I've now got the following > problem: The MUA asks to send an MDN on all those old messages that contain > the 'Disposition-Notification-To' header when opened. I'd like to set the > $MDNSent fl

[Dovecot] How to set MDNSent flag on a large amount of mails?

2008-06-03 Thread Patrick Nagel
Hi, after having moved a big mail archive to IMAP, I've now got the following problem: The MUA asks to send an MDN on all those old messages that contain the 'Disposition-Notification-To' header when opened. I'd like to set the $MDNSent flag on those (>1 in a deeply nested directory structure)

Re: [Dovecot] Wrong message information

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 17:28 +0200, Anders wrote: > I have not been able to reproduce this at will, but do see 1-Jan-1970 in > rawlog about two times every day now (with some 80 accounts and probably > thousands of deliveries). Could you try with the attached debug patch? What does it log when it h

Re: [Dovecot] Wrong message information

2008-06-03 Thread Anders
Anders wrote: > Anders wrote: > >> Well, I got another report about a 1970 timestamp :-(. >> >> Now I have enabled rawlog for all users that are still on Procmail >> delivery. Will this be useful? Is there something else that I can do? [...] > It seems that whenever this problem shows up, two mes

Re: [Dovecot] mbox: extra linefeed after Content-Length header in 1.1.rc8

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 10:34 +0200, Diego Liziero wrote: > mbox messages gets header corruption caused by an extra linefeed after > Content-Length Fixed: http://hg.dovecot.org/dovecot-1.1/rev/e043135e971d I guess 1.1.rc9 will still come. But I'll wait a couple of days before releasing it to see if

Re: [Dovecot] v1.1.rc8 released

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 07:11 +0100, Ed W wrote: > Actually the motivation for this was I was wondering about the benefit > of a storage backend where the body was stored per file and the headers > were stored separately (perhaps in a maildir type format). I haven't > looked to see if this is wha

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
On Tue, 2008-06-03 at 00:51 +0200, Juan Asensio Sánchez wrote: > Well > > Finally i found the error. It look like antispam is not compatible > with quota plugin. > > mail_plugins = quota imap_quota autocreate antispam > > If i remove quota and imap_quota plugins from imap protocol, > everything

Re: [Dovecot] v1.1.rc8 released

2008-06-03 Thread Jost Krieger
On Tue, Jun 03, 2008 at 10:45:20AM +0200, Geert Hendrickx wrote: > On Tue, Jun 03, 2008 at 10:27:32AM +0200, Jost Krieger wrote: ... > > That could lead to slight problems, like hardlinking totally unrelated > > messages, e.g. empty messages. Some Headers like From:, To:, Date:, > > Subject: should

Re: [Dovecot] spamassassin, postfix with dovecot lda?

2008-06-03 Thread George Mamalakis
Hello Nicolas, I tried the mailbox_transport = dovecot directive, with no luck, since I was using virtual mailboxes, where virtual_transport is responsible for delivery. What really helped, though, was the dovecot line in master.cf, which after a few tweaks allowed me to make things work event

Re: [Dovecot] v1.1.rc8 released

2008-06-03 Thread Geert Hendrickx
On Tue, Jun 03, 2008 at 10:27:32AM +0200, Jost Krieger wrote: > On Tue, Jun 03, 2008 at 07:11:33AM +0100, Ed W wrote: > > > Could do, but I was trying to expand to the case that the headers were > > different, but the body was the same (eg I suspect that mailing list > > managers might deliver e

[Dovecot] mbox: extra linefeed after Content-Length header in 1.1.rc8

2008-06-03 Thread Diego Liziero
mbox messages gets header corruption caused by an extra linefeed after Content-Length Users sees their mails in Sent mbox folder without the from and to fields, without attachments and with the date of 1/1/1970 Diego. --- Here is an anonymized header: >From [EMAIL PROTECTED] Tue Jun 03 09:14:33

Re: [Dovecot] v1.1.rc8 released

2008-06-03 Thread Jost Krieger
On Tue, Jun 03, 2008 at 07:11:33AM +0100, Ed W wrote: > Could do, but I was trying to expand to the case that the headers were > different, but the body was the same (eg I suspect that mailing list > managers might deliver emails one by one (verp), but the body is not > customised. Anyway, jus

Re: [Dovecot] v1.1.rc6 released (managesieve updated)

2008-06-03 Thread Stephan Bosch
Asheesh Laroia wrote: > On Fri, 30 May 2008, Stephan Bosch wrote: > >> Timo Sirainen schreef: >>> http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc6.tar.gz >>> http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc6.tar.gz.sig >> Previous managesieve wont compile against rc6, so I made a quick new >> re

Re: [Dovecot] v1.1.rc8 released (managesieve updated)

2008-06-03 Thread Stephan Bosch
Timo Sirainen wrote: > http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc8.tar.gz > http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc8.tar.gz.sig I refreshed the ManageSieve patch for the new Dovecot v1.1 release: http://www.rename-it.nl/dovecot/1.1/dovecot-1.1.rc8-managesieve-0.10.2.diff.gz http:/

Re: [Dovecot] v1.0.14 released

2008-06-03 Thread Matthias Andree
On Tue, 03 Jun 2008, Curtis Maloney wrote: > Matthias Andree wrote: >> On Mon, 02 Jun 2008, Timo Sirainen wrote: >> >>> - proxy: Login success reply was sent in two IP packets, which >>> confused some IMAP/POP3 clients >> >> So? Fix the clients or have the kernel reassemble packets. >> T

Re: [Dovecot] v1.0.14 released (managesieve updated)

2008-06-03 Thread Stephan Bosch
Timo Sirainen wrote: > http://dovecot.org/releases/1.0/dovecot-1.0.14.tar.gz > http://dovecot.org/releases/1.0/dovecot-1.0.14.tar.gz.sig > Refreshed ManageSieve patch for new Dovecot v1.0 release: http://www.rename-it.nl/dovecot/1.0/dovecot-1.0.14-MANAGESIEVE-v9.3.diff.gz http://www.rename-it.n

Re: [Dovecot] v1.0.14 released

2008-06-03 Thread Curtis Maloney
Matthias Andree wrote: On Mon, 02 Jun 2008, Timo Sirainen wrote: - proxy: Login success reply was sent in two IP packets, which confused some IMAP/POP3 clients So? Fix the clients or have the kernel reassemble packets. They can't control who and when is fragmenting and why a

Re: [Dovecot] v1.0.14 released

2008-06-03 Thread Matthias Andree
On Mon, 02 Jun 2008, Timo Sirainen wrote: > - proxy: Login success reply was sent in two IP packets, which > confused some IMAP/POP3 clients So? Fix the clients or have the kernel reassemble packets. They can't control who and when is fragmenting and why anyways. I'm not against th

Re: [Dovecot] overview of patches used in Fedora

2008-06-03 Thread Dan Horák
Timo Sirainen píše v Po 02. 06. 2008 v 21:50 +0300: > On Fri, 2008-05-30 at 15:49 +0200, Dan Horák wrote: > > Hi, > > > > I have gone through the patches that are used in the Fedora package and > > probably only the "mkcert-permissions" [1] can be considered to be > > included upstream. It is dat