[Dovecot] plugin advice needed

2007-10-01 Thread Lars Stavholm
I'm working on a dovecot plugin. What's the easiest way to read a specific mail header like To or From? Cheers /Lars

[Dovecot] autocreate plugin

2007-10-01 Thread Lars Stavholm
Did anyone get the autocreate plugin working? I've compiled, installed and configured, but no mailboxes/folders are created. /L

Re: [Dovecot] plugin advice needed

2007-10-01 Thread Johannes Berg
On Mon, 2007-10-01 at 09:19 +0200, Lars Stavholm wrote: I'm working on a dovecot plugin. What's the easiest way to read a specific mail header like To or From? You know you could look into my plugin which does this ;) Look at mail_get_first_header() and friends. johannes signature.asc

Re: [Dovecot] plugin advice needed

2007-10-01 Thread Lars Stavholm
Johannes Berg wrote: On Mon, 2007-10-01 at 09:19 +0200, Lars Stavholm wrote: I'm working on a dovecot plugin. What's the easiest way to read a specific mail header like To or From? You know you could look into my plugin which does this ;) That was kinda' the obvious answer. I did however

Re: [Dovecot] Mixed Courier POP3 and Dovecot IMAP environment

2007-10-01 Thread Jan van den Berg
In the past we also patched Courier; so Im not sure about the naming what's right and what's not (I know for a fact what we use now: courierimapuiddb) But you get the idea, right :) We currently don't support (Courier) keywords; so if we decide to support/offer this we can start afresh with

[Dovecot] v1.1.beta2 - maildir quota calculation problem

2007-10-01 Thread Andrew Pavlenko
I have a problem with the maildir quota plugin. Any imap operations cause the plugin to recalculate the mailbox size and put the new value in the second line of the maildirsize file, while the third line always contains the size of the latest operation. So the resulting sum is incorrect.

Re: [Dovecot] Auto create folder(s)

2007-10-01 Thread mouss
Bill Landry wrote: mouss wrote the following on 9/30/2007 3:45 PM -0800: Fábio M. Catunda wrote: Charles Marcus escreveu: On 9/26/2007, Bill Landry ([EMAIL PROTECTED]) wrote: But with maildrop you still run the process of creating/checking on every delivery, same thing as

[Dovecot] Reading mail in a plugin

2007-10-01 Thread Lars Stavholm
Does anyone know how to read a mail header and body in a plugin, i.e. what API call(s) to use for the read? /L

[Dovecot] Timeout leak

2007-10-01 Thread Lars Stavholm
In my development environment I sometimes get: dovecot: IMAP(stava): Timeout leak: 0x4425d0 Does anyone know what it means or how I can use this information? Cheers /Lars

Re: [Dovecot] Reading mail in a plugin

2007-10-01 Thread Johannes Berg
On Mon, 2007-10-01 at 14:18 +0200, Lars Stavholm wrote: Does anyone know how to read a mail header and body in a plugin, i.e. what API call(s) to use for the read? mail_get_header_stream() and mail_get_stream() I'd think. johannes signature.asc Description: This is a digitally signed message

Re: [Dovecot] Deliver crashes with code 11

2007-10-01 Thread Stefano Scalise
Thank you, with new version, it is all ok. Stefano. - Original Message - From: Timo Sirainen [EMAIL PROTECTED] To: Stefano Scalise [EMAIL PROTECTED] Cc: dovecot@dovecot.org Sent: Sunday, September 30, 2007 3:17 PM Subject: Re: [Dovecot] Deliver crashes with code 11 On Thu, 2007-09-27

Re: [Dovecot] Moving email from a folder to another using IMAP isvery slow (sometimes)

2007-10-01 Thread Stefano Scalise
Sorry, but with the new version (1.1.beta2), I still have the same problem of very slowness during moving email between two imap folders. What can I do for debugging it? Stefano. - Original Message - From: Timo Sirainen [EMAIL PROTECTED] To: Stefano Scalise [EMAIL PROTECTED] Cc:

Re: [Dovecot] dovecot 1.05 err: Reason Given: Mailbox isn't a valid mbox file

2007-10-01 Thread Ken A
Timo Sirainen wrote: On Fri, 2007-09-28 at 17:04 -0500, Ken A wrote: removing the () from the first line of the mbox fixed it. The line: From [EMAIL PROTECTED] () Mon Jun 25 11:20:33 2007 Is this a valid line? There isn't an mbox standard, so it may or may not be valid. I've made Dovecot

Re: [Dovecot] ACL question

2007-10-01 Thread Cory Coager
Timo Sirainen wrote: On Thu, 2007-09-27 at 11:05 -0400, Cory Coager wrote: Does ACL's apply to all subfolders? For instance, if I create a dovecot-acl in a Maildir/, does it apply only to the INBOX or does it apply to all subfolders as well? There is no inheritance currently, so

Re: [Dovecot] shared mailboxes question

2007-10-01 Thread Benjamin R. Haskell
On Mon, 1 Oct 2007, Cory Coager wrote: Timo Sirainen wrote: Benjamin's setup should make it possible, but that works only for the other users' INBOXes, and you do need that kludgy setup where users' maildirs begin with .. I was originally planning on making this easily possible for v1.1, but

Re: [Dovecot] 1.0.5: many pop3-login processes?

2007-10-01 Thread Alan Ferrency
On Sun, 30 Sep 2007, Timo Sirainen wrote: On Fri, 2007-09-28 at 17:22 -0400, Alan Ferrency wrote: Hello, We are running dovecot 1.0.5 on a test server, with FreeBSD 6.2 (though I have noticed the same problem since dovecot versions in the 0.99 range). We don't have very many

Re: [Dovecot] shared mailboxes question

2007-10-01 Thread Cory Coager
Benjamin R. Haskell wrote: On Mon, 1 Oct 2007, Cory Coager wrote: Timo Sirainen wrote: Benjamin's setup should make it possible, but that works only for the other users' INBOXes, and you do need that kludgy setup where users' maildirs begin with .. I was originally planning on making this

Re: [Dovecot] undelete messages?

2007-10-01 Thread Cory Coager
Timo Sirainen wrote: On Thu, 2007-09-27 at 10:45 -0400, Cory Coager wrote: I'm using the lazy expunge plugin as configured in: http://wiki.dovecot.org/Plugins/Lazyexpunge The page claims users can undelete messages without assistance from a sysadmin. How is this accomplished? When I

Re: [Dovecot] shared mailboxes question

2007-10-01 Thread Charles Marcus
I'm using gentoo also so we must have the same exact version. Something strange though, my configuration file uses a different syntax than yours. Instead of using colons for variables it expects equals. So when I copied and pasted your config I got this error: Error: Error in configuration

Re: [Dovecot] 1.1b1 initial pop3 login: assertion failed

2007-10-01 Thread David Jonas
Timo Sirainen wrote: On Fri, 2007-09-28 at 16:12 -0700, David Jonas wrote: Sep 28 15:51:14 kelly-a dovecot: POP3([EMAIL PROTECTED])[8112]: Fixed index file /home/vmail/x/x.com/xxx/Maildir/dovecot.index: first_recent_uid 0 - 1 Fixed now: http://hg.dovecot.org/dovecot/rev/392a49f0c69a

Re: [Dovecot] Auto create folder(s)

2007-10-01 Thread Bill Landry
mouss wrote: Mouss, your post got me thinking, and after a bit of struggle and testing, I was finally able to come up with a working maildroprc configuration that would first attempt message delivery and then fall-back to creating the maildir as an exception if the maildir did not exist.

Re: [Dovecot] new antispam plugin

2007-10-01 Thread Johannes Berg
On Sun, 2007-09-30 at 16:04 +0200, Johannes Berg wrote: Timothy, you could write the mysql logger as a backend too. I looked into that using the dict API but had quite a few problems. See here:

Re: [Dovecot] Opinions on preferred namespace?

2007-10-01 Thread Ed W
Bump... Any thoughts anyone? Ed W Ed W wrote: Hi Any opinions on a preferred namespace setting for use with Dovecot? Deciding factors seem to be client support, not being too unusual, accidental ease of setup, wider character range support (eg dots in folder names?), issues when

[Dovecot] Custom password encryption scheme, how to do it?

2007-10-01 Thread Madison Kelly
Hi all, I'm a fairly recent convert to Dovecot/Postfix from Sendmail, so please be gentle (and assume I know nothing). :) I've got a Postfix/Dovecot/PostgreSQL setup with a custom DB schema for my email. This database is also used for a bigger program I use for all my hosting needs

Re: [Dovecot] shared mailboxes question

2007-10-01 Thread Benjamin R. Haskell
On Mon, 1 Oct 2007, Charles Marcus wrote: I'm using gentoo also so we must have the same exact version. Something strange though, my configuration file uses a different syntax than yours. Instead of using colons for variables it expects equals. So when I copied and pasted your config I got

[Dovecot] saslauth for digest or cram-md5?

2007-10-01 Thread Knute Johnson
Is it possible to use saslauth for digest-md5 or cram-md5 authentication? If so how would one go about configuring dovecot? Thanks, -- Knute Johnson Molon Labe...

Re: [Dovecot] new antispam plugin

2007-10-01 Thread Johannes Berg
I just implemented a new feature with which you can easily implement pristine training or such: http://git.sipsolutions.net/?p=dovecot-antispam.git;a=commitdiff;h=4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f johannes signature.asc Description: This is a digitally signed message part

[Dovecot] potential maildir folder rename bug

2007-10-01 Thread pod
Admittedly not a common situation but: MAIL=maildir:~/tmp/dovecot/Maildir ./src/imap/imap * PREAUTH [CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS] Logged in as pod 01 LIST * * LIST (\HasNoChildren) . INBOX 01 OK List

Re: [Dovecot] plugin problem

2007-10-01 Thread Tom Bombadil
Anyway, I don't recommend training from pristine because of the resource overhead and it being hard to guarantee the message is indeed pristine, but if it suits you I can't stop you from doing it :) Really? I found the downside of using signatures much worse than not using them: If the

