Re: [Dovecot] Wrong message information reported shortly after delivery

2008-03-06 Thread Ron Avriel
> On Thu, 2008-03-06 at 08:21 -0800, Ron Avriel wrote: > > If an IMAP fetch is issued some "short" time after a message was delivered > > with dovecot deliver then dovecot reports wrong (zero) values > > for that new message. Afterward, it reports the information OK. > > What OS/filesystem do you

Re: [Dovecot] v1.1.rc1 released

2008-03-06 Thread Timo Sirainen
On Mar 7, 2008, at 8:56 AM, Gerhard Wiesinger wrote: Updating dovecot.index.log is enough. v1.0 unneededly wastes disk I/ O writing to dovecot.index way too often. I don't think this is wasted disk I/O updating indexes as soon as possible. When the mailbox (mbox) is read afterwards on larg

Re: [Dovecot] Sorting a folder (by THREAD) takes a long time

2008-03-06 Thread Benjamin R. Haskell
On Thu, 6 Mar 2008, Asheesh Laroia wrote: My email workflow with Dovecot is that mail gets delivered to INBOX, where I handle it and then move it into a folder called archive. I have alpine set to use the Default sort of "THREAD" of a folder. After moving a (few) mail(s) from INBOX to archive

Re: [Dovecot] Sorting a folder (by THREAD) takes a long time

2008-03-06 Thread Timo Sirainen
On Mar 7, 2008, at 8:57 AM, Asheesh Laroia wrote: My email workflow with Dovecot is that mail gets delivered to INBOX, where I handle it and then move it into a folder called archive. I have alpine set to use the Default sort of "THREAD" of a folder. After moving a (few) mail(s) from INBOX

[Dovecot] Sorting a folder (by THREAD) takes a long time

2008-03-06 Thread Asheesh Laroia
My email workflow with Dovecot is that mail gets delivered to INBOX, where I handle it and then move it into a folder called archive. I have alpine set to use the Default sort of "THREAD" of a folder. After moving a (few) mail(s) from INBOX to archive, archive takes a long time (10-50s) to lo

Re: [Dovecot] v1.1.rc1 released

2008-03-06 Thread Gerhard Wiesinger
On Tue, 4 Mar 2008, Timo Sirainen wrote: On Feb 22, 2008, at 9:42 AM, Gerhard Wiesinger wrote: Hello Timo! Looks like that mbox index handling still doesn't work with deliver: 1.) 1s mail delivered: Only dovecot.index.log is generated. This is correct. dovecot.index doesn't need to be crea

Re: [Dovecot] Future enhancement of imap: sorting?

2008-03-06 Thread Andy Dills
On Fri, 7 Mar 2008, Timo Sirainen wrote: > I think Sieve (+ ManageSieve) could already do all of this. It's just > normally meant to be used with MDA, but nothing would prevent from > running the script when IMAP server sees it for the first time. I hadn't considered invoking Sieve from imap, I'l

Re: [Dovecot] Future enhancement of imap: sorting?

2008-03-06 Thread Timo Sirainen
On Thu, 2008-03-06 at 21:23 -0500, Andy Dills wrote: > > You could already create a plugin that runs a command when it sees new > > messages in a mailbox. I'm not really interested in writing this > > feature.. > > I didn't mean to imply this as a request for functionality...it would be > worthl

Re: [Dovecot] Future enhancement of imap: sorting?

2008-03-06 Thread Andy Dills
On Fri, 7 Mar 2008, Timo Sirainen wrote: > On Thu, 2008-03-06 at 20:59 -0500, Andy Dills wrote: > > > As nice as it is, it's still a personal solution. In my mind we need to > > have standardized, server-side, MUA-independant sorting rules that get > > invoked when a mailbox is checked. Thought

Re: [Dovecot] Future enhancement of imap: sorting?

2008-03-06 Thread Timo Sirainen
On Thu, 2008-03-06 at 20:59 -0500, Andy Dills wrote: > As nice as it is, it's still a personal solution. In my mind we need to > have standardized, server-side, MUA-independant sorting rules that get > invoked when a mailbox is checked. Thoughts? Filtering is a better name for this, took me a f

[Dovecot] Future enhancement of imap: sorting?

2008-03-06 Thread Andy Dills
After solving a problem with a sweet little application I discovered (more on that below), I wanted to get some feedback about a potential enhancement for IMAP: standardized, MUA independant, server-side sorting. Currently, there are two basic solutions for sorting: handle it during delivery o

Re: [Dovecot] dovecot overquota and delete message

2008-03-06 Thread Timo Sirainen
On Fri, 2008-03-07 at 02:23 +0100, sa wrote: > in my dovecot.sql i have user_query for auth, so I cannot duplicate it. What do you mean can't duplicate it? Add the quota_rule as a new selected field to the same query. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] dovecot overquota and delete message

