Re: [Dovecot] LDA and POP3/IMAP user_query

2010-01-14 Thread Kirill Miazine
* Michael [2010-01-15 12:12]: How do I get IMAP+POP3 vs. LDA to use different user_query statements? The problem is that the input fields are different. I don't understand what you mean. IMAP/POP3 is an email address LDA is a username Again, sorry, but I don't understand what you mean.

[Dovecot] How can I configure dovecot as gmail imap proxy

2010-01-14 Thread Supratik Goswami
Hi, I want to configure dovecot as gmail imap proxy. If any system in my network wants to connect to imap.gmail.com,993 it has to go through the dovecot proxy. Is it possible to setup such environment with dovecot? If yes, can you please help me to configure my dovecot server. Warm Regards Supr

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Curtis Maloney escreveu: Timo -- any tips on helping dovecot deliver compress mails on delivery? It would solve a lot of problems here, from what I can see, to have a deliver plugin that compresses on delivery and sets the Z flag in the filename. that would be indeed lovely when thi

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-14 Thread Brandon Davidson
Hi David, On 1/14/10 3:13 PM, "David Halik" wrote: > > FYI, we backed out of the "noac" change today. When our 20K accounts > started coming to work the NetApp NFS server was pushing 70% CPU usage > and 25K NFS Ops/s, which resulted in all kinds of other havoc as normal > services started becomi

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-14 Thread David Halik
FYI, we backed out of the "noac" change today. When our 20K accounts started coming to work the NetApp NFS server was pushing 70% CPU usage and 25K NFS Ops/s, which resulted in all kinds of other havoc as normal services started becoming slow. This server usally runs around 25% and 5K, so suc

[Dovecot] LDA and POP3/IMAP user_query

2010-01-14 Thread Michael
How do I get IMAP+POP3 vs. LDA to use different user_query statements? The problem is that the input fields are different. IMAP/POP3 is an email address LDA is a username I have written a long statement to try and cater for both however it still only works 99% of the time, and the remaining 1%

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Curtis Maloney
On 01/14/10 20:58, Leonardo Rodrigues wrote: what would be the correct way of compressing messages on the new directory and adding the Z flag ? Would be any problem if, when compressing on new, add the ':2,' suffix ? Indeed it would be ':2,Z' suffix one OK... since I've been wanting compressed

Re: [Dovecot] shared namespaces with common prefix prefix

2010-01-14 Thread Frank Cusack
On January 14, 2010 2:22:08 PM -0500 Frank Cusack wrote: # to share other employees mailboxes (term'd or admin access) namespace shared { separator = / prefix = zz/shared/%%u/ location = maildir:/var/maildir/%%n:INDEX=/var/maildir/users/%%u subscriptions = no list = children } In the

[Dovecot] shared namespaces with common prefix prefix

2010-01-14 Thread Frank Cusack
Can shared/public namespaces' prefixes have a common prefix? :) namespace public { separator = / prefix = zz/shared/ location = maildir:/var/maildir/shared:INDEX=/var/maildir/%n/shared subscriptions = no } # to share other employees mailboxes (term'd or admin access) namespace shared { separ

Re: [Dovecot] antispam plugin

2010-01-14 Thread Tom Hendrikx
Dan Swartzendruber wrote: > First off, I have to say I really like the antispam plugin. I am > running a (relatively) new freebsd 8.0 server with > postfix/dovecot/dspam/squirrelmail and it works great. Create a SPAM > folder and tell the dovecot antispam plugin to use INBOX.SPAM as the > spam fo

[Dovecot] antispam plugin

2010-01-14 Thread Dan Swartzendruber
First off, I have to say I really like the antispam plugin. I am running a (relatively) new freebsd 8.0 server with postfix/dovecot/dspam/squirrelmail and it works great. Create a SPAM folder and tell the dovecot antispam plugin to use INBOX.SPAM as the spam folder and drag messages from INBO

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Timo Sirainen escreveu: Maildir spec says files in new/ shouldn't have the :2, part, but Dovecot is fine with it. i'm trying to get the sample script for compressing maildirs from http://wiki.dovecot.org/Plugins/Zlib (right on the end of the page) but link seems to be not accessible. h

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Patrick Domack escreveu: If people read their emails atleast daily, it would work ok that way. But with several people that only read emails monthly or even not at all, it helps to compress the new folder also. let's not forget those 'created and forgot' mailboxes, who stands there on

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Timo Sirainen
On 14.1.2010, at 11.58, Leonardo Rodrigues wrote: >> In short: You want to rename >> 1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207 >> to 1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207:2,Z >> > > got it so, basically, i shouldnt be using .gz at all, is tha

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Patrick Domack
Quoting Eduardo M KALINOWSKI : On Qui, 14 Jan 2010, Leonardo Rodrigues wrote: got it so, basically, i shouldnt be using .gz at all, is that ok ? Yes. i understood that, when moving from new to cur, filename should be appended of ':2,'. But filenames on new, as i understood, should

Re: [Dovecot] shared namespace bug?

2010-01-14 Thread Patrick Kaiser
On Thu, Jan 14, 2010 at 02:52:38PM +0200, Timo Sirainen wrote: > On 14.1.2010, at 14.55, Patrick Kaiser wrote: > > >>> * LIST (\HasNoChildren) "/" "shared/peter.griffinINBOX" > >>> a02 OK List completed. > .. > > namespace: > > type: shared > > separator: / > > prefix: shared/%%u > > You need

Re: [Dovecot] shared namespace bug?

2010-01-14 Thread Timo Sirainen
On 14.1.2010, at 14.55, Patrick Kaiser wrote: >>> * LIST (\HasNoChildren) "/" "shared/peter.griffinINBOX" >>> a02 OK List completed. .. > namespace: > type: shared > separator: / > prefix: shared/%%u You need to add / after the %%u. I thought I had a check that caused it to fail at startup if

Re: [Dovecot] shared namespace bug?

2010-01-14 Thread Patrick Kaiser
On Tue, Jan 12, 2010 at 04:33:19PM +0200, Timo Sirainen wrote: > On 11.1.2010, at 14.12, Patrick Kaiser wrote: > > > * LIST (\HasNoChildren) "/" "shared/peter.griffinINBOX" > > a02 OK List completed. > > dovecot -n output? Hi Sorry that I missed that. Here is dovecot -n testing:~# dovecot -n

Re: [Dovecot] uw-imap compatability hack?

2010-01-14 Thread Simon Annetts
Thanks Timo, I couldn't get this to work properly with 1.0.7, but I've upgraded to 1.2.9 now and it works fine with a config of: mail_location = maildir:~/Maildir namespace private { separator = / prefix = inbox = yes } namespace private { separator = / prefix = mail/ inbox = no hidden =

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Eduardo M KALINOWSKI
On Qui, 14 Jan 2010, Leonardo Rodrigues wrote: got it so, basically, i shouldnt be using .gz at all, is that ok ? Yes. i understood that, when moving from new to cur, filename should be appended of ':2,'. But filenames on new, as i understood, should never be changed. As soon as

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Pascal Volk escreveu: No, you don't wont to have such file names. http://wiki.dovecot.org/Plugins/Zlib: … Dovecot can now read the file, but to avoid compressing it again … include e.g. a "Z" flag in the file name … (e.g. 1223212411.M907959P17184.host,S=3271:2,SZ) The article links also to: ht