Re: [Dovecot] Sharing nested folders / maildir variations?

2007-06-03 Thread SeattleServer.com
On 3 Jun, 2007, at 17:03, Timo Sirainen wrote: Should be already possible with the development version (wonder what I should call it now that I can't call it CVS HEAD anymore .. "development", "1.1.UNSTABLE", "hg", ..?): mail_location = maildir:~/Maildir:LAYOUT=FS Sweet! It doesn't use dots

Re: [Dovecot] Dovecot Authentication Problem - Help pls!

2007-06-03 Thread Odhiambo WASHINGTON
* On 04/06/07 02:59 +0300, Timo Sirainen wrote: | On Sun, 2007-06-03 at 21:20 +0300, Odhiambo WASHINGTON wrote: | > Here is a backtrace of the dovecot-auth crash: | | Two problems with it: | | > #0 0x805dc00 in userdb_blocking_lookup () | | Debugging symbols were stripped. Could you try buildin

Re: [Dovecot] dovecot-shared tries to fchown index+control files but fails

2007-06-03 Thread Adam McDougall
On Mon, Jun 04, 2007 at 05:57:49AM +0300, Timo Sirainen wrote: On Thu, 2007-05-24 at 18:59 -0400, Adam McDougall wrote: > May 24 18:45:35 hostname dovecot: IMAP(username): > fchown(/home/username/Maildir/dovecot/public/control/org/.mailfolder/dovecot-uidlist) failed: > Operation not pe

Re: [Dovecot] dovecot-shared tries to fchown index+control files but fails

2007-06-03 Thread Timo Sirainen
On Thu, 2007-05-24 at 18:59 -0400, Adam McDougall wrote: > May 24 18:45:35 hostname dovecot: IMAP(username): > fchown(/home/username/Maildir/dovecot/public/control/org/.mailfolder/dovecot-uidlist) > failed: > Operation not permitted I'm not sure if you already figured this out, but these calls

Re: [Dovecot] Public Namespace and ACLs with pure virtual users

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 22:26 -0400, Adam McDougall wrote: > On Mon, Jun 04, 2007 at 04:28:56AM +0300, Timo Sirainen wrote: > > ACL plugin shouldn't have anything to do with that decision. The \Seen > flag is stored privately if you have created dovecot-shared file to the > maildir. > > Is i

Re: [Dovecot] Public Namespace and ACLs with pure virtual users

2007-06-03 Thread Adam McDougall
On Mon, Jun 04, 2007 at 04:28:56AM +0300, Timo Sirainen wrote: ACL plugin shouldn't have anything to do with that decision. The \Seen flag is stored privately if you have created dovecot-shared file to the maildir. Is it possible to have dovecot enforce the file mode and group owner of ins

Re: [Dovecot] frequent index rebuilds versus disabled indexes

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-30 at 09:38 -0400, Justin McAleer wrote: > Ok, here's the short and sweet version of my dilemma. I have a group of > servers mounting a shared NFS device to hold mail data for many > different domains. Is it worth the load balancing management nightmare > of setting up dedicating

Re: [Dovecot] testink

2007-06-03 Thread Timo Sirainen
On Thu, 2007-05-31 at 10:31 +0200, Steffen Kaiser wrote: > I suggest, that you shouldn't try to do that. > > > - Message contains In-Reply-To: header > > - Subject doesn't contain Re: .. > > - Body doesn't contain any quotes .. > > - User's first message to list > > Hmm, I find this test a bit st

Re: [Dovecot] AIX mail quota plugin problems

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-30 at 12:46 -0400, Stewart Dean wrote: > > 4272 [EMAIL PROTECTED]:/usr/local/lib/dovecot/imap ## dovecot > > ILoading modules from directory: /usr/local/lib/dovecot/imap > > IModule loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so > > FPlugin imap_quota not found from direc

Re: [Dovecot] Quota handling - v2 - updated FR

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-23 at 07:30 -0400, Charles Marcus wrote: > *** 3. When user is over quota, have LDA deliver to the folder > referenced above (# 1) - (yes, accept the message for final delivery > from the sending mta), and then update the Quota Status message and move > it to the Inbox. > > Opti

Re: [Dovecot] Public Namespace and ACLs with pure virtual users

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-23 at 17:30 +0200, Marc Delling wrote: > first of all: this works to some point but is such a configuration > valid? can a public namespace be the maildir of a user? Yes. > now the problem: > the whole mail system runs with one uid/gid and virtual users, which > has the effect

Re: [Dovecot] delivery and quota question

2007-06-03 Thread Timo Sirainen
On Sat, 2007-05-26 at 00:23 +0200, Arkadiusz Miskiewicz wrote: > Hi, > > I'm considering using delivery for delivering emails. The question is about > quota. Does delivery check quota for single maildir or for entire collection > of user folders? > > Example: > /var/mail/user/{new,cur,tmp} > /v

Re: [Dovecot] Simple questions about Quota

2007-06-03 Thread Timo Sirainen
On Thu, 2007-05-24 at 09:31 -0300, Venilton Junior wrote: > Here follows my configuration: dovecot -n is preferrable to copy&pasteing dovecot.conf. > user_attrs = mail,homeDirectoryquota=quota=maildir:storage This is a mix of old and new style user_attrs format. That might be causing the pro

Re: [Dovecot] Dovecot and Seamonkey/Mozilla "delete attachment"

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-23 at 22:19 -0700, Bryce Nesbitt wrote: > I'm having persistent trouble deleting larger attachments from messages > in Mozilla/Seamonkey mail, and I'm thinking it may be related to > Dovecot. A bug report is over at > https://bugzilla.mozilla.org/show_bug.cgi?id=381759 126 append

Re: [Dovecot] IMAP traffic logging

2007-06-03 Thread Timo Sirainen
On Mon, 2007-06-04 at 03:35 +0300, Timo Sirainen wrote: > On Wed, 2007-05-30 at 15:59 +0200, Chris Laif wrote: > > Hi. > > > > I wonder if it is possible to log the number of bytes send in response > > to IMAP commands. Unfortunately there seems to be no config option > > similar to "pop3_logout_f

Re: [Dovecot] UW-IMAP style mbox snarfing from /var/mail/ to ~/mbox

2007-06-03 Thread Timo Sirainen
On Tue, 2007-05-29 at 16:20 +0200, Bernd Kuhls wrote: > Timo Sirainen wrote: > > http://dovecot.org/patches/mbox-snarf-plugin.c > > Hi, > > I just tried to setup this plugin on a Debian Etch machine but it > crashes the Dovecot daemons. > > Debian Etch uses the sourcecode of Dovecot 1.0rc15 + s

Re: [Dovecot] Error: no authentication failed

2007-06-03 Thread Timo Sirainen
On Tue, 2007-05-29 at 13:13 +0300, [EMAIL PROTECTED] wrote: > Hi, > I have installed the dovecot on my redhat linux host. But when I log in > with dovecot/test I got Error: no authentication failed after I got ok > dovecot ready when I connect to local host. dovecot/test was set in the > password.

Re: [Dovecot] Client certificate verification/authentication

2007-06-03 Thread Timo Sirainen
On Tue, 2007-05-29 at 12:06 +0200, eizert wrote: > Not in Dovecot... > In my log, i've simply : > dovecot: auth(default): Client didn't present valid SSL certificate Set verbose_ssl=yes and it should log more. It should then log either "Invalid certificate" or "Valid certificate". If it logged ne

Re: [Dovecot] Overriding IMAP commands

2007-06-03 Thread Timo Sirainen
On Tue, 2007-05-29 at 11:56 +0800, Tony Tsang wrote: > Hi all, > > I am writing a plugin to override some built-in imap commands. But > when client logs out, imap segfaults during unregistering commands. > What is the correct procedure for overriding imap commands in dovecot? I don't think anyone

Re: [Dovecot] dovecot-sieve-1.0 (hg) does not build

2007-06-03 Thread Timo Sirainen
On Tue, 2007-05-29 at 13:23 +0200, Bernhard Schmidt wrote: > Hi, > > the dovecot-sieve plugin from the hg repository > (http://hg.dovecot.org/dovecot-sieve-1.0/) does not build against > current dovecot-1.0 repository. .. > /.libs/libsieve.a(script.o): In function `sieve_script_parse': > /usr/src

Re: [Dovecot] Namespace Problems

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-30 at 10:54 +0200, Rainer Sigl wrote: > Many thanks, > its working fine with your suggestion. > But only with outlook I still have problems. Today morning I found out > that outlook does work only I keep the separator line empty > with > > namespace private { > # separator = . >

Re: [Dovecot] Stop Maildir appending to path

2007-06-03 Thread Timo Sirainen
On Tue, 2007-05-29 at 16:22 -0400, Henry wrote: > dovecot -n: > # /etc/dovecot/dovecot.conf Set mail_location explicitly: mail_location = maildir:~ signature.asc Description: This is a digitally signed message part

Re: [Dovecot] IMAP traffic logging

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-30 at 15:59 +0200, Chris Laif wrote: > Hi. > > I wonder if it is possible to log the number of bytes send in response > to IMAP commands. Unfortunately there seems to be no config option > similar to "pop3_logout_format". There's a patch for it. Someone already gave a link to it w

Re: [Dovecot] What are they trying to do here?

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-30 at 09:10 -0600, Jon Slater wrote: > I’ve been using Dovecot (dovecot-0.99.14-8.fc4) on my Fedora Core 4 (kernel > 2.6.17-1.2142_FC4) machine from quite some time. Note that 0.99 is several years old already and it's not really supported anymore. > So it looks pretty obvious tha

Re: [Dovecot] dovecot scaling issue?

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-30 at 15:33 +, [EMAIL PROTECTED] wrote: > Hi! > > We are running dovecot-imapd on Debian sarge out of the backports.org > packages (version 1.0.rc15-1~bpo1). > > We have ~ 80 clients using secure IMAP. > > I understand that imap-login has to run for every SSL connection. Thus

Re: [Dovecot] Dovecot support for smd5 and ldap-md5

2007-06-03 Thread Timo Sirainen
On Wed, 2007-05-30 at 13:19 -0400, Eric and Barbara Sammons wrote: > Working with a dovecot migration, I am curious what version (if any) > of Dovecot (dovecot-auth) supports SMD5 and ldap-MD5 when using > Dovecot -> OpenLDAP direct binding? What do you mean by "direct binding"? If you use auth_bi

Re: [Dovecot] Possible Caching Bug showing up as a MIME Boundary Issue

2007-06-03 Thread Timo Sirainen
On Thu, 2007-05-31 at 11:48 -0400, Kevin A. McGrail wrote: > I'm using Dovecot version 1.0.0. I was using Dovecot version 1.0.0 > beta3 or alpha4. I upgraded to Dovecot 1.0.0 to make sure that was > not the issue. And after upgrade and deleting .imap/ directory this has still happened to new mai

Re: [Dovecot] TLS errors when vodafone connecting to dovecot server.

2007-06-03 Thread Timo Sirainen
On Thu, 2007-05-31 at 16:58 +0100, Andrew Pounce wrote: > Hi, > > I've been trying to setup the vodafone email sync ( provided by visto > apparently ) and have not been able to do so - I'm getting an error > message in my mail logs which looks as if there is a problem with > certificates somewhere

Re: [Dovecot] Sharing nested folders / maildir variations?

2007-06-03 Thread Timo Sirainen
On Thu, 2007-05-31 at 22:43 -0700, SeattleServer.com wrote: > We'd have: > > .Folder/{cur,new,tmp} > .Folder/.SubFolder1/{cur,new,tmp} > .Folder/.SubFolder1/{cur,new,tmp} > .Folder/.SubFolder1/.foo/{cur,new,tmp} > .Folder/.SubFolder1/.bar/{cur,new,tmp} > .Folder/.SubFolder2/{cur,new,tmp} > > That

Re: [Dovecot] Dovecot Authentication Problem - Help pls!

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 21:20 +0300, Odhiambo WASHINGTON wrote: > Here is a backtrace of the dovecot-auth crash: Two problems with it: > #0 0x805dc00 in userdb_blocking_lookup () Debugging symbols were stripped. Could you try building it without removing them, at least from dovecot-auth binary? I

Re: [Dovecot] CMU Sieve pluigin missing proper charset support

2007-06-03 Thread Timo Sirainen
On Fri, 2007-06-01 at 18:49 +0200, Jan Srzednicki wrote: > The problem is that the dovecot plugin does not convert the string to > RFC2047 encoded words, it treats it literally and thus sends malformed > (from RFC's point of view) message - with improper Subject field > encoding. > > Any chances o

Re: [Dovecot] Is there a "connect acl" ?

2007-06-03 Thread Timo Sirainen
On Sat, 2007-06-02 at 10:47 -0400, Oliver Schulze L. wrote: > Hi, > I have been reading the acl documentation and it seems that a "connect acl" > is not available. > > I need to limit the users that can login in an IP number, is that > posible with > dovecot 1.0? (i.e. only these users can login

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 11:54 -0500, Richard Laager wrote: > On Sun, 2007-06-03 at 18:48 +0300, Timo Sirainen wrote: > > I've used GLib before. The biggest problem I see with it is that it > > doesn't support memory pools. That's why I duplicated most of its useful > > functionality originally instea

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Aredridel
> > Please don't. One reason Dovecot is so easy to get up and running > quickly is that it has minimal dependencies. For those of us who > aren't running Linux on PCs that can become a headache very quickly, > as the authors of many of the depended-upon libraries often get > "creative" with nonpor

Re: [Dovecot] Is there a "connect acl" ?

2007-06-03 Thread Gabriel Millerd
On 6/2/07, Oliver Schulze L. <[EMAIL PROTECTED]> wrote: I need to limit the users that can login in an IP number, is that posible with dovecot 1.0? (i.e. only these users can login from the Internet) Or a new plugin should be written? It is complicated to do that? Might look at using perditi

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Dave McGuire
On Jun 3, 2007, at 3:45 PM, Richard Laager wrote: That's not to say that simply adding one dependency on glib would cause a huge problem...but it indicates the adoption of a mindset, and it's a slippery slope. The same applies to duplicating code in the interest of avoiding dependencies.

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Richard Laager
On Sun, 2007-06-03 at 13:48 -0400, Dave McGuire wrote: >That's not to say that simply adding one dependency on glib would > cause a huge problem...but it indicates the adoption of a mindset, > and it's a slippery slope. The same applies to duplicating code in the interest of avoiding depen

[Dovecot] Dovecot Authentication Problem - Help pls!

2007-06-03 Thread Odhiambo WASHINGTON
Hello List, This is dovecot 1.0.0 on FreeBSD 4.11-STABLE. I did not provide this information before:-) I am back again and I think I am edging closer to getting a solution. I have done some modifications and now dovecot gives me a different error message than before Here is what I have f

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Ross Burton
On Sun, 2007-06-03 at 11:54 -0500, Richard Laager wrote: > On Sun, 2007-06-03 at 18:48 +0300, Timo Sirainen wrote: > > I've used GLib before. The biggest problem I see with it is that it > > doesn't support memory pools. That's why I duplicated most of its useful > > functionality originally instea

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Dave McGuire
On Jun 3, 2007, at 11:29 AM, Ross Burton wrote: I presume porting Dovecot to use the glib main loop abstraction (which is nice and lean, the object system is a separate library) is out of the question? Please don't. One reason Dovecot is so easy to get up and running quickly is that it

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Richard Laager
On Sun, 2007-06-03 at 18:48 +0300, Timo Sirainen wrote: > I've used GLib before. The biggest problem I see with it is that it > doesn't support memory pools. That's why I duplicated most of its useful > functionality originally instead of just using it directly. So I think > it's much better to fix

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 16:29 +0100, Ross Burton wrote: > My poor laptop is running a IMAP server, a HTTP server and a SMTP > server. > > > > This fixes it for imap/pop3-login: > > > http://hg.dovecot.org/dovecot/rev/0021765627f3 > > Sweet, although this still wakes up when there are clients connec

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 18:27 +0300, Timo Sirainen wrote: > ..Or maybe just fix the basic timeout_*() API. Add a new timeout_reset() > call == timeout_remove() + timeout_add(original values) and then make > the implementation be fast with hundreds of timeouts. The timeouts are > currently kept in lin

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Ross Burton
On Sun, 2007-06-03 at 18:13 +0300, Timo Sirainen wrote: > > I did once try to reduce these unnecessary wakeups, but then I thought > > it's probably not worth the trouble. No-one's going to run an IMAP > > server in their laptop.. :) :) My poor laptop is running a IMAP server, a HTTP server and

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 18:13 +0300, Timo Sirainen wrote: > Maybe the optimal solution would be to create a new abstraction layer. > Most of the timeout handlers are just checking for idle timeouts. > > struct idle_timeout *idle_timeout_new(unsigned int secs, > timeout_callback_t *callback, void *co

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 18:05 +0300, Timo Sirainen wrote: > > My laptop runs a local IMAP server so that I'm immune from breaking my > > mail client, and when playing around with powertop I discovered that > > Dovecot (in particular imap-login) wakes up every 1000ms and then every > > 50ms even when

Re: [Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Timo Sirainen
On Sun, 2007-06-03 at 14:06 +0100, Ross Burton wrote: > Hi, > > My laptop runs a local IMAP server so that I'm immune from breaking my > mail client, and when playing around with powertop I discovered that > Dovecot (in particular imap-login) wakes up every 1000ms and then every > 50ms even when n

[Dovecot] Dovecot waking every 50ms when doing nothing

2007-06-03 Thread Ross Burton
Hi, My laptop runs a local IMAP server so that I'm immune from breaking my mail client, and when playing around with powertop I discovered that Dovecot (in particular imap-login) wakes up every 1000ms and then every 50ms even when no clients are connected. A bit of stracing shows this: gettimeof