Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Timo Sirainen
On 15.7.2010, at 23.58, Timo Sirainen wrote: > On 15.7.2010, at 22.00, Brad Davidson wrote: > >> It times out after a minute: >> >> [r...@cc-popmap7 ~]# time doveadm director map >> doveadm(root): Error: User listing returned failure >> doveadm(root): Error: user listing failed >> >> real1m

Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Timo Sirainen
On 15.7.2010, at 23.58, Timo Sirainen wrote: >> userdb passwd. Our LDAP directory might not be optimally configured. The >> group that administers it only really cares about binds, iteration can be >> rather slow: >> >> [r...@cc-popmap7 ~]# time getent passwd | wc -l >> 51552 >> >> real8m

Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Timo Sirainen
On 15.7.2010, at 22.00, Brad Davidson wrote: > It times out after a minute: > > [r...@cc-popmap7 ~]# time doveadm director map > doveadm(root): Error: User listing returned failure > doveadm(root): Error: user listing failed > > real1m0.028s > user0m0.088s > sys 0m0.072s > > Jul 15

Re: [Dovecot] Dovecot sieve support

2010-07-15 Thread Timo Sirainen
On 15.7.2010, at 23.00, Daniel L. Miller wrote: > Is sieve going to be merged into the main server source, No. > or at this time is it going to remain an external patch? No. It no longer requires patching.

[Dovecot] Dovecot sieve support

2010-07-15 Thread Daniel L. Miller
Is sieve going to be merged into the main server source, or at this time is it going to remain an external patch? -- Daniel

Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Brad Davidson
Timo, > -Original Message- > From: Timo Sirainen [mailto:t...@iki.fi] > > See what it says in logs. It times out after a minute: [r...@cc-popmap7 ~]# time doveadm director map doveadm(root): Error: User listing returned failure doveadm(root): Error: user listing failed real1m0.028s

Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 21:37 +0100, Timo Sirainen wrote: > On Thu, 2010-07-15 at 13:15 -0700, Brad Davidson wrote: > > [r...@cc-popmap7 ~]# doveadm director map > > doveadm(root): Error: User listing returned failure > > See what it says in logs. Oh, probably that you don't have a userdb at all.

Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 13:15 -0700, Brad Davidson wrote: > [r...@cc-popmap7 ~]# doveadm director map > doveadm(root): Error: User listing returned failure See what it says in logs. > Our environment might be a little weird. We're using LDAP accounts via > pam_ldap on the backend servers, so they

Re: [Dovecot] Dinamic 'mail_location' for each user

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 17:12 -0300, Thiago Henrique wrote: > Em Qui, 2010-07-15 às 20:45 +0100, Timo Sirainen escreveu: > > > > You mean your userdb is returning a "mail" field that contains those % > > variables? No, that won't work. > > It is important for me to spread the mailboxes inside the

Re: [Dovecot] Ok, I've given up

2010-07-15 Thread Steinar Bang
> Phil Howard : > And I fully accept that as a sufficient reason to make a choice. I > made the choice of Dovecot, having zero experience with it, because of > my experience with Courier. Sadly, making such a choice with zero > experience and zero knowledge of either options is the really ha

Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Brad Davidson
Timo, > -Original Message- > From: Timo Sirainen [mailto:t...@iki.fi] > > > I suppose it could get a list of all users and then list all users whose > hash matches what director has.. Hmm. I guess that would be usable too, > yes. :) > > See if this works: http://hg.dovecot.org/dovecot-2.0

Re: [Dovecot] Dinamic 'mail_location' for each user

2010-07-15 Thread Thiago Henrique
Em Qui, 2010-07-15 às 20:45 +0100, Timo Sirainen escreveu: > > You mean your userdb is returning a "mail" field that contains those % > variables? No, that won't work. It is important for me to spread the mailboxes inside the partition. Use the 'H' modifier for it would be perfect. A patch for

Re: [Dovecot] How to Upgrade to dovecot 2.0rc2 from dovecot 1.x

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 15:02 -0500, Wilberth Perez wrote: > Exists some instructions for /upgrade dovecot/ v1./2 to dovecot v2.0rc2 ? http://wiki2.dovecot.org/Upgrading/2.0 If you find that something is missing, let us know.

[Dovecot] How to Upgrade to dovecot 2.0rc2 from dovecot 1.x

2010-07-15 Thread Wilberth Perez
Hi: Exists some instructions for /upgrade dovecot/ v1./2 to dovecot v2.0rc2 ? Cheers. /

Re: [Dovecot] IMAP super user

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 16:24 -0300, Thiago Henrique wrote: > I plan to migrate from Cyrus to Dovecot. But I need a admin user > which is able to obtain information about the quotas of common users. Or did you mean to get other peoples' quota via IMAP protocol? There's kind of a support for this, b

Re: [Dovecot] Dinamic 'mail_location' for each user

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 11:29 -0300, Thiago Henrique wrote: > mdbox:/var/spool/imap/partition1/%256HRu/%u:INDEX=/var/lib/imap/user/% > 256HRu/%u > > Can Dovecot to interpret 'mail_location' load from database ? You mean your userdb is returning a "mail" field that contains those % variables? No,

Re: [Dovecot] IMAP super user

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 16:24 -0300, Thiago Henrique wrote: > Is there any directive in Dovecot similar to 'imap_admins' of Cyrus? You could create a master user/password that can log in as other users: http://wiki.dovecot.org/Authentication/MasterUsers > I plan to migrate from Cyrus to Dovecot. B

Re: [Dovecot] IMAP super user

2010-07-15 Thread Heiko Schlittermann
Thiago Henrique (Do 15 Jul 2010 21:24:28 CEST): > Hello, > > Is there any directive in Dovecot similar to 'imap_admins' of Cyrus? > > I plan to migrate from Cyrus to Dovecot. But I need a admin user > which is able to obtain information about the quotas of common users. Probably you're looking

[Dovecot] IMAP super user

2010-07-15 Thread Thiago Henrique
Hello, Is there any directive in Dovecot similar to 'imap_admins' of Cyrus? I plan to migrate from Cyrus to Dovecot. But I need a admin user which is able to obtain information about the quotas of common users. Thank you. -- []'s Thiago Henrique Network Administration Digirati Networks K8 Netwo

Re: [Dovecot] Temporary files

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 08:54 -0700, Daniel L. Miller wrote: > "/var/spool contains data which is awaiting some kind of later > processing. Data in /var/spool represents work to be done in the future > (by a program, user, or administrator); often data is deleted after it > has been processed."

Re: [Dovecot] Temporary files

2010-07-15 Thread Daniel L. Miller
On 7/15/2010 1:27 AM, Thomas Leuxner wrote: On Wed, Jul 14, 2010 at 11:53:48PM -0500, Stan Hoeppner wrote: Don't rely on an existing temp directory. Create /var/spool/dovecot/ and /var/spool/dovecot/tmp/ with the installation script and assign the appropriate permissions. This solves the c

[Dovecot] Dinamic 'mail_location' for each user

2010-07-15 Thread Thiago Henrique
Hello, I have a lot of domains in a mail server, so I make a balanced allocation of mailboxes in the storage disks. That improves performance of access to records. Therefore, I want to overwrite 'mail_location' directive for each user. But I also want to use the modifier 'H' to spray the mailboxes

Re: [Dovecot] Doveadm director flush/remove

2010-07-15 Thread Timo Sirainen
On Wed, 2010-07-14 at 23:36 +0100, Timo Sirainen wrote: > > While I'm making a wishlist... 'doveadm director status ' to show > > list of users mapped to a host? Or maybe just 'doveadm director status -v' > > to show list of users instead of just user count. > > I suppose it could get a list of

Re: [Dovecot] Temporary files

2010-07-15 Thread Timo Sirainen
On Thu, 2010-07-15 at 14:52 +0200, Edgar Fuß wrote: > > The file size isn't known beforehand. > I thought that because it's known to be >128k, it's known. Dovecot reads 128 kB to memory first, then thinks this is beginning to be too much and starts writing to disk instead.

Re: [Dovecot] Ok, I've given up

2010-07-15 Thread Phil Howard
On Wed, Jul 14, 2010 at 17:49, Steinar Bang wrote: >> Phil Howard : > >> I abandoned sendmail many years ago and haven't looked back.  I tried >> qmail and postfix, and was a lot happier with postfix.  I overlooked >> exim at the time, but from what little I've seen and heard, it should >> be

Re: [Dovecot] Temporary files

2010-07-15 Thread Edgar Fuß
> The file size isn't known beforehand. I thought that because it's known to be >128k, it's known.

Re: [Dovecot] Temporary files

2010-07-15 Thread Timo Sirainen
On 15.7.2010, at 10.02, William Blunn wrote: > If know you are delivering to Maildir, and you know the folder you are > delivering to, But I don't. Sieve could do just about anything to the message. > then surely you have a temporary directory in the "tmp" out of Maildir's > {new,cur,tmp} ? A

Re: [Dovecot] Temporary files

2010-07-15 Thread Timo Sirainen
On 15.7.2010, at 9.16, Christian Rohmann wrote: Any thoughts? >>> Could the location be made dependant on the file size? >> >> The file size isn't known beforehand. > > But it could be known if the SIZE extention of LMTP is used right? It wouldn't be known with deliver. And I wasn't plann

Re: [Dovecot] Temporary files

2010-07-15 Thread Gábor Lénárt
On Wed, Jul 14, 2010 at 09:34:52PM +0100, Timo Sirainen wrote: [...] > So why was the move made in the first place? Because a) some people had > small (maybe ramfs) /tmp and Dovecot was eating it all up and b) to On Solaris, this is the situation, though it's not called ramfs but: l...@hydra:/tmp

Re: [Dovecot] Temporary files

2010-07-15 Thread William Blunn
1. If know you are delivering to Maildir, and you know the folder you are delivering to, then surely you have a temporary directory in the "tmp" out of Maildir's {new,cur,tmp} ? And also the potential benefit of being able to rename the resulting file into the "new" directory. 2. I would l

Re: [Dovecot] Temporary files

2010-07-15 Thread Thomas Leuxner
On Wed, Jul 14, 2010 at 11:53:48PM -0500, Stan Hoeppner wrote: > > Don't rely on an existing temp directory. Create /var/spool/dovecot/ and > /var/spool/dovecot/tmp/ with the installation script and assign the > appropriate permissions. This solves the current problem and gives you a > dedicated

Re: [Dovecot] Temporary files

2010-07-15 Thread Christian Rohmann
Hey all, On 07/14/2010 11:02 PM, Timo Sirainen wrote: > On Wed, 2010-07-14 at 22:55 +0200, Edgar Fuß wrote: >>> Any thoughts? >> Could the location be made dependant on the file size? > > The file size isn't known beforehand. But it could be known if the SIZE extention of LMTP is used right? T