[Dovecot] Type error in wiki page: /Quota/1.1

2008-10-27 Thread Zhang Huangbin
Hi, There should be an empty line between 'Subject' and mail body, otherwise mail body won't be included. < An alternative script using deliver would be: #!/bin/bash PERCENT=$1 cat << EOF | /usr/local/libexec/dovecot/deliver -d $USER -c /usr/local/etc/dovecot-nowarning.conf From: [EMAI

Re: [Dovecot] mbox to Maildir conversion

2008-10-27 Thread Kyle Wheeler
Thanks Kyle, the Procmailrc script I am using is as follows: ... I believe that this matches your correct example. That is just where Procmail places them. Huh, well, indeed it does match my example. The only other reason I can think of for Dovecot to not see new mail that gets delivered pro

Re: [Dovecot] mbox to Maildir conversion

2008-10-27 Thread Kyle Wheeler
I have been thinking about converting also. Will the standard auto detect routines work with both types during the conversion, or will I need to deal with namespaces? The standard auto-detect routines will work well; I recommend also using the "convert" plugin. ~Kyle -- Victory goes to the p

Re: [Dovecot] Possible header parsing problem

2008-10-27 Thread Eric Stadtherr
On Tue, 28 Oct 2008 03:31:13 +0200, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Oct 28, 2008, at 3:23 AM, Eric Stadtherr wrote: > >>> Fixed: http://hg.dovecot.org/dovecot-1.1/rev/25b0cf7c62d3 >>> >>> But I'm not sure if I should convert the following TAB to a space. >>> UW-IMAP seems to do that,

Re: [Dovecot] Possible header parsing problem

2008-10-27 Thread Timo Sirainen
On Oct 28, 2008, at 3:23 AM, Eric Stadtherr wrote: Fixed: http://hg.dovecot.org/dovecot-1.1/rev/25b0cf7c62d3 But I'm not sure if I should convert the following TAB to a space. UW-IMAP seems to do that, but RFC just says that the CRLF should be dropped. I grabbed a snapshot of the CM baseline

Re: [Dovecot] Possible header parsing problem

2008-10-27 Thread Eric Stadtherr
On Thu, 23 Oct 2008 19:06:19 +0300, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Wed, 2008-10-22 at 20:59 -0600, Eric Stadtherr wrote: >> Content-Type: multipart/alternative; boundary="=_alternative >> 006F3A73872574E8_=" > > Is there one space, two spaces or a TAB at the beginning of t

[Dovecot] Embedded "From" Lines

2008-10-27 Thread Lennart Lövstrand
Hi. As some of you may remember, I reported a problem a while back where dovecot 1.1.beta14 (as well as dovecot 1.0) would corrupt mbox-style mailboxes by ignoring the Content-Length header and breaking up messages with embededed "From" lines. I recently downloaded Dovecot 1.1.5 and noted

[Dovecot] Empty/corrupt mail leads to duplicate delivery

2008-10-27 Thread Marc Herbrechter
Hi, when the attached mail was stored in a maildir, fetching mail via POP3 lead to multiple delivery of mails in that maildir to the client (Outlook). I replaced the domain with dots. This is the dovecot configuration: --snip-- protocols = imap imaps pop3 pop3s listen = * disable_plaintext_auth

Re: [Dovecot] Gah, pop3 falling over

2008-10-27 Thread Timo Sirainen
On Mon, 2008-10-27 at 09:51 -0700, Brandon Lamb wrote: > > Two servers were working fine and then all of a sudden this morning > > bam 500 load and theres a million dovecots and tons of these lines in > > the logs. I guess the load is about I/O load, not CPU load? > > It is like everyone gets up

Re: [Dovecot] New generic userdb lookup api

2008-10-27 Thread Sascha Wilde
Ok, as discussed I have made some changes (hopefully improvements) in the new "auth-master" API for userdb requests... Sascha Wilde <[EMAIL PROTECTED]> writes: > Timo Sirainen <[EMAIL PROTECTED]> writes: [...] >> 3. Would be nice to get rid of the getenv()s :) The MAIL_CHROOT handling >> could be

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-27 Thread Charles Marcus
On 10/27/2008 12:29 PM, Scott Silva wrote: >> Maybe 'dovecot -n' could also provide basic system info (it already does >> for the dovecot version)? I know the command varies depending on said >> architecture, but for most systems it could probably easily figure this out? >> >> Just a thought... >

