Re: [Dovecot] Setting IMAP keywords/flags on delivery

2009-01-07 Thread Matt Doran
Bruce Bodger wrote: On Wed, January 7, 2009 8:24 pm, Matt Doran wrote: I'd like to be able to set this flag/keyword when the mail is delivered to the inbox, on the server side. Dovecot sieve will do exactly what you are looking for. It's described quite well in the WIKI. The operato

Re: [Dovecot] Setting IMAP keywords/flags on delivery

2009-01-07 Thread Bruce Bodger
On Wed, January 7, 2009 8:24 pm, Matt Doran wrote: > I'd like to be able to set this flag/keyword when the mail is delivered > to the inbox, on the server side. Dovecot sieve will do exactly what you are looking for. It's described quite well in the WIKI. The operator that you're looking for

[Dovecot] Setting IMAP keywords/flags on delivery

2009-01-07 Thread Matt Doran
Hi there, We've been long time users of Dovecot, and have found it a great IMAP server. I don't think we've had any serious problems in the 3-4 years of use. So great work. :) We have a IMAP inbox that is accessed by a number of different users from Thunderbird. We have a rule in Thunder

[Dovecot] Feature request (was Re: Apple patch 10)

2009-01-07 Thread fz . 2003
Here is a feature I wish Apple might consider implementing: When Dovecot is compiled for Mac OS X and using Maildir, have all mail files be written to disk with a dedicated OSType (equivalent to the .eml extension). This would make existing QuickLook generators and Spotlight importers (e.

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Karl Latiss
On Wed, 2009-01-07 at 17:05 -0500, Timo Sirainen wrote: > On Thu, 2009-01-08 at 08:50 +1100, Karl Latiss wrote: > > > No. You have several extra \ characters in the logs and they just > > > shouldn't be there unless the client sent them. Set > > > auth_debug_passwords=yes and paste the full logs wh

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Timo Sirainen
On Thu, 2009-01-08 at 08:50 +1100, Karl Latiss wrote: > > No. You have several extra \ characters in the logs and they just > > shouldn't be there unless the client sent them. Set > > auth_debug_passwords=yes and paste the full logs when logging in? (Use a > > password that isn't important.) > > T

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Karl Latiss
On Wed, 2009-01-07 at 16:31 -0500, Timo Sirainen wrote: > On Thu, 2009-01-08 at 08:27 +1100, Karl Latiss wrote: > > On Wed, 2009-01-07 at 11:09 -0800, Scott Silva wrote: > > > on 1-7-2009 9:26 AM Timo Sirainen spake the following: > > > > On Wed, 2009-01-07 at 12:12 -0500, Timo Sirainen wrote: > >

Re: [Dovecot] Parameters to pass to configure - Mac OS X

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 15:31 -0600, Bruce Bodger wrote: > On 1/7/09 3:02 PM, Timo Sirainen wrote: > >> > >> Do you still consider that the appropriate command line for OS X systems? > >> > > > > It's not necessary since it's used by default anyway (verify that it > > says "File change notificat

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Timo Sirainen
On Thu, 2009-01-08 at 08:27 +1100, Karl Latiss wrote: > On Wed, 2009-01-07 at 11:09 -0800, Scott Silva wrote: > > on 1-7-2009 9:26 AM Timo Sirainen spake the following: > > > On Wed, 2009-01-07 at 12:12 -0500, Timo Sirainen wrote: > > The previous log output is with me telnetting in manually,

Re: [Dovecot] Parameters to pass to configure - Mac OS X

2009-01-07 Thread Bruce Bodger
On 1/7/09 3:02 PM, Timo Sirainen wrote: Do you still consider that the appropriate command line for OS X systems? It's not necessary since it's used by default anyway (verify that it says "File change notification method .. kqueue" after configure). It did indeed. Thank you. I just

Re: [Dovecot] Problem with opening ports in alpha5 ?

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 14:08 -0500, Bruce A. Mallett wrote: > Lastly with an explicit "listen = *, [::]" > > -bash-3.2# dovecot -F > Fatal: listen(::, 143) failed: Address already in use > -bash-3.2# dovecot -n .. > Interesting: I notice that the "listen" does not show up in the last case. That's

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Karl Latiss
On Wed, 2009-01-07 at 11:09 -0800, Scott Silva wrote: > on 1-7-2009 9:26 AM Timo Sirainen spake the following: > > On Wed, 2009-01-07 at 12:12 -0500, Timo Sirainen wrote: > The previous log output is with me telnetting in manually, however the > webmail software (roundcube) produces the s

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Karl Latiss
On Wed, 2009-01-07 at 12:12 -0500, Timo Sirainen wrote: > On Wed, 2009-01-07 at 00:08 -0500, Timo Sirainen wrote: > > On Jan 6, 2009, at 6:47 PM, Karl Latiss wrote: > > > > > On Tue, 2009-01-06 at 18:33 -0500, Timo Sirainen wrote: > > >> On Wed, 2009-01-07 at 10:19 +1100, Karl Latiss wrote: > > >>

Re: [Dovecot] Parameters to pass to configure - Mac OS X

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 14:54 -0600, Bruce Bodger wrote: > Timo, > > Many months back you recommend that, when compiling on Mac OS X systems, > that we pass the '--with-notify=kqueue' swith to 'configure'. For > many, many months we've been configuring using this command... > > ./configure --wi

[Dovecot] Parameters to pass to configure - Mac OS X

2009-01-07 Thread Bruce Bodger
Timo, Many months back you recommend that, when compiling on Mac OS X systems, that we pass the '--with-notify=kqueue' swith to 'configure'. For many, many months we've been configuring using this command... ./configure --with-ssldir=/System/Library/OpenSSL --with-ssl=openssl --with-notify

Re: [Dovecot] PDF corruption issue

2009-01-07 Thread Charles Marcus
On 1/7/2009 2:58 PM, Michael Dunne wrote: > Greetings, > > Thanks to everyone that replied. I have not been able to isolate the > cause, has this happened to anyone else? I don't know if it helps, but I had a pdf corruption problem a while back that drove me crazy for about 2 weeks, to the point

[Dovecot] v1.1.8 released

2009-01-07 Thread Timo Sirainen
http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.8.tar.gz.sig Most importantly mbox bugfixes. v1.1 should finally be as stable with mboxes as it was with v1.0. Hopefully we'll also soon have the first v1.2 beta release and the final v1.2.0 somewhat s

Re: [Dovecot] PDF corruption issue

2009-01-07 Thread Timo Sirainen
I think the main question here is if this problem is specifically with PDFs, or if you're just not sending other attachments as much? v1.1 also does have some mbox bugs that will be fixed in v1.1.8 (I think I'll do the release now). On Wed, 2009-01-07 at 11:58 -0800, Michael Dunne wrote: > Greetin