[Dovecot] UIDL and IMAP

2007-10-01 Thread Kenneth Porter
I finally got my aging FC2 box retired and moved all email to my new CentOS 5 box. My site is all-IMAP, no POP3. I have one user who downloads all email to Thunderbird on his laptop so that he can work offline while away from a network connection (eg. on an airplane). I forgot to change the

Re: [Dovecot] plugin problem

2007-10-01 Thread Johannes Berg
On Mon, 2007-10-01 at 12:44 -0700, Tom Bombadil wrote: Really? I found the downside of using signatures much worse than not using them: If the backend is mysql, eventually, we have to clean, and optimize the signature tables... And the optimization locks the table. Needless to say, all

[Dovecot] Slight problem with dovecot + IMAP

2007-10-01 Thread Timothy Murphy
I'm running dovecot on my desktop with kmail as IMAP client on my laptop. When I start kmail on the laptop it sometimes takes several minutes to calm down. The number of messages listed in the IMAP inbox increases greatly - maybe from 2500 to 3000 - and then slowly decreases. There are sometimes

[Dovecot] imap sort assertion failure

2007-10-01 Thread Andrew Garner
The following error occurred after a SORT (TO) US-ASCII ALL command. This only seems to happen with to, all our other tests work as expected. Oct 1 20:32:49 dovecot: IMAP([EMAIL PROTECTED]): pool_data_stack_realloc(): stack frame changed Oct 1 20:32:49 dovecot: IMAP([EMAIL PROTECTED]): Raw

Re: [Dovecot] Slight problem with dovecot + IMAP

2007-10-01 Thread Charles Marcus
On 10/1/2007, Timothy Murphy ([EMAIL PROTECTED]) wrote: I'm running dovecot on my desktop with kmail as IMAP client on my laptop. When I start kmail on the laptop it sometimes takes several minutes to calm down. The number of messages listed in the IMAP inbox increases greatly - maybe from 2500

[Dovecot] Dovecot do not retrieve mail from spool directory (pop3)

2007-10-01 Thread [EMAIL PROTECTED]
Hello, I have Dovecot 1.0.beta8 on [EMAIL PROTECTED] orlowscy.com] # dovecot -n log_path: /var/log/dovecot protocols: pop3 login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/pop3-login default_mail_env: mbox:/tmp:INBOX:/var/spool/vmail/%d/%n:INDEX=MEMORY mail_executable:

Re: [Dovecot] Dovecot do not retrieve mail from spool directory (pop3)

2007-10-01 Thread Charles Marcus
On 10/1/2007, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: I have Dovecot 1.0.beta8 on [EMAIL PROTECTED] orlowscy.com] Really, really, REALLY old... updating should be extremely high on your priority list. Is this a new installation? Existing dovecot? Courier conversion? -- Best regards,

Re: [Dovecot] Slight problem with dovecot + IMAP

2007-10-01 Thread Timothy Murphy
On Mon 01 Oct 2007, Charles Marcus wrote: On 10/1/2007, Timothy Murphy ([EMAIL PROTECTED]) wrote: I'm running dovecot on my desktop with kmail as IMAP client on my laptop. When I start kmail on the laptop it sometimes takes several minutes to calm down. The number of messages listed

Re: [Dovecot] Slight problem with dovecot + IMAP

2007-10-01 Thread Charles Marcus
you're teasing us? You missed the request for dovecot -n output? pertinent log snippets? Seriously - how is anyone supposed to help you? Guess?

[Dovecot] Folder renaming oddities.

2007-10-01 Thread Tan Shao Yi
Hi Timo, We are observing some weird behaviour when we try to rename an inferior folder, followed by the superior folder. These folders have an asterisk in the name. * LIST (\HasChildren) . *Own Family * LIST (\HasChildren) . *Own Family.Tour * LIST (\HasNoChildren) . *Own Family.Maid *

Re: [Dovecot] new antispam plugin

2007-10-01 Thread Andreas Schneider
Johannes Berg wrote: I just implemented a new feature with which you can easily implement pristine training or such: http://git.sipsolutions.net/?p=dovecot-antispam.git;a=commitdiff;h=4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f Hi Johannes, I've just implemented the dspam library backend. I've

Re: [Dovecot] new antispam plugin

2007-10-01 Thread Marcus Rueckert
On 2007-10-02 05:51:38 +0200, Andreas Schneider wrote: Johannes Berg wrote: I just implemented a new feature with which you can easily implement pristine training or such: http://git.sipsolutions.net/?p=dovecot-antispam.git;a=commitdiff;h=4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f Hi

Re: [Dovecot] Folder renaming oddities.

2007-10-01 Thread Tan Shao Yi
Hello, Sorry, I forgot to mention this is dovecot 1.0.4. Cheers. Tan Shao Yi wrote: Hi Timo, We are observing some weird behaviour when we try to rename an inferior folder, followed by the superior folder. These folders have an asterisk in the name. * LIST (\HasChildren) . *Own Family