Re: [Dovecot] Dovecot and quota enforcement - only reporting?

2008-10-27 Thread dovecot
At 10:48 PM 10/21/2008, Rick Steeves wrote: When I delete mail and expunge it, the quota updates. However, inbound email doesn't appear to update the quota. Two questions, probably related: What causes the quota (which I presume is the maildirsize file) to update? Is there any actual quota enf

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-27 Thread Stewart Dean
But then Dovecot wouldn't be able to take evasive action when the ancient computers of Magrathea fire missiles at us :) Scott Silva wrote: on 10-27-2008 3:51 AM Charles Marcus spake the following: On 10/26/2008, Bill Cole ([EMAIL PROTECTED]) wrote: As the Dovecot website says in refer

Re: [Dovecot] Gah, pop3 falling over

2008-10-27 Thread Brandon Lamb
On Mon, Oct 27, 2008 at 9:20 AM, Brandon Lamb <[EMAIL PROTECTED]> wrote: > Why would I be seeing a million of these? > > dovecot: 2008-10-27 09:12:33 Warning: > chdir(/mail/mail/domain/u/username/) blocked for 18 secs > > Two servers were working fine and then all of a sudden this morning > bam 500

Re: [Dovecot] Gah, pop3 falling over

2008-10-27 Thread Brandon Lamb
On Mon, Oct 27, 2008 at 9:20 AM, Brandon Lamb <[EMAIL PROTECTED]> wrote: > Why would I be seeing a million of these? > > dovecot: 2008-10-27 09:12:33 Warning: > chdir(/mail/mail/domain/u/username/) blocked for 18 secs > > Two servers were working fine and then all of a sudden this morning > bam 500

Re: [Dovecot] cannot use password-file for userdb

2008-10-27 Thread Albert E. Whale
Timo Sirainen wrote: > On Oct 26, 2008, at 11:28 PM, Albert E. Whale wrote: > >> Oct 26 17:26:54 ns6 dovecot: auth(default): new auth connection: >> pid=5142 >> Oct 26 17:26:54 ns6 dovecot: auth(default): client in: >> AUTH^I1^IPLAIN^Iservice=pop3^Ilip=66.207.133.228^Irip=71.162.15.2^Ilport=110^Irp

Re: [Dovecot] mail_location: mbox: mkdir failed

2008-10-27 Thread Albert E. Whale
Timo Sirainen wrote: > On Oct 27, 2008, at 2:15 PM, Albert E. Whale wrote: > >> Is there an automatic solution to this? >> >> Oct 27 08:00:48 192.168.50.5 dovecot: POP3(evelina2): mail_location: >> mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied > > You mean /home/popuser_evelina

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-27 Thread Scott Silva
on 10-27-2008 3:51 AM Charles Marcus spake the following: > On 10/26/2008, Bill Cole ([EMAIL PROTECTED]) wrote: >> As the Dovecot website says in reference to this mailing list, you >> should specify your Dovecot version, your OS and version (and with >> Linux, the specific distribution,) your CPU

[Dovecot] Gah, pop3 falling over

2008-10-27 Thread Brandon Lamb
Why would I be seeing a million of these? dovecot: 2008-10-27 09:12:33 Warning: chdir(/mail/mail/domain/u/username/) blocked for 18 secs Two servers were working fine and then all of a sudden this morning bam 500 load and theres a million dovecots and tons of these lines in the logs. It is like

Re: [Dovecot] Plugin zlib not found?

2008-10-27 Thread Ralf Hildebrandt
* Ralf Hildebrandt <[EMAIL PROTECTED]>: > Oct 27 16:49:08 postamt dovecot: Fatal: IMAP(fwedel): Plugin zlib not found > from directory /usr/local/lib/dovecot/imap > Oct 27 16:49:10 postamt dovecot: Dovecot v1.1.5 starting up > > # ll /usr/local/lib/dovecot/imap > total 128 > lrwxrwxrwx 1 root sta

[Dovecot] Plugin zlib not found?

2008-10-27 Thread Ralf Hildebrandt
Oct 27 16:49:08 postamt dovecot: Fatal: IMAP(fwedel): Plugin zlib not found from directory /usr/local/lib/dovecot/imap Oct 27 16:49:10 postamt dovecot: Dovecot v1.1.5 starting up # ll /usr/local/lib/dovecot/imap total 128 lrwxrwxrwx 1 root staff22 2008-10-27 16:49 lib01_acl_plugin.so -> ../l

Re: [Dovecot] Released v1.1.5 and v1.2.alpha3

2008-10-27 Thread Timo Sirainen
On Oct 27, 2008, at 1:18 PM, Proskurin Kirill wrote: Largest changes since v1.2.alpha2: + Autocreate plugin: http://wiki.dovecot.org/Plugins/Autocreate Hello all! Could someone say - how to patch dovecot 1.1.x n freebsd with this plugin? I try to copy patch to ports files folder an

Re: [Dovecot] Released v1.1.5 and v1.2.alpha3

2008-10-27 Thread Brandon Lamb
On Mon, Oct 27, 2008 at 4:18 AM, Proskurin Kirill <[EMAIL PROTECTED]> wrote: > >> Largest changes since v1.2.alpha2: >>+ Autocreate plugin: http://wiki.dovecot.org/Plugins/Autocreate > > Hello all! > Could someone say - how to patch dovecot 1.1.x n freebsd with this plugin? I > try to copy

[Dovecot] quota warning not working

2008-10-27 Thread Claudio Prono
Hi all, I have finally get working the quota with dovecot. Now i am setting up the quota warning, with this in dovecot.conf: quota_warning = storage=70%% /usr/bin/quota_warning.sh 70 In the plugin section naturally. All seems to work fine, the quota is calculated right, but seems the script is

Re: [Dovecot] Fwd: Re: Problem with quota dovecot as lda and mysql [EMAIL PROTECTED]

2008-10-27 Thread Claudio Prono
Ok, finally works. The problem was into the user_query to mysql, the correct one, for who is interested is: user_query = SELECT maildir, 51 AS uid, 51 AS gid, CONCAT('*:bytes=', mailbox.quota ) AS quota_rule FROM mailbox WHERE username = '%u' AND active = '1' Thank u to all :) Claudio. Claudio

[Dovecot] dovecot expire doesn't work (?)

2008-10-27 Thread LÉVAI Dániel
Hi! I'm using dovecot-1.1.5 and trying to make the expire plugin work. What I've configured in dovecot.conf is the following: protocol imap,pop3,lda { mail_plugins = [...] expire } dict { expire = db:/var/dovecot/expire/expire.db } plugin { expire = spamassassin/SPAM 2 spama

Re: [Dovecot] mail_location: mbox: mkdir failed

2008-10-27 Thread Timo Sirainen
On Oct 27, 2008, at 2:15 PM, Albert E. Whale wrote: Is there an automatic solution to this? Oct 27 08:00:48 192.168.50.5 dovecot: POP3(evelina2): mail_location: mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied You mean /home/popuser_evelina2 doesn't exist and Dovecot doesn't

Re: [Dovecot] Problems with the pop3 part of dovecot

2008-10-27 Thread Timo Sirainen
On Oct 27, 2008, at 11:59 AM, Roberto Tagliaferri - Tosnet srl wrote: What happened if an external program (webmail..) change the inbox directly? Is there a problem with pop3 server or dovecot recreate the index? Dovecot updates the indexes automatically ("rebuild" is a wrong term). PGP.s

[Dovecot] mail_location: mbox: mkdir failed

2008-10-27 Thread Albert E. Whale
Is there an automatic solution to this? Oct 27 08:00:48 192.168.50.5 dovecot: POP3(evelina2): mail_location: mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied Oct 27 08:00:48 192.168.50.5 dovecot: Fatal: POP3(evelina2): Namespace initialization failed Oct 27 08:00:51 192.168.50.5

Re: [Dovecot] Fwd: Re: Problem with quota dovecot as lda and mysql [EMAIL PROTECTED]

2008-10-27 Thread Claudio Prono
Thank u, i have read all in that guide, but nothing. I have made a test, with dovecot 1.0.14, with the same configuration the quota works... now i am really confused... deliver([EMAIL PROTECTED]): Dec 04 04:30:43 Info: msgid=<[EMAIL PROTECTED]>: save failed to INBOX: Quota exceeded Any problem or

Re: [Dovecot] New generic userdb lookup api

2008-10-27 Thread Sascha Wilde
Timo Sirainen <[EMAIL PROTECTED]> writes: >>> The idea behind Dovecot's memory allocations is that you shouldn't >>> have >>> to go through all the trouble of doing lots of memory >>> frees. Because 1) >>> it's easy to cause memory leaks then, 2) it requires more code and >>> makes >>> it uglier, 3

