Re: [Dovecot] critical feature from version 1 not migrated to version 2 = authentication configuration database per IP

2011-02-08 Thread Timo Sirainen
On 9.2.2011, at 9.37, da...@apollo.lv wrote: > existing version 1 config file, that allow such configuration: > /etc/dovecot.conf BEGIN > server mail.domain1.tld { I'm surprised that this server block really worked for you. I only remember having problems with it, and t

[Dovecot] critical feature from version 1 not migrated to version 2 = authentication configuration database per IP

2011-02-08 Thread da...@apollo.lv
not possible make operation with dovecot version 2.x as was possible in version 1.x: requisites description: connect to dovecot service on IP1 - dovecot must serve users that related to domain1 located in database1 connect to dovecot service on IP2 - dovecot must serve users that related to d

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Javier Miguel Rodríguez
The stats in the SAN after the change maildir->mdbox do not help, we have zlib enabled in lda& imap with mdbox, so our # of real IOPs is lower than Maildir (we did not have zlib enabled) I wonder how large a write can be before it is split to two iops.. With NFS probably smaller I'd guess.

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Timo Sirainen
On 9.2.2011, at 9.21, Javier Miguel Rodríguez wrote: >That is a "tricky" question to ask. It depends on usage, I think the > following: > > >- LDA delivery: load is a bit lower (on disk) in Maildir vs mdbox: in both > cases the message has to be written, indexes are updated, in Maildir

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Javier Miguel Rodríguez
So with mdbox disk I/O usage increased compared to maildir+ramdisk indexes? That is a "tricky" question to ask. It depends on usage, I think the following: - LDA delivery: load is a bit lower (on disk) in Maildir vs mdbox: in both cases the message has to be written, indexes are

[Dovecot] IMAP subfolders and MDBOX

2011-02-08 Thread Frank Bonnet
Hello We actually use MBOX format on our mailhub but this does not permit to create IMAP subfolders. Many users are asking me fot this feature and I agree with them of course. My problem is to choose the format that will permit imap subfolders creation. Maildir is not my favorite format and I w

Re: [Dovecot] multiple domains

2011-02-08 Thread Flash Love
On Tue, 2011-02-08 at 15:12 -0400, Sergio Moscoso wrote: > Anybody can help me with this issue. It's the right place to submit thios > question, please help me. > > Actually we have configured a server (postfix,dovecot,mysql) with multiple > domains, but the problem resides in that we don't want t

Re: [Dovecot] ldap: LDAP attribute used multiple times. This is currently unsupported

2011-02-08 Thread Timo Sirainen
On 9.2.2011, at 0.12, Lukas Haase wrote: >> I'm pretty sure it never worked. I think in v1.0 it simply ignored >> the first uid=user. So you could probably just remove that. > > Unfortunately not. I am really sure it worked in v1.0. For example: I mean in v1.0 it set system_groups_user=uid, but

Re: [Dovecot] Permissions in shared folders

2011-02-08 Thread Timo Sirainen
On 9.2.2011, at 0.20, Lukas Haase wrote: >>> namespace public { >>> separator = . >>> prefix = Shared. >>> location = maildir:/var/mail/shared:CONTROL=~/Maildir/shared >> >> location = maildir:/var/mail/shared:INDEX=~/Maildir/shared > > Why? According to the Wiki, CONTROL is used for

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Timo Sirainen
On 9.2.2011, at 0.28, Javier de Miguel Rodríguez wrote: > Hello >> Hmm. I guess if you were doing backups 24h/day, then you can't really say >> how much faster mdbox performs than maildir (outside backups)? >> > >No, 24 hours is for a FULL backup in the weekend. An incremental backup is >

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Javier de Miguel Rodríguez
Hello Hmm. I guess if you were doing backups 24h/day, then you can't really say how much faster mdbox performs than maildir (outside backups)? No, 24 hours is for a FULL backup in the weekend. An incremental backup is only 2-3 hours in the night every day. About performance... I ca

Re: [Dovecot] Permissions in shared folders

2011-02-08 Thread Lukas Haase
Dear Timo, Thank you for your advice! Am 08.02.2011 18:39, schrieb Timo Sirainen: On 8.2.2011, at 12.33, Lukas Haase wrote: namespace public { separator = . prefix = Shared. location = maildir:/var/mail/shared:CONTROL=~/Maildir/shared location = maildir:/var/mail/sha

Re: [Dovecot] Effect of separators

2011-02-08 Thread Lukas Haase
Am 08.02.2011 18:14, schrieb Willie Gillespie: On 02/08/2011 08:54 AM, Lukas Haase wrote: Dear list, A dumb question: What exactly is the effect of the separator? Is it also used to separate in the underlying file system? I.e. when I have the separator '/', the IMAP folder Sent/Jan is physical

Re: [Dovecot] ldap: LDAP attribute used multiple times. This is currently unsupported

2011-02-08 Thread Lukas Haase
Dear Timo, Thank you for your advice! Am 08.02.2011 18:35, schrieb Timo Sirainen: On 8.2.2011, at 17.23, Lukas Haase wrote: [...] I know, but the message is somehow "weird" since it says it is *currently* unsupported. However, it seems to me that it is not supported any more. Is this true? Is

Re: [Dovecot] sieve not working if i have override

2011-02-08 Thread Bradley Giesbrecht
If you add another table with domain and protocol keys you could more easily manage plugins for domain,protocols pairs. SELECT t1.username as user,t1.password, \ group_concat(t2.plugin seperator ' ' ) as userdb_mail_plugins, \ 101 as userdb_uid, 502 as userdb_gid, CONCAT('*:bytes=', CAST(t1.quo

Re: [Dovecot] sieve not working if i have override

2011-02-08 Thread Paul A
Thank you Timo I got that to work, it's posted below in case some searches the mailing list for something similar. password_query = SELECT username as user, password, \ if('%d' IN ('virttest1.xxx.net', 'test2000.com') AND '%s'='imap', \ 'quota imap_quota trash expire autocreate acl imap_acl',null)

Re: [Dovecot] pop3 index virtual question

2011-02-08 Thread Robert Schetterer
Am 08.02.2011 18:30, schrieb Timo Sirainen: > On 8.2.2011, at 15.49, Robert Schetterer wrote: > >> pop3_uidl_format = %08Xu%08Xv >> location = virtual:/etc/dovecot/virtual:LAYOUT=maildir++:INDEX=~/virtual >> is a good setting >> but i have no feedback yet if the problem "pop3 leaving mails on the

Re: [Dovecot] converting from maildir to mdbox ?

2011-02-08 Thread Timo Sirainen
On Tue, 2011-02-08 at 20:32 +0100, Jan-Frode Myklebust wrote: > user_attrs = > mailMessageStore=mail=maildir:%$:INDEX=/indexes/%1u/%1.1u/%u,mailQuota=quota_rule=*:storage=%$ > > i.e. every user has a "mailMessageStore" attribute in LDAP that points > to his INBOX. Any ideas for how we can migrat

[Dovecot] converting from maildir to mdbox ?

2011-02-08 Thread Jan-Frode Myklebust
I´m considering moving from maildir to mdbox, but don´t quite see how I should do the conversion with minimal downtime. Our userdb is ldap, and the we use this setting to point to the users maildirectory: user_attrs = mailMessageStore=mail=maildir:%$:INDEX=/indexes/%1u/%1.1u/%u,mailQuota=quota_ru

Re: [Dovecot] How to recover a mail box from an assertion failure

2011-02-08 Thread Timo Sirainen
On 8.2.2011, at 21.14, Michael Durket wrote: > Panic: file > /home/durket/dovecot-1.2.11/src/lib-index/mail-transaction-log-view.c: line > 290 (mail_transaction_log_view_set): assertion failed: (min_file_seq != > max_file_seq || max_file_seq != view->head->hdr.file_seq || max_file_offset > !=

[Dovecot] problem configuring deliver in LDAP environment.

2011-02-08 Thread Andrea Borghi
hello I am using dovecot-1.2.15 in debian squeeze (packaged) and i have some difficulties migrating from an older installation tha is working perfectly. i have a transport defined in postfix to call deliver as follows: dovecotlda unix - n n - - pipe flags=DRhu

[Dovecot] How to recover a mail box from an assertion failure

2011-02-08 Thread Michael Durket
I'm running Dovecot version 1.2.11 and getting this assertion error on a user's mail: Panic: file /home/durket/dovecot-1.2.11/src/lib-index/mail-transaction-log-view.c: line 290 (mail_transaction_log_view_set): assertion failed: (min_file_seq != max_file_seq || max_file_seq != view->head->hdr.

[Dovecot] multiple domains

2011-02-08 Thread Sergio Moscoso
Anybody can help me with this issue. It's the right place to submit thios question, please help me. Actually we have configured a server (postfix,dovecot,mysql) with multiple domains, but the problem resides in that we don't want to login via POP3 using "user@domain" just using "user", because we'

Re: [Dovecot] NoSQL Storage Backend

2011-02-08 Thread Charles Marcus
On 2011-02-08 1:21 PM, Jan-Frode Myklebust wrote: > The Scality webpages mentions they´ve developed storage connector for dovecot: > > http://www.scality.com/storage-solutions/ > > whatever that means.. Not so great - they're linking to dovecot.COM instead of dovecot.ORG... -- Best regards,

Re: [Dovecot] NoSQL Storage Backend

2011-02-08 Thread Jan-Frode Myklebust
On Tue, Feb 8, 2011 at 1:22 PM, Marten Lehmann wrote: > Modern object stores like Scality, CouchDB or MongoDB can be very handy, as > they easily allow to keep an arbitrary amount of copies of each message on > different servers, you can simply add a storage node and new storage is > immediately

Re: [Dovecot] Permissions in shared folders

2011-02-08 Thread Willie Gillespie
On 02/08/2011 10:39 AM, Timo Sirainen wrote: On 8.2.2011, at 12.33, Lukas Haase wrote: Is there a way to overcome this problem? Why can't dovecot just use /var/mail/shared/.Group1/.Subfolder? Is there an option to do so? It would make everything a lot easier. location = maildir:/var/mail/sha

Re: [Dovecot] Auto rebuild indexes?

2011-02-08 Thread Timo Sirainen
On 8.2.2011, at 8.25, Emilio wrote: > When cache files were deleted because some corruption, is there a way to > regenerate all cache files in all accounts? It depends on if you know what fields the clients want. Different clients want different fields. But if you do know them, and you have v2.0

Re: [Dovecot] Auto rebuild indexes?

2011-02-08 Thread Emilio
I have another easy question for you, Timo: When cache files were deleted because some corruption, is there a way to regenerate all cache files in all accounts? I'm talking about 300GB of mails distributed in 40 accounts using Maildir; when all users tried to access their mailboxes with their MUA

Re: [Dovecot] NoSQL Storage Backend

2011-02-08 Thread Oliver Eales
Am 08.02.2011 13:22, schrieb Marten Lehmann: Hello, I found a posting on the mailing list from 2008 "Adding new storage backend to Dovecot" while searching for POP3 and IMAP servers, that allow to use a NoSQL backend rather than a traditional file system. There has been a recent mail from Ti

Re: [Dovecot] Permissions in shared folders

2011-02-08 Thread Timo Sirainen
On 8.2.2011, at 12.33, Lukas Haase wrote: > namespace public { > separator = . > prefix = Shared. > location = maildir:/var/mail/shared:CONTROL=~/Maildir/shared location = maildir:/var/mail/shared:INDEX=~/Maildir/shared > } > > Each workgroup should get a subfolder in "Shared"

Re: [Dovecot] ldap: LDAP attribute used multiple times. This is currently unsupported

2011-02-08 Thread Timo Sirainen
On 8.2.2011, at 17.23, Lukas Haase wrote: > pass_attrs = > uid=user,userPassword=password,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid,uid=userdb_system_groups_user > > In this configuration I get the error in the subject line that uid is used > multiple times. > > I kno

Re: [Dovecot] sieve not working if i have override

2011-02-08 Thread Timo Sirainen
Add some more trickyness to your SQL query using another IF(). If '%s' expands to 'imap', return the imap_* plugins, otherwise don't. On 8.2.2011, at 16.42, Paul A wrote: > I know that but I need to use the override option on selected domains, as I > don't want all domains to have ACL access. So

Re: [Dovecot] pop3 index virtual question

2011-02-08 Thread Timo Sirainen
On 8.2.2011, at 15.49, Robert Schetterer wrote: > pop3_uidl_format = %08Xu%08Xv > location = virtual:/etc/dovecot/virtual:LAYOUT=maildir++:INDEX=~/virtual > is a good setting > but i have no feedback yet if the problem "pop3 leaving mails on the > server" is solved with that Yes, the INDEX= path

Re: [Dovecot] NoSQL Storage Backend

2011-02-08 Thread Timo Sirainen
On 8.2.2011, at 14.22, Marten Lehmann wrote: > I found a posting on the mailing list from 2008 "Adding new storage backend > to Dovecot" while searching for POP3 and IMAP servers, that allow to use a > NoSQL backend rather than a traditional file system. I don't remember any mails about NoSQL b

Re: [Dovecot] Effect of separators

2011-02-08 Thread Willie Gillespie
On 02/08/2011 08:54 AM, Lukas Haase wrote: Dear list, A dumb question: What exactly is the effect of the separator? Is it also used to separate in the underlying file system? I.e. when I have the separator '/', the IMAP folder Sent/Jan is physically stored as As far as I understand, the separ

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Timo Sirainen
On 8.2.2011, at 9.42, Javier Miguel Rodríguez wrote: >I am writing to this mailing list to thanks Timo for dovecot 2 & mdbox. We > have almost 30.000 active users and our life was sad with Maildir & backup: > 24 hours for a full backup with bacula (zlib enabled maildirs, 1.4 TB). > After s

Re: [Dovecot] Permissions in shared folders

2011-02-08 Thread Willie Gillespie
On 02/08/2011 03:33 AM, Lukas Haase wrote: Hi, On my mail server I want to implement shared folders for each workgroup where there are many workgroups. I did something similar with my small set up. A shared location for each work group. I set things up a little differently though. Instead

[Dovecot] Effect of separators (was: Re: Permissions in shared folders)

2011-02-08 Thread Lukas Haase
Dear list, A dumb question: What exactly is the effect of the separator? Is it also used to separate in the underlying file system? I.e. when I have the separator '/', the IMAP folder Sent/Jan is physically stored as /home/lukas/Maildir/.Send/Jan/cur ? If this is true this would greatly solv

[Dovecot] ldap: LDAP attribute used multiple times. This is currently unsupported

2011-02-08 Thread Lukas Haase
Hi, I have a problem when migrating from dovecot 1.0 to dovecot 1.2 (Debian lenny to Debian squeeze). In my dovecot-ldap.conf I have: user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,uid=system_groups_user I use the last parameter for the groups which I need for shared folders.

Re: [Dovecot] sieve not working if i have override

2011-02-08 Thread Paul A
I know that but I need to use the override option on selected domains, as I don't want all domains to have ACL access. So when I use override I need to specify all plugins I'm using because the override feature will not look at the $mail_plugin statement in dovecot.conf and ofcourse when I do this

Re: [Dovecot] pop3 index virtual question

2011-02-08 Thread Robert Schetterer
Am 08.02.2011 13:31, schrieb Robert Schetterer: > Hi @ll, Timo, on 2.0.9 > i have a user reporting pop3 leaving mails on the server does not work > as desired > > i have > > namespace default { > # type = private > separator = / > prefix = "" > list = yes > # hidden = no > subscriptions

[Dovecot] pop3 index virtual question

2011-02-08 Thread Robert Schetterer
Hi @ll, Timo, on 2.0.9 i have a user reporting pop3 leaving mails on the server does not work as desired i have namespace default { # type = private separator = / prefix = "" list = yes # hidden = no subscriptions = yes } namespace virtual { # type = private prefix = "virtual/" se

[Dovecot] NoSQL Storage Backend

2011-02-08 Thread Marten Lehmann
Hello, I found a posting on the mailing list from 2008 "Adding new storage backend to Dovecot" while searching for POP3 and IMAP servers, that allow to use a NoSQL backend rather than a traditional file system. The problem with traditional filesystems is, that they are very limited. You cann

[Dovecot] Permissions in shared folders

2011-02-08 Thread Lukas Haase
Hi, On my mail server I want to implement shared folders for each workgroup where there are many workgroups. One way would be to create a separate namespace for each workgroup. However, this does not scale well so I decided to use a single Shared mailbox and use ACLs: namespace public {

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Javier Miguel Rodríguez
Oh.. I envy you. Will probably need to do the same at some point, but I'm having problems understanding how we will ever be able to make the transition. Too many files -- too many users.. We did the transiction via imapsync: we had /"the old server"/ and a /"new server"/, and we migrated

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Jan-Frode Myklebust
On Tue, Feb 08, 2011 at 08:42:40AM +0100, Javier Miguel Rodríguez wrote: > > I am writing to this mailing list to thanks Timo for dovecot 2 & > mdbox. We have almost 30.000 active users and our life was sad with > Maildir & backup: 24 hours for a full backup with bacula (zlib > enabled maildi

Re: [Dovecot] sieve not working if i have override

2011-02-08 Thread Stephan Bosch
On 2/8/2011 12:33 AM, Paul A wrote: Hi, I have a few domain that I'm overriding the mail_plugins, see password query below, however when I use this password query everything is working expect sieve gives me an error. How can I get around this problem? [...] Feb 7 18:28:20 testip5 dovecot: