Re: [Dovecot] Better to use a single large storage server or multiple smaller for mdbox?

2012-04-10 Thread Emmanuel Noobadmin
On 4/10/12, Stan Hoeppner s...@hardwarefreak.com wrote: So I have to make do with OTS commodity parts and free software for the most parts. OTS meaning you build your own systems from components? Too few in the business realm do so today. :( For the inhouse stuff and budget customers yes,

Re: [Dovecot] v2.1.4 released - broken

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 4.28, Marc Perkel wrote: I'm seeing this immediately after upgrading from 2.1.3 Apr 09 18:22:43 imap(ch...@powerpage.org): Error: user ch...@powerpage.org: Initialization failed: Initializing mail storage from mail_location setting failed: Home directory not set for user.

Re: [Dovecot] Authentication mechanism and Password scheme

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 5.37, Костырев Александр Алексеевич wrote: Good day! I'm just trying to figure out that my understanding of subject is correct. So, if I want to store passwords in my database encrypted with SSHA512 scheme, my only choice for Authentication mechanism is plaintext? Yeah,

Re: [Dovecot] Multiply mailboxes vs one huge

2012-04-10 Thread Timo Sirainen
On 9.4.2012, at 22.39, Alexander Chekalin wrote: Hello, Timo, I feel a bit unsure about which 'date' I mean, since I always consider the only date from Date: header. But which value is used as INTERNALDATE then? As soon as I use (for now) maildir storage type, all the metadata are stored

Re: [Dovecot] Better to use a single large storage server or multiple smaller for mdbox?

2012-04-10 Thread Adrian Minta
On 04/10/12 08:00, Stan Hoeppner wrote: Interestingly, I designed a COTS server back in January to handle at least 5k concurrent IMAP users, using best of breed components. If you or someone there has the necessary hardware skills, you could assemble this system and simply use it for NFS

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Patrick Westenberg
Hi, I switched from dovecot-lda to lmtp for my quota warnings but there is something wrong with the parameters: /usr/local/libexec/dovecot/lmtp -d $USER -o plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforcing /usr/local/libexec/dovecot/lmtp: invalid option -- 'd'

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 13.44, Patrick Westenberg wrote: I switched from dovecot-lda to lmtp for my quota warnings but there is something wrong with the parameters: /usr/local/libexec/dovecot/lmtp -d $USER -o plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforcing This is not how

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Patrick Westenberg
Timo Sirainen schrieb: On 10.4.2012, at 13.44, Patrick Westenberg wrote: I switched from dovecot-lda to lmtp for my quota warnings but there is something wrong with the parameters: /usr/local/libexec/dovecot/lmtp -d $USER -o plugin/quota=dict:User

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Timo Sirainen
On 9.4.2012, at 16.35, Patrick Westenberg wrote: cat EOF | /usr/local/libexec/dovecot/dovecot-lda -d $USER -o plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforcing The :noenforcing isn't in the right location. dict:User quota::noenforcing:file:%h/...

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Patrick Westenberg
Timo Sirainen schrieb: The :noenforcing isn't in the right location. dict:User quota::noenforcing:file:%h/... Aww.. thank you!

[Dovecot] old messages being delivered to blackberry

2012-04-10 Thread Luc Belliveau
Several users are reporting old messages (sometime years old) are being delivered as new on their blackberry devices... I've confirmed that this happens to all blackberry users... I believe the problem is related to this error: Maildir: Expunged message reappeared, giving a new UID In fact,

Re: [Dovecot] old messages being delivered to blackberry

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 16.45, Luc Belliveau wrote: Several users are reporting old messages (sometime years old) are being delivered as new on their blackberry devices... I've confirmed that this happens to all blackberry users... I believe the problem is related to this error: Maildir:

[Dovecot] 2.0/2.1 - different behavior for LIST-EXTENDED

2012-04-10 Thread Peter Mogensen
Hi Timo, We are sitting here wondering if this difference in behaviour between dovecot 2.0.17 and 2.1.3 is intended. When you create a folder, subscribe to it and rename it (without changing the subscription) these are the behaviours: For 2.0.17: . list (SUBSCRIBED) * RETURN (STATUS

[Dovecot] Per IP virtual domain

2012-04-10 Thread Stéphane Locatelli
Hello, My dovecot server (2.0.18 on FreeBSD 9) has multiple interface. I would like to configure the authentication (pop and imap) to append different domain according to the local IP address. I've tested this: local 10.0.0.1 { auth_default_realm = domain1.com } local 10.0.0.2 {

Re: [Dovecot] 2.0/2.1 - different behavior for LIST-EXTENDED

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 18.28, Peter Mogensen wrote: For 2.0.17: . list (SUBSCRIBED) * RETURN (STATUS (MESSAGES)) * LIST (\Subscribed \NonExistent) . INBOX.test For 2.1.3: . list (SUBSCRIBED) * RETURN (STATUS (MESSAGES)) * LIST (\Subscribed) . INBOX.test * NO Mailbox doesn't exist: test This

Re: [Dovecot] Per IP virtual domain

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 18.29, Stéphane Locatelli wrote: My dovecot server (2.0.18 on FreeBSD 9) has multiple interface. I would like to configure the authentication (pop and imap) to append different domain according to the local IP address. I've tested this: local 10.0.0.1 {

Re: [Dovecot] Username from rfc822Name subject alternative name

2012-04-10 Thread Timo Sirainen
On 9.4.2012, at 16.51, Бранко Мајић wrote: I'm looking into adding support for extracting the username from client certificate's rfc822Name (from the subjectAltName extension). The question I have is what would be the best approach to do this? Current implementation has a kind of clean

Re: [Dovecot] Per IP virtual domain

2012-04-10 Thread Stéphane Locatelli
2012/4/10 Timo Sirainen t...@iki.fi As it says, currently they aren't supported. It would need some extra code. Depending on your passdb you may be able to do this in your passdb configuration. Currently I'm using dovecot 1.x on my production server with mysql passdb. I have ugly SQL

Re: [Dovecot] Authentication mechanism and Password scheme

2012-04-10 Thread Ed W
On 10/04/2012 08:11, Timo Sirainen wrote: On 10.4.2012, at 5.37, Костырев Александр Алексеевич wrote: Good day! I'm just trying to figure out that my understanding of subject is correct. So, if I want to store passwords in my database encrypted with SSHA512 scheme, my only choice for

[Dovecot] Bug in HIGHESTMODSEQ when MODSEQ tracking is not enabled for version 2.0.18.

2012-04-10 Thread Glenn Wurster
Greetings, I'm new to the list. I have encountered what I believe to be a bug in the return of HIGHESTMODSEQ when talking to a IMAP client. HIGHESTMODSEQ does not appear to be incrementing when a new message arrives. The exact steps I took are: 1) Create a new mail account 2) Send a mail

Re: [Dovecot] Authentication mechanism and Password scheme

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 19.35, Ed W wrote: Does dovecot 2.0 also support SCRAM-SHA? v2.1 does. I only mention because it's come up on my radar recently and as I understand it, it solves the issue of either having - plain text db of passwords, encrypted login - encrypted db of passwords,

Re: [Dovecot] Bug in HIGHESTMODSEQ when MODSEQ tracking is not enabled for version 2.0.18.

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 20.17, Glenn Wurster wrote: It appears as if HIGHESTMODSEQ is not being updated. I can get HIGHESTMODSEQ to start updating correctly if I send a UID FETCH 1 MODSEQ or similar command, which appears to enable MODSEQ tracking at the server (according to the comment around

[Dovecot] Dsync test on 2.1.3

2012-04-10 Thread Jitendra Bhaskar
Hi, I am using dovecot version 2.1.3 on centos. I tested dsync from my live server to one of backup server. But I got that its working for most of the user and there is problem for few user. Some users got duplicated mail to their mailbox and I saw there is some extra folders i.e Sent Items_* ,

[Dovecot] lazy_expunge questions

2012-04-10 Thread James Devine
I'm messing around with lazy expunge and I just had a couple of questions. If I delete messages or folders with messages, I see them being moved to the expunge namespace, but if I delete an empty folder, all traces of it seem to disappear. Is there a way to move empty folders to the expunge

Re: [Dovecot] Bug in HIGHESTMODSEQ when MODSEQ tracking is not enabled for version 2.0.18.

2012-04-10 Thread Glenn Wurster
Yes, modseqs aren't tracked in a mailbox until client expresses an interest for them. It would be a waste of disk space to save them since 99% of users don't need them. Makes sense, our mail client gets caught in the middle though, because it uses HIGHESTMODSEQ to track mailbox updates

Re: [Dovecot] Username from rfc822Name subject alternative name

2012-04-10 Thread Бранко Мајић
Another solution could be having another property that specifies whether the information should be pulled in from subject or subjectAltName. But I think what you've proposed would be ok as well, and it'd allow for future expansion too (if anyone decides to use some other SAN). I can get working

[Dovecot] sieve replace dot string for foldername

2012-04-10 Thread Robert Schetterer
Hi, i am playing about mail archive this is what allready works for me require [variables,date,fileinto,mailbox,envelope,subaddress,regex]; # Extract date info if currentdate :matches year * { set year ${1}; } if currentdate :matches month * { set month ${1}; } if currentdate :matches day * {

Re: [Dovecot] Username from rfc822Name subject alternative name

2012-04-10 Thread Timo Sirainen
I can add the patch to v2.1, but probably not to earlier versions. On 11.4.2012, at 0.07, Бранко Мајић wrote: Another solution could be having another property that specifies whether the information should be pulled in from subject or subjectAltName. But I think what you've proposed would

Re: [Dovecot] sieve replace dot string for foldername

2012-04-10 Thread Stephan Bosch
On 4/10/2012 11:08 PM, Robert Schetterer wrote: Hi, i am playing about mail archive this is what allready works for me require [variables,date,fileinto,mailbox,envelope,subaddress,regex]; # Extract date info if currentdate :matches year * { set year ${1}; } if currentdate :matches month * {

Re: [Dovecot] sieve replace dot string for foldername

2012-04-10 Thread Robert Schetterer
Am 11.04.2012 00:06, schrieb Stephan Bosch: On 4/10/2012 11:08 PM, Robert Schetterer wrote: Hi, i am playing about mail archive this is what allready works for me require [variables,date,fileinto,mailbox,envelope,subaddress,regex]; # Extract date info if currentdate :matches year * {

[Dovecot] F5 SLB iRule - POP3 TLS Offload Add Realm

2012-04-10 Thread Lee Standen
Hey Guys, I figured someone might have use of this at some point. I've created an iRule for our F5 Load Balancer which performs the following tasks: - Appends STLS to the POP3 Capability list (it does this blindly, so expects the backend POP3 server to not return this) - Watches for

Re: [Dovecot] Folder Aliases - Revisited Yet Again Four Years Later

2012-04-10 Thread Daniel L. Miller
On 8/13/2010 6:07 AM, Timo Sirainen wrote: On Thu, 2010-08-12 at 17:04 -0700, Daniel L. Miller wrote: If we can't get clients to agree on a standard set of folders (probably reasonably safe assumption) [...] I'm kind of annoyed with listescape though. Hopefully for v2.1 I can figure out some

Re: [Dovecot] Folder Aliases - Revisited Yet Again Four Years Later

2012-04-10 Thread Timo Sirainen
On 11.4.2012, at 8.06, Daniel L. Miller wrote: On 8/13/2010 6:07 AM, Timo Sirainen wrote: On Thu, 2010-08-12 at 17:04 -0700, Daniel L. Miller wrote: If we can't get clients to agree on a standard set of folders (probably reasonably safe assumption) [...] I'm kind of annoyed with

Re: [Dovecot] Folder Aliases - Revisited Yet Again Four Years Later

2012-04-10 Thread Timo Sirainen
On 11.4.2012, at 8.12, Timo Sirainen wrote: Yes, this is much easier with v2.1 I think. The new listescape plugin is just a tiny wrapper that will probably just be replaced by a setting some day in future. I haven't actually tried to write such alias plugin though. Here: