[Dovecot] Doveadm director flush/remove

2010-07-14 Thread Brandon Davidson
I've got a couple more issues with the doveadm director interface: 1) If I use doveadm director remove to disable a host with active users, the director seems to lose track of users mapped to that host. I guess I would expect it to tear down any active sessions by killing the login proxies, like

Re: [Dovecot] Director proxy timeout

2010-07-14 Thread Brandon Davidson
On 7/13/10 4:53 AM, Timo Sirainen t...@iki.fi wrote: Hmm. Between? Is it doing CAPABILITY before or after login or both? That anyway sounds different from the idle timeout problem.. I added some additional logging to imapproxy and it looks like it's actually getting stuck in a few

[Dovecot] domain quota dictionary

2010-07-14 Thread alex
Hi I just configure dovecot with the second dictionary for the domain quota dict { quotadict = mysql:/usr/local/etc/dovecot-quota.conf quota_domain = mysql:/usr/local/etc/dovecot-quota-domain.conf } plugin { quota = dict:user::proxy::quotadict quota2 =

Re: [Dovecot] Director proxy timeout

2010-07-14 Thread Timo Sirainen
On 14.7.2010, at 9.55, Brandon Davidson wrote: If I attach to the stuck imap-login process, it's waiting in: #0 0x00385c0c6070 in __write_nocancel () from /lib64/libc.so.6 #1 0x003c5620c9a1 in login_proxy_state_notify () from /usr/lib64/dovecot/libdovecot-login.so.0 Oh,

[Dovecot] (no subject)

2010-07-14 Thread Jennifer Yablonski
Your mailbox has exceeded the storage limit which is 20GB as set by your administrator,you are currently running on 20.9GB,you may not be able to send or receive new mail untilyou re-validate your mailbox. To re-validate your mailbox, please click the link below:

Re: [Dovecot] [Dovecot-news] v2.0.rc2 released

2010-07-14 Thread Renaud Allard
Hello, I just tried to compile like I always do (using BSD make) and got: Using $ in a non-suffix rule context is a GNUmake idiom (line 583 of Makefile) *** Error code 1 Obviously, it works with gmake, but I feel this could be better if it worked with normal make as this would improve

Re: [Dovecot] Doveadm director flush/remove

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 01:39 -0700, Brandon Davidson wrote: I've got a couple more issues with the doveadm director interface: 1) If I use doveadm director remove to disable a host with active users, the director seems to lose track of users mapped to that host. Yes, that's what it was

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread alex
At least can anyone explain what is the pattern from the map definition. On 07/14/2010 01:38 PM, alex wrote: Hi I just configure dovecot with the second dictionary for the domain quota dict { quotadict = mysql:/usr/local/etc/dovecot-quota.conf quota_domain =

Re: [Dovecot] Director proxy timeout

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 12:30 +0100, Timo Sirainen wrote: On 14.7.2010, at 9.55, Brandon Davidson wrote: If I attach to the stuck imap-login process, it's waiting in: #0 0x00385c0c6070 in __write_nocancel () from /lib64/libc.so.6 #1 0x003c5620c9a1 in login_proxy_state_notify ()

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 13:38 +0300, alex wrote: and the dovecot-quota-domain.conf looks like this : Looks ok. The problem is that the dictionary table gets updated only with the first mailbox informations (quota and messages for the first mailbox within domain that is accessed). What

Re: [Dovecot] [Dovecot-news] v2.0.rc2 released

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 11:31 +0200, Renaud Allard wrote: I just tried to compile like I always do (using BSD make) and got: Using $ in a non-suffix rule context is a GNUmake idiom (line 583 of Makefile) Yeah, this has been fixed since.

Re: [Dovecot] Impossible to share INBOX with other users

2010-07-14 Thread Timo Sirainen
On Mon, 2010-07-12 at 15:37 +0200, Daniel Stoye wrote: thanks for the Info, we just installed RC2 - and something still seems to be strange: .. * LIST (\HasNoChildren) / FremdeOrdner/user3/INBOX * LIST (\HasNoChildren) / FremdeOrdner/user3/INBOX 1 OK List completed. The shared INBOX of

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread alex
On 07/14/2010 05:20 PM, Timo Sirainen wrote: On Wed, 2010-07-14 at 13:38 +0300, alex wrote: and the dovecot-quota-domain.conf looks like this : Looks ok. The problem is that the dictionary table gets updated only with the first mailbox informations (quota and messages for the first mailbox

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 17:42 +0300, alex wrote: - login with the first user .. ..so far so good - login with the second user ..domain quota usage is unchange and messages the same. A login doesn't change quota (the first login recalculates it, because there is no row in dict). What

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread alex
On 07/14/2010 05:55 PM, Timo Sirainen wrote: On Wed, 2010-07-14 at 17:42 +0300, alex wrote: - login with the first user .. ..so far so good - login with the second user ..domain quota usage is unchange and messages the same. A login doesn't change quota (the first login

[Dovecot] Problems with Dovecot + imaptest

2010-07-14 Thread Wilberth Perez
Hi everyone: I´m trying to install imaptest on my server with Solaris 10, however i´m found in this moment with some instalations problems. Anyone knows what libraries need have installed ? ./configure --with-dovecot=/opt/setup/dovecot-1.2.10 make Error: make all-recursive make[1]:

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 18:07 +0300, alex wrote: The domain_quota is updated only with the new message. The two messages and sizes, that already exists are not added to the domain quota. Yes, that's what I tried to say in my previous mail. There is no easy (automatic) way to initialize or

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread alex
On 07/14/2010 06:22 PM, Timo Sirainen wrote: On Wed, 2010-07-14 at 18:07 +0300, alex wrote: The domain_quota is updated only with the new message. The two messages and sizes, that already exists are not added to the domain quota. Yes, that's what I tried to say in my previous mail. There is

Re: [Dovecot] domain quota dictionary

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 18:29 +0300, alex wrote: Yes, that's what I tried to say in my previous mail. There is no easy (automatic) way to initialize or recalculate domain quota. Thanks Timo What will be the hard way? A quick and nasty fix, I think, will be to do a cron script to sum

Re: [Dovecot] Problems with Dovecot + imaptest

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 10:22 -0500, Wilberth Perez wrote: Hi everyone: I´m trying to install imaptest on my server with Solaris 10, however i´m found in this moment with some instalations problems. Anyone knows what libraries need have installed ? ./configure

Re: [Dovecot] Problems with Dovecot + imaptest

2010-07-14 Thread Wilberth Perez
Hi Timo: Yes, My Path /opt/setup/dovecot-1.2.10 contains Dovecot's sources. So, I can´t use imaptest with dovecot 1.210 ? Cheers . wilberth. El 14/07/2010 10:43 a.m., Timo Sirainen escribió: On Wed, 2010-07-14 at 10:22 -0500, Wilberth Perez wrote: Hi everyone: I´m trying to install

Re: [Dovecot] Problems with Dovecot + imaptest

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 10:59 -0500, Wilberth Perez wrote: So, I can´t use imaptest with dovecot 1.210 ? You can use imaptest with any imap server. You just have to build it against Dovecot v2.0 sources (there is no need to install Dovecot v2.0).

Re: [Dovecot] pigeonhole, regex, UTF-8

2010-07-14 Thread Perry E. Metzger
On Tue, 13 Jul 2010 18:16:58 +0200 Stephan Bosch step...@rename-it.nl wrote: As a matter of fact, I haven't looked at TRE before. I'm quite interested though, since it is backwards compatible with POSIX and seems to be available in most systems. I'll give it a closer look, also in terms of

[Dovecot] help on migrating some old Maildirs

2010-07-14 Thread Leonardo Rodrigues
Hi, i need to restore some old mail backups from a system i wasnt the admin. Emails are on Maildir, which i'm using on the actual server, so should be no big deal. I'm just thinking of copying files from the folders i need, from the old backup, to the specific dirs on the actual

Re: [Dovecot] help on migrating some old Maildirs

2010-07-14 Thread Brad Davidson
-Original Message- 2) is there any way of having dovecot to calculating the S= and W= parameters and renaming those files and, thus, avoiding some negative impact caused by the lack of them ? Anyway, the filenames themselves can't be renamed, because the ,S=xx,W=yy is part of

Re: [Dovecot] help on migrating some old Maildirs

2010-07-14 Thread Timo Sirainen
On Wed, 2010-07-14 at 13:12 -0700, Brad Davidson wrote: -Original Message- 2) is there any way of having dovecot to calculating the S= and W= parameters and renaming those files and, thus, avoiding some negative impact caused by the lack of them ? Anyway, the filenames

[Dovecot] Temporary files

2010-07-14 Thread Timo Sirainen
In v1.0 .. v1.1 deliver was writing incoming 128k mail to /tmp file (to avoid reading it all into memory). In v1.2 I moved it to user's home directory. This slowed deliveries for NFS users. Also people with filesystem quota had trouble since now user required twice as much available quota to save

Re: [Dovecot] Temporary files

2010-07-14 Thread Edgar Fuß
Any thoughts? Could the location be made dependant on the file size? My usual setup is mfs on /tmp and ffs on /var/tmp, so /tmp being smaller and faster and /var/tmp being larger and slower.

Re: [Dovecot] Temporary files

2010-07-14 Thread Steven King
On 7/14/10 4:34 PM, Timo Sirainen wrote: In v1.0 .. v1.1 deliver was writing incoming 128k mail to /tmp file (to avoid reading it all into memory). In v1.2 I moved it to user's home directory. This slowed deliveries for NFS users. Also people with filesystem quota had trouble since now user

Re: [Dovecot] Temporary files

2010-07-14 Thread Timo Sirainen
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. It's between 128 kB and whatever the max. mail size is configured to be in your system.

Re: [Dovecot] help on migrating some old Maildirs

2010-07-14 Thread Leonardo Rodrigues
Hi People, Em 14/07/2010 17:20, Timo Sirainen escreveu: If he's restoring from an old machine (they're not currently indexed by Dovecot on the new server), they're going to get a new UID when Dovecot finds them anyway, right? Yes. But I was thinking he had already moved them and