Re: [Dovecot] PDF corruption issue

2009-01-07 Thread Michael Dunne
Greetings, Thanks to everyone that replied. I have not been able to isolate the cause, has this happened to anyone else? Thanks, Mike On Jan 5, 2009, at 5:43 PM, Michael Dunne wrote: Greetings, I have several users reporting that PDF attachments are coming in corrupted. They are using

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Scott Silva
on 1-7-2009 9:26 AM Timo Sirainen spake the following: > On Wed, 2009-01-07 at 12:12 -0500, Timo Sirainen wrote: The previous log output is with me telnetting in manually, however the webmail software (roundcube) produces the same results. >>> That's weird. I'll try to reproduce it tomorr

Re: [Dovecot] Problem with opening ports in alpha5 ?

2009-01-07 Thread Bruce A. Mallett
Timo Sirainen wrote: > On Wed, 2009-01-07 at 07:31 -0500, Bruce A. Mallett wrote: > >> I've now had a change to try this using ... >> http://www.dovecot.org/nightly/dovecot-20090107.tar.gz >> > .. > >> -bash-3.2# dovecot -n >> # 1.2.al

Re: [Dovecot] Apple patches 11-14

2009-01-07 Thread Timo Sirainen
On Tue, 2009-01-06 at 17:06 -0600, Mike Abbott wrote: > Patch #11 adds a few dtrace providers to key points in the code. We > are still validating the correct placement and usefulness of these. > One cool thing about dtrace is that when not in use the hooks > literally are just a couple of

Re: [Dovecot] Sudden, large numbers of "Timeout while waiting for lock for transaction log ..."

2009-01-07 Thread Jack Stewart
Timo Sirainen wrote: On Wed, 2009-01-07 at 08:32 -0800, Jack Stewart wrote: Timo Sirainen wrote: On Tue, 2009-01-06 at 23:11 -0800, Jack Stewart wrote: an 6 01:21:02 earth-griffen dovecot: IMAP(zabala): Timeout while waiting for lock for transaction log file /var/spool/dovecot/indexes/z/z

Re: [Dovecot] Apple patches 11-14

2009-01-07 Thread Timo Sirainen
On Tue, 2009-01-06 at 19:18 -0600, Mike Abbott wrote: > > I don't see dtrace-dovecot.h included in it. > > dtrace-dovecot.h is generated from dtrace-dovecot.d by the command > "dtrace -h -s $(DTRACE_SOURCE)" in src/lib/Makefile.am. See the > section "BUILDING CODE CONTAINING USDT PROBES" in

Re: [Dovecot] Obtaining the chroot-cage directory of the mailstore

2009-01-07 Thread Stefan Jurisch
Hello, I try to access the files within the maildir-structure directly, because I want to store some files with status data there (I try to implement some experimental ACL stuff). So I thaught that I would need the root cage's path to access it in the file system. But I think you're surely righ

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 12:12 -0500, Timo Sirainen wrote: > > > The previous log output is with me telnetting in manually, however the > > > webmail software (roundcube) produces the same results. > > > > That's weird. I'll try to reproduce it tomorrow. I don't have a > > working LDAP server setup