Re: [Dovecot] Released v1.1.5 and v1.2.alpha3

2008-10-27 Thread Proskurin Kirill
Largest changes since v1.2.alpha2: + Autocreate plugin: http://wiki.dovecot.org/Plugins/Autocreate Hello all! Could someone say - how to patch dovecot 1.1.x n freebsd with this plugin? I try to copy patch to ports files folder and recompile it - but it seems don`t help me. -- Best

Re: [Dovecot] New generic userdb lookup api

2008-10-27 Thread Timo Sirainen
The idea behind Dovecot's memory allocations is that you shouldn't have to go through all the trouble of doing lots of memory frees. Because 1) it's easy to cause memory leaks then, 2) it requires more code and makes it uglier, 3) possibly increases memory fragmentation. So with memory po

[Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-27 Thread Charles Marcus
On 10/26/2008, Bill Cole ([EMAIL PROTECTED]) wrote: > As the Dovecot website says in reference to this mailing list, you > should specify your Dovecot version, your OS and version (and with > Linux, the specific distribution,) your CPU architecture (not > everyone uses x86,) the type of filesystem

Re: [Dovecot] Problem with quota dovecot as lda and mysql

2008-10-27 Thread Claudio Prono
If can be useful, that is the debug of a send mail to the same mailbox: deliver([EMAIL PROTECTED]): Oct 27 12:15:39 Info: Loading modules from directory: /usr/lib/dovecot/modules/lda deliver([EMAIL PROTECTED]): Oct 27 12:15:39 Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so

Re: [Dovecot] New generic userdb lookup api

2008-10-27 Thread Sascha Wilde
Timo Sirainen <[EMAIL PROTECTED]> writes: > On Sun, 2008-10-26 at 18:33 +0100, Sascha Wilde wrote: >> Timo Sirainen <[EMAIL PROTECTED]> writes: >> > On Fri, 2008-10-24 at 16:19 +0200, Sascha Wilde wrote: >> >> Ok, I used auth-master.* -- the new code is in changeset f5ce17153a3d in >> >> my kolab-b

Re: [Dovecot] Problems with the pop3 part of dovecot

2008-10-27 Thread Roberto Tagliaferri - Tosnet srl
Timo Sirainen ha scritto: On Sun, 2008-10-26 at 10:30 -0700, Brandon Lamb wrote: On Sun, Oct 26, 2008 at 10:25 AM, Timo Sirainen <[EMAIL PROTECTED]> wrote: On Sun, 2008-10-26 at 10:21 -0700, Brandon Lamb wrote: I did modify exim to add the W=size but it also required use_crlf an

[Dovecot] Problem with quota dovecot as lda and mysql

2008-10-27 Thread Claudio Prono
Hello to all, That is my situation: I am trying to use dovecot as LDA with postfix, mysql e postfixadmin. So, all the users are stored in mysql, with quota password and all other things. All works properly, except for quota. I am trying to do some tests, but is not clear to me how to debug that pr

Re: [Dovecot] ManageSieve, was Re: Released v1.1.5 and v1.2.alpha3 (managesieve updated)

2008-10-27 Thread Proskurin Kirill
Stephan Bosch wrote: Dave McGuire wrote: About ManageSieve...What client software are people using with this? That varies. I personally use the Thunderbird Sieve add-on, which after version 0.1.5 works pretty well. Most other people I know use the AvelSieve module for Squirrelmail or Ingo