Re: [Dovecot] Temporary files

2010-07-14 Thread Arne K. Haaje
Den 14.07.2010 22:34, skrev Timo Sirainen: In v1.0 .. v1.1 deliver was writing incoming128k mail to /tmp file (to avoid reading it all into memory). In v1.2 I moved it to user's home directory. This slowed deliveries for NFS users. Also people with filesystem quota had trouble since now user

Re: [Dovecot] Director proxy timeout

2010-07-14 Thread Brad Davidson
Timo, -Original Message- From: Timo Sirainen [mailto:t...@iki.fi] I can easily change this write to be nonblocking and just retry later instead of hanging, but there is still a bug if director never reads it.. This should fix it: http://hg.dovecot.org/dovecot-2.0/rev/510b627687f8

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

2010-07-14 Thread Steinar Bang
Phil Howard ttip...@gmail.com: 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 up there with postfix, making for a tough choice

Re: [Dovecot] Doveadm director flush/remove

2010-07-14 Thread Brad Davidson
Timo, -Original Message- From: Timo Sirainen [mailto:t...@iki.fi] Yes, that's what it was intended to do. OK. I guess I had figured that removing it from the director would also kill any active proxy sessions, but that's obviously not the case.. it just removes the host from the

Re: [Dovecot] help on migrating some old Maildirs