Re: [Dovecot] login fails when username has apostrophe

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 00:08 -0500, Timo Sirainen wrote: > On Jan 6, 2009, at 6:47 PM, Karl Latiss wrote: > > > On Tue, 2009-01-06 at 18:33 -0500, Timo Sirainen wrote: > >> On Wed, 2009-01-07 at 10:19 +1100, Karl Latiss wrote: > >>> Jan 5 16:15:05 www-example1 dovecot: auth(default): ldap(julie.o

Re: [Dovecot] Apple patch 10

2009-01-07 Thread Mike Abbott
the current code looks like it finds the first free connection_id Actually connection_id's are increasing. The hash-lookup loop in create_mail_process just prevents (extremely unlikely) duplicates when next_connection_id wraps.

Re: [Dovecot] Sudden, large numbers of "Timeout while waiting for lock for transaction log ..."

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 08:32 -0800, Jack Stewart wrote: > Timo Sirainen wrote: > > On Tue, 2009-01-06 at 23:11 -0800, Jack Stewart wrote: > >> an 6 01:21:02 earth-griffen dovecot: IMAP(zabala): Timeout while > >> waiting for lock for transaction log file > >> /var/spool/dovecot/indexes/z/zabala/

Re: [Dovecot] Sudden, large numbers of "Timeout while waiting for lock for transaction log ..."

2009-01-07 Thread Jack Stewart
Timo Sirainen wrote: On Tue, 2009-01-06 at 23:11 -0800, Jack Stewart wrote: an 6 01:21:02 earth-griffen dovecot: IMAP(zabala): Timeout while waiting for lock for transaction log file /var/spool/dovecot/indexes/z/zabala/.INBOX/dovecot.index.log This is the main problem. So indexes are also

Re: [Dovecot] Sudden, large numbers of "Timeout while waiting for lock for transaction log ..."

2009-01-07 Thread Timo Sirainen
On Tue, 2009-01-06 at 23:11 -0800, Jack Stewart wrote: > an 6 01:21:02 earth-griffen dovecot: IMAP(zabala): Timeout while > waiting for lock for transaction log file > /var/spool/dovecot/indexes/z/zabala/.INBOX/dovecot.index.log This is the main problem. So indexes are also on NFS? What locking

Re: [Dovecot] Problem with opening ports in alpha5 ?

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 07:31 -0500, Bruce A. Mallett wrote: > I've now had a change to try this using ... > http://www.dovecot.org/nightly/dovecot-20090107.tar.gz .. > -bash-3.2# dovecot -n > # 1.2.alpha4: /etc/dovecot.conf Something's wrong. It should say alpha5. sig

[Dovecot] Bug Report on Expire PlugIn (update)

2009-01-07 Thread Jörg Leis
I did the same thing on the console and this is what happens: bash-3.2$ openssl s_client -connect example.com:993 CONNECTED(0003) [...] Server certificate -BEGIN CERTIFICATE- [...] -END CERTIFICATE- [...] CA --- No client certificate CA names sent --- SSL handshake has read 45

Re: [Dovecot] Obtaining the chroot-cage directory of the mailstore

2009-01-07 Thread Timo Sirainen
On Wed, 2009-01-07 at 15:24 +0100, Stefan Jurisch wrote: > Hello, > > I'd like to find a function in the sourcecode which enables me to get > the chroot-path of the mailstore, so I can concatenate it with the > result of mail_storage_get_mailbox_path to get the full path of a > mailbox within the

Re: [Dovecot] IMAP Folder permissions

2009-01-07 Thread Eduardo M KALINOWSKI
Stuart Gall escreveu: > Hello, > Happy new year. > I have a dovecot with exim installation. I am using virtual users for > mail and IMAP. > When dovecot creates a folder from imap user the permissions are > rwx-- > I need them to be rwxrwx--- > > Is there a way to change this in the configu

[Dovecot] IMAP Folder permissions

2009-01-07 Thread Stuart Gall
Hello, Happy new year. I have a dovecot with exim installation. I am using virtual users for mail and IMAP. When dovecot creates a folder from imap user the permissions are rwx-- I need them to be rwxrwx--- Is there a way to change this in the configuration file ? TIA Stuart Stuart Ga

[Dovecot] Obtaining the chroot-cage directory of the mailstore

2009-01-07 Thread Stefan Jurisch
Hello, I'd like to find a function in the sourcecode which enables me to get the chroot-path of the mailstore, so I can concatenate it with the result of mail_storage_get_mailbox_path to get the full path of a mailbox within the filesystem. Does such a function exist? Who can help me? Thanks

Re: [Dovecot] Problem with opening ports in alpha5 ?

2009-01-07 Thread Bruce A. Mallett
open the port twice for both ip4 and ip6? >> > > I can't reproduce this with current hg. Could you try if this still > happens with nightly snapshots? If it does, dovecot -n output might show > something useful. Oh and what OS are you using? > > Timo, I've no

Re: [Dovecot] writing a dovecot plugin / segfault

2009-01-07 Thread Stefan Jurisch
Hi again, sorry for asking my last stupid programming question, but I think, that was a kind of "programmer's blindness"... ;-) I did not see, that I have forgotten to assign the function call t_new_str(256) to the variable "*response" - that's all. Best regards Stefan On Mon, Jan 05, 2009