2008-03-06 Thread sa
:/ in my dovecot.sql i have user_query for auth, so I cannot duplicate it. how I can configure It at all ? s > -Original Message- > From: [EMAIL PROTECTED] [mailto:dovecot- > [EMAIL PROTECTED] On Behalf Of Timo Sirainen > Sent: venerdì 7 marzo 2008 2.16 > To: sa > Cc: 'Dovecot Mailing

Re: [Dovecot] dovecot overquota and delete message

2008-03-06 Thread Timo Sirainen
On Fri, 2008-03-07 at 02:14 +0100, sa wrote: > ok, it's work but it forces a standard quota to all and I have mysql > backend. > > I change it to : > > plugin { > quota = maildir > quota_rule = *:storage=100M > quota_rule2 = Trash:storage=100M > user_query = select concat('*:b

Re: [Dovecot] dovecot overquota and delete message

2008-03-06 Thread sa
ok, it's work but it forces a standard quota to all and I have mysql backend. I change it to : plugin { quota = maildir quota_rule = *:storage=100M quota_rule2 = Trash:storage=100M user_query = select concat('*:bytes=', quota) as quota_rule from mailbox where userid = '%u' }

Re: [Dovecot] dovecot overquota and delete message

2008-03-06 Thread Timo Sirainen
On Fri, 2008-03-07 at 01:46 +0100, sa wrote: > ok for pop3, > > i change to: > > plugin { > quota = maildir > quota_rule2 = Trash:storage=100M > } > > problem persist in imap connections The above doesn't actually do anything because you didn't specify quota_rule: quota = maildir q

Re: [Dovecot] dovecot overquota and delete message

2008-03-06 Thread sa
ok for pop3, i change to: plugin { quota = maildir quota_rule2 = Trash:storage=100M } problem persist in imap connections tnx s > -Original Message- > From: [EMAIL PROTECTED] [mailto:dovecot- > [EMAIL PROTECTED] On Behalf Of Timo Sirainen > Sent: venerdì 7 marzo 2008 1.3

Re: [Dovecot] dovecot overquota and delete message

2008-03-06 Thread Timo Sirainen
On Fri, 2008-03-07 at 01:29 +0100, sa wrote: > i use dovecot-1.1_rc1 with postfix and maildrop as deliver. The problem is > where user gets overquota, at this point he is unable to delete message in > pop3 as imap. There should be no problems deleting the mail from POP3. > plugin { > quota

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Grant Edwards
On 2008-03-07, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Thu, 2008-03-06 at 23:42 +, Grant Edwards wrote: > >> My usual MUA (mutt) manages its own header cache database, and >> it's quite fast with local files. What slows things down when >> using IMAP is the TLS startup and authentication

Re: [Dovecot] Logging Options

2008-03-06 Thread Timo Sirainen
On Thu, 2008-03-06 at 11:18 +0100, Steffen Ille wrote: > Dear Listmembers, > > I tried to figure out how to get statistics not only about the amount of > mails which where sent from / to my mailusers, but also about the size > in byte (e.g. to compare with other traffic stats) for each of my use

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Timo Sirainen
On Thu, 2008-03-06 at 23:42 +, Grant Edwards wrote: > My usual MUA (mutt) manages its own header cache database, and > it's quite fast with local files. What slows things down when > using IMAP is the TLS startup and authentication. Disabling > TSL for localhost would probably help... You c

[Dovecot] dovecot overquota and delete message

2008-03-06 Thread sa
Hi all, i use dovecot-1.1_rc1 with postfix and maildrop as deliver. The problem is where user gets overquota, at this point he is unable to delete message in pop3 as imap. dovecot.conf has: plugin { quota = maildir } protocol imap { mail_plugins = quota imap_quota } protocol pop3 {

Re: [Dovecot] Logging Options

2008-03-06 Thread Asheesh Laroia
On Thu, 6 Mar 2008, Steffen Ille wrote: Dear Listmembers, I tried to figure out how to get statistics not only about the amount of mails which where sent from / to my mailusers, but also about the size in byte (e.g. to compare with other traffic stats) for each of my users. postfix shows me

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Grant Edwards
On 2008-03-06, Timo Sirainen <[EMAIL PROTECTED]> wrote: > 1. If "maildirfolder" file doesn't exist, update maildirsize file > 2. If "maildirfolder" file does exists, update ../maildirsize > >> It all works, but having to use IMAP to access files that are >> right there in ~/Mail bugs me. :) > > I

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Timo Sirainen
On Thu, 2008-03-06 at 23:15 +, Grant Edwards wrote: > > With v1.1 you could use a "normal" directory layout for maildirs as well > > with: > > > > mail_location = maildir:~/Maildir:LAYOUT=fs > > That will be wonderful! > > I never really understood why people decided to try to emulate > a f

Re: [Dovecot] Wrong message information reported shortly after delivery

2008-03-06 Thread Timo Sirainen
On Thu, 2008-03-06 at 08:21 -0800, Ron Avriel wrote: > If an IMAP fetch is issued some "short" time after a message was delivered > with dovecot deliver then dovecot reports wrong (zero) values > for that new message. Afterward, it reports the information OK. What OS/filesystem do you use? I don't

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Grant Edwards
On 2008-03-06, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Thu, 2008-03-06 at 16:25 +, Grant Edwards wrote: >> > then standard Maildir++ utilities are likely to get confused >> > because a folder known to the client as "a.b" will appear in >> > the filesystem with a name of 'a\2eb'. >> >> Th

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Timo Sirainen
On Thu, 2008-03-06 at 16:25 +, Grant Edwards wrote: > > then standard Maildir++ utilities are likely to get confused > > because a folder known to the client as "a.b" will appear in > > the filesystem with a name of 'a\2eb'. > > That's a pain. With v1.1 you could use a "normal" directory layo

[Dovecot] Quota exceeded - ignore setting

2008-03-06 Thread Fabian Lazarski
Hello, I have a problem if I use the 'ignore' setting in my dovecot.conf A delete operation in the client means that the mail is copied to Trash mailbox. If the user is already over quota the delete operation will fail. Therefore I use the ignore setting, which doesn`t count the quota at all for t

[Dovecot] two problems with dovecot and antispam-plugin and qmail/vpopmail

2008-03-06 Thread Mario Cardia
Hi! I'm trying do use antispam plug-in to split spams in different folders. My problem is with backends... I tried dspam backend and now I'm tring mail training backend. With dspam backend the problem is: When I receive a mail then dspam creates a data directory to store his data as it shoul

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Grant Edwards
On 2008-03-06, pod <[EMAIL PROTECTED]> wrote: >GE> When using maildir storage, is there any way to use something >GE> besides "." as the folder separator? > > Please note that the following relates to dovecot 1.0. I've not looked to > see if 1.1 behaves differently. > > Yes you can use a

[Dovecot] dovecot-auth-master Error

2008-03-06 Thread Paul Roberts
I'm getting this error in my dovecot-deliver.log file... deliver([EMAIL PROTECTED]): Mar 06 10:15:08 Error: net_connect(/usr/local/var/run/dovecot-auth-master) failed: Permission denied What does that mean? If you guys need more information just ask but I just don't now what the problem is... -P

[Dovecot] Wrong message information reported shortly after delivery

2008-03-06 Thread Ron Avriel
Hi, If an IMAP fetch is issued some "short" time after a message was delivered with dovecot deliver then dovecot reports wrong (zero) values for that new message. Afterward, it reports the information OK. This causes problems to our IMAP client. The problem is easily reproduced with a large messa

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread pod
> "GE" == Grant Edwards <[EMAIL PROTECTED]> writes: GE> When using maildir storage, is there any way to use something GE> besides "." as the folder separator? Please note that the following relates to dovecot 1.0. I've not looked to see if 1.1 behaves differently. Yes you can use a

Re: [Dovecot] Not using "." as separator?

2008-03-06 Thread Fábio M. Catunda
Edwards, You can use "/" as separator, but maybe you still have some problems. I made a quick test here to know if a dot is allowed, I'm using Thunderbird. When I created the folder "teste.ponto", TB understud that "ponto" is a subfolder of "teste". I don't know if this is a client issue or

[Dovecot] Not using "." as separator?

2008-03-06 Thread Grant Edwards
When using maildir storage, is there any way to use something besides "." as the folder separator? I like to use folder names that match people's e-mail addresses (that's a default behavior in mutt), and "." is a pretty popular character in e-mail addresses. Ideally, I'd like to use "/". Is ".

[Dovecot] Squat Indexing

2008-03-06 Thread Jeff Grossman
I tried Squat indexing on my very small home system and when I did a body search in Thunderbird, I got a TON, and I mean TON, of these messages in my log file: Mar 6 06:13:31 apple dovecot: child 14142 (imap) killed with signal 6 Mar 6 06:13:31 apple dovecot: IMAP(jeff): file file-lock.c: lin

Re: [Dovecot] Maturity of dbox

2008-03-06 Thread Ed Wildgoose
Anders wrote: Hi, I am contemplating migrating from maildir to dbox. However, I wonder about the maturity of the dbox code, as it appears to not be widely used. Does anybody have some success stories? My primary driver is to have non-changing file names, and thus smaller backup deltas. Are

[Dovecot] Logging Options

2008-03-06 Thread Steffen Ille
Dear Listmembers, I tried to figure out how to get statistics not only about the amount of mails which where sent from / to my mailusers, but also about the size in byte (e.g. to compare with other traffic stats) for each of my users. postfix shows me the size of sent mails per user, but afaik

Re: [Dovecot] Can't connect to auth server at /var/run/dovecot//auth-master

2008-03-06 Thread Uldis Pakuls
maxxfire wrote: > > Hi, > > > I'm using dovecot1.1 with postfix2.2.5; I configure dovecot.conf following > the dovecot-wiki. > But i doesn't work. The maillog said 'Can't connect to auth server at > /var/run/dovecot//auth-master: No such file or directory' when I send a mail. > >

Re: [Dovecot] assert() using plugins zlib and antispam together

2008-03-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 6 Mar 2008, Johannes Berg wrote: If both plugins are enabled, I get: : file zlib-plugin.c: line 64 (zlib_maildir_get_stream): assertion failed: (fname != NULL) I'm not exacly sure why it's NULL, but since it happens only for messages that