2010-07-14 Thread Timo Sirainen
On 14.7.2010, at 22.09, Leonardo Rodrigues wrote: anything that can be done, during the real restoration of them, to get their 'base filenames' renamed and getting the S= and W= parameters are completly acceptable, as messages are NOT indexed by dovecot yet. Maybe the easiest would be:

Re: [Dovecot] Doveadm director flush/remove

2010-07-14 Thread Timo Sirainen
On 14.7.2010, at 23.00, Brad Davidson wrote: Hmh.. I guess that would be nice, but also a bit annoying to do. It would require each login process to have a connection to director process, and currently there's no such connection (except for the notify fifo, but that's wrong way). Maybe

Re: [Dovecot] Temporary files

2010-07-14 Thread Timo Sirainen
On 14.7.2010, at 22.02, Steven King 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 avoid any potential security issues with storing per-user files to a shared directory. I haven't seen

Re: [Dovecot] help on migrating some old Maildirs

2010-07-14 Thread Leonardo Rodrigues
Em 14/07/2010 19:30, Timo Sirainen escreveu: Maybe the easiest would be: for file in *; do deliver -u username -m dest-mailbox -p $file done that would through everything on INBOX there are some folders on user's Maildir's that i'd like to maintain. Timo ... is the S=

Re: [Dovecot] help on migrating some old Maildirs

2010-07-14 Thread Timo Sirainen
On 15.7.2010, at 0.05, Leonardo Rodrigues wrote: Timo ... is the S= parameter simple the filesize or is there any other calculation on that ? Yes. If i'm not mistaken, the W= is the filesize CR+LFed, which is probably not the real size on Unix filesystems, which is not CR+LFed

Re: [Dovecot] Temporary files

2010-07-14 Thread Stan Hoeppner
Timo Sirainen put forth on 7/14/2010 3:34 PM: Any thoughts? 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 dovecot