Re: [Dovecot] testink

2007-06-04 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 4 Jun 2007, Timo Sirainen wrote: I'm not sure if you understood that those were all AND conditions. Only Yes, I missed it. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRmUELi9SORjhbD

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

2007-06-04 Thread Oliver Schulze L.
I got the response from Timo, in the shell script i can use the variable $IP which holds the remote IP (rip from syslog) so, doing a grep with the $IP and the subnet will do the trick. Will update the wiki when its done. Thanks Oliver mouss wrote: Oliver Schulze L. wrote: Hi Gabriel, thanks

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

2007-06-04 Thread mouss
Oliver Schulze L. wrote: Hi Gabriel, thanks for the suggestion. Will be researching about "perdition", google should help. My idea is to open only IMAPS port to the internet, and then limit only a few users the check their email from home. you can run dovecot twice (one instance for the LAN

[Dovecot] Backing up mail?

2007-06-04 Thread Knute Johnson
My mail server is running on a Fedora FC5 box. I need to move the mail server to another computer and so I need to back up my user's mail and move it. I have found mail in /var/spoo/mail/[users] and in their home directories there is a 'mail' directory. All users have an 'Inbox' file that is

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

2007-06-04 Thread Charles Marcus
On 6/3/2007 Timo Sirainen ([EMAIL PROTECTED]) 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. There isn't yet support for separate shared and private flags (and I'm not sure if there eve

Re: [Dovecot] IMAP traffic logging

2007-06-04 Thread Charles Marcus
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 within last few weeks. I think it was originally posted some month

Re: [Dovecot] tweaking performance

2007-06-04 Thread Adrian Ulrich
> We have tome timeouts reports on pop3 during heavy load > periods. Using imap/pop3 with maildir with 7,000 users using mostly pop3. It's hard to tweak something without knowing the problem. Run top / iostat / vmstat to get an idea why your system becomes slow: - CPU ? - Disk-IO ? Regards,

[Dovecot] tweaking performance

2007-06-04 Thread Paul A
Hi, I was wondering if anyone had some ideas on what I can tweak to gain more performance. We have tome timeouts reports on pop3 during heavy load periods. Using imap/pop3 with maildir with 7,000 users using mostly pop3. # /usr/local/etc/dovecot.conf protocols: imap pop3 ssl_disable: yes disable_

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

2007-06-04 Thread Adam McDougall
On Mon, Jun 04, 2007 at 03:47:13PM +0300, Timo Sirainen wrote: On Sun, 2007-06-03 at 23:05 -0400, Adam McDougall wrote: > 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:

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

2007-06-04 Thread Oliver Schulze L.
Hi Gabriel, thanks for the suggestion. Will be researching about "perdition", google should help. My idea is to open only IMAPS port to the internet, and then limit only a few users the check their email from home. Thanks Oliver Gabriel Millerd wrote: What sort of response would the imap s

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

2007-06-04 Thread Bernd Kuhls
Timo Sirainen wrote: Anyway, updated http://dovecot.org/patches/mbox-snarf-plugin.c Hi, thanks, this code seems to work with the original Debian package. It managed to copy the contents of a mbox from /var/mail/$user to /home/$user/.imap_mail/inbox, well done! I have yet to conduct more test

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

2007-06-04 Thread Odhiambo WASHINGTON
* On 04/06/07 15:16 +0300, Timo Sirainen wrote: | On Mon, 2007-06-04 at 09:02 +0300, Odhiambo WASHINGTON wrote: | > I have built and manually copied dovecot-auth to the install destination | > and now it id not stripped. Now this is the result of the debug: | .. | > #0 0x805d848 in sql_query_get_r

Re: [Dovecot] Client certificate verification/authentication

2007-06-04 Thread eizert
Sorry, but after my first message, i'm work to openssl. (newbie) And now, the certifate are valid, but authentication failed.

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

2007-06-04 Thread Timo Sirainen
On Sun, 2007-06-03 at 23:05 -0400, Adam McDougall wrote: > 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/co

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

2007-06-04 Thread Timo Sirainen
On Mon, 2007-06-04 at 14:28 +0200, Bernhard Schmidt wrote: > Works fine now (after removing the whole working directory and cloning > it again from hg, "make distclean; sh autogen.sh; ./configure; make" did > not solve the problem), maybe ./configure should complain if flex is not > found? It w

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

2007-06-04 Thread Timo Sirainen
On Mon, 2007-06-04 at 14:15 +0200, Bernd Kuhls wrote: > Timo Sirainen wrote: > > Getting backtrace of the crash could also show where the problem is. > > http://dovecot.org/bugreport.html > > Hi, > > later I will try to backport the Dovecot 1.0 Debian package to Etch, > but for now I can only pro

Re: [Dovecot] Client certificate verification/authentication

2007-06-04 Thread Timo Sirainen
On Mon, 2007-06-04 at 11:39 +0200, eizert wrote: > Timo Sirainen a écrit : > > 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

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

2007-06-04 Thread Timo Sirainen
On Sun, 2007-06-03 at 23:10 -0700, SeattleServer.com wrote: > So it seems that removing the dot would break that unless cur/tmp/new/ > subscriptions/dovecot* started with a dot and folders did not (thus > reversing the usual convention). It doesn't break, but it does mean that you aren't able t

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

2007-06-04 Thread Bernhard Schmidt
Timo Sirainen schrieb: 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/dovecot-sieve-1.0/src/libsieve/script.c:140:

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

2007-06-04 Thread Timo Sirainen
On Mon, 2007-06-04 at 09:02 +0300, Odhiambo WASHINGTON wrote: > I have built and manually copied dovecot-auth to the install destination > and now it id not stripped. Now this is the result of the debug: .. > #0 0x805d848 in sql_query_get_result () > (gdb) bt Now this backtrace looks correct, but

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

2007-06-04 Thread Bernd Kuhls
Timo Sirainen wrote: Getting backtrace of the crash could also show where the problem is. http://dovecot.org/bugreport.html Hi, later I will try to backport the Dovecot 1.0 Debian package to Etch, but for now I can only provide you a backtrace: (gdb) bt full #0 0x0808a778 in index_storage_ge

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

2007-06-04 Thread Johannes Berg
On Sun, 2007-06-03 at 19:13 +0100, Ross Burton wrote: > By pool do you mean memory regions which can be split into children, and > freeing the parent region also frees the children? That isn't in Glib. That's the idea in dovecot, yes. Actually, no parent region/child region but just basically li

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

2007-06-04 Thread Johannes Berg
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 li

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

2007-06-04 Thread Gerard
On Sunday June 03, 2007 at 01:48:33 (PM) Dave McGuire wrote: > 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

[Dovecot] errors in dovecot-uidlist

2007-06-04 Thread Erland Nylend
We have migrated a mailsystem to postfix/dovecot, using the courier migrate script, and we have run into a problem with dovecot-uidlist. The messages are not listed in the correct order .. This is an example dovecot-uidlist -file: 1 1177585200 49 22 1179084774.P7191Q0M321163.webmail1,S=8245:2,S 2

Re: [Dovecot] Client certificate verification/authentication

2007-06-04 Thread eizert
Timo Sirainen a écrit : 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

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

2007-06-04 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