Re: [Dovecot] ACL in sub-folders (take two)

2008-07-21 Thread Imobach González Sosa
El Monday 21 July 2008 13:46:25 Timo Sirainen escribió: > On Mon, 2008-07-21 at 09:42 +0100, Imobach González Sosa wrote: > > I've set up some shared folders and I'm controlling the access to them > > with the ACL plugin. As far as I know, ACL rules are not applied to > > sub-folders, right? > > Ri

Re: [Dovecot] Permission problems

2008-07-21 Thread Benny Pedersen
On Mon, July 21, 2008 14:20, M. Rodrigo Monteiro wrote: > args: /usr/local/dovecot/etc/dovecot-ldap.conf i am unsure how to debug ldap from here, but show this conf and i hope others can help last thing here, the logs show me now that dovecot works, but the ldap auth is still not working -- B

Re: [Dovecot] Dovecot LDA with Postfix - question?

2008-07-21 Thread Zhang Huangbin
kbajwa wrote: Hello: CentOS 5.2 Postfix 2.3.3 (part of CentOS install) Dovecot 1.0.7 (part of CentOS install) Dovecot 1.1.1 (Updated from www.atrpms.net) Here is the problem; I do not find location of ".../dovecot/deliver" anywhere on the system! Use rpm to find the correct file location:

[Dovecot] Dovecot LDA with Postfix - question?

2008-07-21 Thread kbajwa
Hello: CentOS 5.2 Postfix 2.3.3 (part of CentOS install) Dovecot 1.0.7 (part of CentOS install) Dovecot 1.1.1 (Updated from www.atrpms.net) Postfix & Dovecot are working fine. While reading "Dovecot LDA with Postfix" document at http://wiki.dovecot.org/LDA/Postfix , I read the following statement

[Dovecot] Problems with deliver and account resolving

2008-07-21 Thread Andreas Podgurski
Hi! I'm currently setting up my first mailsystem based on dovecot. For a far way, working with dovecot was very convenient, but after I had to integrate deliver, it became massivly painful. My components are postfix as MTA, postgresql as user database and dovecot as IMAP server. When translating

Re: [Dovecot] DoveCot IMAP and "inconsistent state" messages

2008-07-21 Thread Christer Mjellem Strand
I need some help troubleshooting this problem. It only shows up with IMAP connections. I initially thought it was related to SquirrelMail (because it gives me an 'EXPUNGE' error), but after attempting to send IMAP commands directly to the server as shown below, I'm thinking there is something el

Re: [Dovecot] A couple of dovecot issues I've noted recently...

2008-07-21 Thread Timo Sirainen
On Jul 21, 2008, at 11:42 PM, Dan Price wrote: On Sun 20 Jul 2008 at 06:05PM, Timo Sirainen wrote: On Wed, 2008-07-09 at 17:09 -0700, Dan Price wrote: You don't have a separate mail directory, so users sometimes list their entire home directory which can contain a huge directory tree, caus

Re: [Dovecot] A couple of dovecot issues I've noted recently...

2008-07-21 Thread Dan Price
On Sun 20 Jul 2008 at 06:05PM, Timo Sirainen wrote: > On Wed, 2008-07-09 at 17:09 -0700, Dan Price wrote: > > You don't have a separate mail directory, so users sometimes list their > entire home directory which can contain a huge directory tree, causing > out of memory? I rely on users to set th

Re: [Dovecot] Deliver mail as 'read'?

2008-07-21 Thread Andrew Schulman
> On Mon, 2008-07-21 at 06:42 +0100, Peter Collinson wrote: > > I'd like to be able to deliver certain mail as 'read' from procmail. > > Only way I can think of would be with a Sieve script that uses the > imap4flags extension to set the flag \seen. Yes, that's what I did. I wanted to file al

Re: [Dovecot] Dovecot 1.1.1 killed with SIGABRT

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 18:08 +0200, Andreas M. Kirchwitz wrote: > >> Jul 12 01:04:45 linux dovecot: Panic: IMAP(user2): file index-sync.c: > line 39 (index_mailbox_set_recent_uid): assertion failed: > (seq_range_exists(&ibox->recent_flags, uid)) I think I finally managed to fix this: http://hg.d

Re: [Dovecot] The case of the disappearing INBOX's - upgrade to 1.1.1 from 1.0.7 and based on Email client type

2008-07-21 Thread Jack Stewart
Solution tested, problem solved - thanks! This will greatly ease our transition to a more sensible namespace layout. ---Jack Timo Sirainen wrote: On Wed, 2008-07-16 at 09:59 -0700, Jack Stewart wrote: The interesting part is that after upgrading to 1.1.1, the INBOX would disappear from Thund

Re: [Dovecot] Squat indexing a Maildir of over 600 GB?

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 12:55 -0400, John Wells wrote: > On Mon, Jul 21, 2008 at 12:50 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-07-21 at 12:37 -0400, John Wells wrote: > >> Guys, > >> > >> We have a very large maildir for email auditing purposes. It's > >> currently at 600 GB and

Re: [Dovecot] Squat indexing a Maildir of over 600 GB?

2008-07-21 Thread John Wells
On Mon, Jul 21, 2008 at 12:50 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Mon, 2008-07-21 at 12:37 -0400, John Wells wrote: >> Guys, >> >> We have a very large maildir for email auditing purposes. It's >> currently at 600 GB and continues to grow. >> >> Can dovecot handle this with squat inde

Re: [Dovecot] Squat indexing a Maildir of over 600 GB?

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 12:37 -0400, John Wells wrote: > Guys, > > We have a very large maildir for email auditing purposes. It's > currently at 600 GB and continues to grow. > > Can dovecot handle this with squat indexing, or am I out of my mind? You can try of course, but that might be a bit too

[Dovecot] Squat indexing a Maildir of over 600 GB?

2008-07-21 Thread John Wells
Guys, We have a very large maildir for email auditing purposes. It's currently at 600 GB and continues to grow. Can dovecot handle this with squat indexing, or am I out of my mind? Thanks! John

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Thomas Zajic
* Timo Sirainen, 2008-07-21 14:29 On Mon, 2008-07-21 at 06:40 +0200, Thomas Zajic wrote: -> http://dovecot.org/list/dovecot/2008-June/031611.html I'll see about that, but with v1.1.2 I'd recommend using fts-solr instead. fts-lucene does things less efficiently and it has some issues when the

Re: [Dovecot] Dovecot 1.1.1 killed with SIGABRT

2008-07-21 Thread Andreas M. Kirchwitz
Timo Sirainen wrote: > Fixed: http://hg.dovecot.org/dovecot-1.1/rev/ea00b1553ef1 Great, thanks! >> Jul 12 01:04:45 linux dovecot: Panic: IMAP(user2): file index-sync.c: line >> 39 (index_mailbox_set_recent_uid): assertion failed: >> (seq_range_exists(&ibox->recent_flags, uid)) > >> Sto

[Dovecot] Conversion help

2008-07-21 Thread Jason Frisvold
Hi there, I'm working on converting my server from using bincimap to dovecot. I seem to be having some trouble with folders, however. Binc was set up like this : depot = "IMAPdir", /* Use Maildir++ style type = "Maildir", /* only Ma

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Arkadiusz Miskiewicz
On Monday 21 July 2008, Timo Sirainen wrote: > On Mon, 2008-07-21 at 15:51 +0200, Arkadiusz Miskiewicz wrote: > > On Monday 21 July 2008, Timo Sirainen wrote: > > > + Maildir: Add ,S= to maildir filename whenever quota plugin > > > is loaded, even when not using Maildir++ quota. > > > > Could

Re: [Dovecot] No password in reply

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 11:32 -0300, M. Rodrigo Monteiro wrote: > user_attrs = mail,homeDirectory > pass_attrs = mail,userPassword This kind of configuration was deprecated in v1.0 and doesn't really work in v1.1 anymore. Use instead: user_attrs = homeDirectory=home pass_attrs = uid=user,userPa

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 16:00 +0200, Anders wrote: > Timo Sirainen wrote: > > > http://hg.dovecot.org/dovecot-1.1/rev/d46b9e8dcf13 > > "AC_DEFINE(HAVE_BZLIB,, Define if you have zlib library)" > > There seems to be a copy/paste error with the "zlib" there ... Thanks, fixed. signature.asc Descr

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 15:51 +0200, Arkadiusz Miskiewicz wrote: > On Monday 21 July 2008, Timo Sirainen wrote: > > > + Maildir: Add ,S= to maildir filename whenever quota plugin > > is loaded, even when not using Maildir++ quota. > > Could S= be always added even when no quota plugin is

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 14:48 +0100, Chris Wakelin wrote: > I'm left with just (most > of) the compile errors I mentioned in > http://www.dovecot.org/list/dovecot/2008-June/031350.html > plus You mean compiler warnings? Anyway I did go through them and fixed a couple of those, but I don't think I'

[Dovecot] No password in reply

2008-07-21 Thread M. Rodrigo Monteiro
Found http://www.mailinglistarchive.com/dovecot@dovecot.org/msg03185.html, but I don't think this is my problem because using ldapsearch I can search using dovecot. # /usr/local/openldap/bin/ldapsearch -x -h localhost -b DC=X,DC=ce,DC=gov,DC=br -D cn=dovecot,dc=X,dc=ce,dc=gov,dc=br -w XXX

Re: [Dovecot] ACL in sub-folders (take two)

2008-07-21 Thread Charles Marcus
I've set up some shared folders and I'm controlling the access to them with the ACL plugin. As far as I know, ACL rules are not applied to sub-folders, right? Does exists any way to implement it using some dovecot feature? Or must I find my way? Just to be sure :) Nothing I can think of..

Re: [Dovecot] litte problems upgrade from 1.0.x to 1.1.1

2008-07-21 Thread Andre Hübner
Servus, Jul 16 08:45:55 servername dovecot: Panic: IMAP(user): file message-parser.c: line 770 (message_parser_parse_next_block): assertion failed: (ctx->input->eof || ctx->input->closed || ctx->input->stream_errno != 0 || ctx->broken) Line 770. #6 0x080bbfa0 in message_parser_parse_heade

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Anders
Timo Sirainen wrote: > http://hg.dovecot.org/dovecot-1.1/rev/d46b9e8dcf13 "AC_DEFINE(HAVE_BZLIB,, Define if you have zlib library)" There seems to be a copy/paste error with the "zlib" there ... Cheers, Anders Nitpicker

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Arkadiusz Miskiewicz
On Monday 21 July 2008, Timo Sirainen wrote: > + Maildir: Add ,S= to maildir filename whenever quota plugin > is loaded, even when not using Maildir++ quota. Could S= be always added even when no quota plugin is loaded? Is there any point in not adding S= anyway? -- Arkadiusz Miś

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Chris Wakelin
Timo Sirainen wrote: On Mon, 2008-07-21 at 10:14 +0100, Chris Wakelin wrote: + zlib plugin supports now bzip2 also. This breaks for me on Solaris 8 and gcc 3.3.2 In file included from istream-bzlib.c:8: /usr/include/bzlib.h:170: error: parse error before "FILE" /usr/include/bzlib.h:198

Re: [Dovecot] Deliver mail as 'read'?

2008-07-21 Thread Peter Collinson
I'll take a stab at that.. Getting started with sieve seems a big step... On 21 Jul 2008, at 13:40, Timo Sirainen wrote: On Mon, 2008-07-21 at 06:42 +0100, Peter Collinson wrote: I'd like to be able to deliver certain mail as 'read' from procmail. My procmail rules call deliver with -m to di

Re: [Dovecot] recursive acl problem

2008-07-21 Thread Robert Schetterer
Robert Schetterer schrieb: Hi Timo, Timo Sirainen schrieb: On Mon, 2008-07-21 at 14:35 +0200, Robert Schetterer wrote: namespace shared { .. In my meaning this shouldnt be so only names of ( names of directories) at /usr/local/virtual/%d/%u/ should be shown , subfolders in them should only

Re: [Dovecot] recursive acl problem

2008-07-21 Thread Robert Schetterer
Hi Timo, Timo Sirainen schrieb: On Mon, 2008-07-21 at 14:35 +0200, Robert Schetterer wrote: namespace shared { .. In my meaning this shouldnt be so only names of ( names of directories) at /usr/local/virtual/%d/%u/ should be shown , subfolders in them should only be imap browseable if there

Re: [Dovecot] litte problems upgrade from 1.0.x to 1.1.1

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 11:59 +0200, Andre Hübner wrote: > Jul 16 08:45:55 servername dovecot: Panic: IMAP(user): file > message-parser.c: line 770 (message_parser_parse_next_block): assertion > failed: (ctx->input->eof > || ctx->input->closed || ctx->input->stream_errno != 0 || ctx->broken) Line

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 10:14 +0100, Chris Wakelin wrote: > > + zlib plugin supports now bzip2 also. > > This breaks for me on Solaris 8 and gcc 3.3.2 > > In file included from istream-bzlib.c:8: > /usr/include/bzlib.h:170: error: parse error before "FILE" > /usr/include/bzlib.h:198: error: par

Re: [Dovecot] recursive acl problem

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 14:35 +0200, Robert Schetterer wrote: > namespace shared { .. > In my meaning this shouldnt be so > only names of ( names of directories) at /usr/local/virtual/%d/%u/ > should be shown , subfolders in them should only be > imap browseable if there is another dovecot-acl in th

Re: [Dovecot] ACL in sub-folders (take two)

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 09:42 +0100, Imobach González Sosa wrote: > I've set up some shared folders and I'm controlling the access to them with > the ACL plugin. As far as I know, ACL rules are not applied to sub-folders, > right? Right. > So, when a user adds a new sub-folder, I need to add a do

Re: [Dovecot] Mails "invisible" (index corrupted?)

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 11:43 +0800, Patrick Nagel wrote: > > > Searching (in Subject or From header) within the Inbox turned up the > > > missing messages though. > > > > If they're found when searching via Dovecot, then Dovecot sees them.. > > Yes, searching via dovecot - FTS (Squat) is activated

Re: [Dovecot] Deliver mail as 'read'?

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 06:42 +0100, Peter Collinson wrote: > I'd like to be able to deliver certain mail as 'read' from procmail. > My procmail rules call deliver with -m > to directly to inject filtered mail to maildir based directories. > > I like to keep copies of mail I've sent by cc'ing it

Re: [Dovecot] Deliver mail as 'read'?

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 09:38 +0200, Chris Laif wrote: > On Mon, Jul 21, 2008 at 7:42 AM, Peter Collinson <[EMAIL PROTECTED]> wrote: > > I'd like to be able to deliver certain mail as 'read' from procmail. My > > procmail rules call deliver with -m > > to directly to inject filtered mail to maildir

Re: [Dovecot] Multiple quota roots with quota-fs backend

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 10:36 +0200, Ralf Becker wrote: > ./src/plugins/quota/quota.c: > > Looking over the new function 'quota_root_is_visible' let's me think, > that Grandy Fu's original solution (*) should work then, because > 'noenforcing' does cover not only quota checking but also quota root

Re: [Dovecot] v1.1.1: Some files not created with dovecot-shared permissions

2008-07-21 Thread Eduardo M KALINOWSKI
Timo Sirainen escreveu: As for subscriptions and maildirsize .. well, those are more difficult and I'm not sure if I should do such a change for v1.1.x releases anymore since it would change the behavior. maildirsize is actually quite discardable, so it's not a big deal. However, the subscr

[Dovecot] recursive acl problem

2008-07-21 Thread Robert Schetterer
Hi, i ve got a problem with recursive acl, using not a vfile global backend. ( no default acl) In my understanding every folder(directory) needs a seperate dovecot-acl files with permissions. This works fine, but my tests showed using a shared namespace like i.e. namespace shared { separator =

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 06:40 +0200, Thomas Zajic wrote: > * Timo Sirainen, 2008-07-21 00:11 > > > I've finally read and answered most of the mails on this list. If you > > haven't received an answer to your question, resend it. [...] > > Segfaults with fts_lucene enabled - the bug report is/was f

Re: [Dovecot] quota vs. antispam issue

2008-07-21 Thread Timo Sirainen
On Mon, 2008-07-21 at 06:48 +0200, Johannes Berg wrote: > On Sun, 2008-07-20 at 23:53 +0300, Timo Sirainen wrote: > > > > Ok, that seems to work, but I think a better alternative would probably > > > be to make dest_mail a struct mail ** like the context. > > > > That'd be an API change and I'd r

Re: [Dovecot] Permission problems

2008-07-21 Thread M. Rodrigo Monteiro
2008/7/19 Benny Pedersen <[EMAIL PROTECTED]>: > > On Fri, July 18, 2008 19:39, M. Rodrigo Monteiro wrote: > > > # id vmail > > uid=200(vmail) gid=200(vmail) grupos=200(vmail) > > > first_valid_uid: 201 > > last_valid_uid: 201 > > first_valid_gid: 201 > > last_valid_gid: 201 > > 200 vs 201 ? > > th

Re: [Dovecot] Sieve plugin should recompile when symbolic link changes [patch]

2008-07-21 Thread Stephan Bosch
Frank Behrens schreef: The sieve plugin compares the modification dates of sieve source and compiled script and compiles the script only if necessary. When the managesieve extension is used, it creates a symbolic link for the script. In order to switch between scripts managesieve changes the lin

[Dovecot] Sieve plugin should recompile when symbolic link changes [patch]

2008-07-21 Thread Frank Behrens
The sieve plugin compares the modification dates of sieve source and compiled script and compiles the script only if necessary. When the managesieve extension is used, it creates a symbolic link for the script. In order to switch between scripts managesieve changes the link only. Therefore t

Re: [Dovecot] quota vs. antispam issue

2008-07-21 Thread Johannes Berg
On Sun, 2008-07-20 at 23:53 +0300, Timo Sirainen wrote: > > Ok, that seems to work, but I think a better alternative would probably > > be to make dest_mail a struct mail ** like the context. > > That'd be an API change and I'd rather not do that for v1.1. But I > suppose it would be the best per

Re: [Dovecot] litte problems upgrade from 1.0.x to 1.1.1

2008-07-21 Thread Andre Hübner
Hi, Can you get a gdb backtrace from this crash? See http://dovecot.org/bugreport.html additional to my last mail now a cordump was created this is dovecot -n # 1.1.1: /etc/dovecot.conf protocols: imap imaps pop3 pop3s ssl_ca_file: /path/path/*.myservername.com.bundle.crt ssl_cert_file: /pa

Re: [Dovecot] v1.1.2 release candidate

2008-07-21 Thread Chris Wakelin
Timo Sirainen wrote: I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. There are a couple of tricky mbox issues left, but I'm not sure if I can do anything about them unless someone can show me how to reproduce the probl

[Dovecot] ACL in sub-folders (take two)

2008-07-21 Thread Imobach González Sosa
Hi all, I've read this not on the v1.1.2 release candidate announce: > If you haven't received an answer to your question, resend it. So, I've sent this message some days ago and I've got no answer (that's fine, no problem). So, I'm posting my question again: I've set up some shared folders an

Re: [Dovecot] Multiple quota roots with quota-fs backend

2008-07-21 Thread Ralf Becker
Timo Sirainen schrieb am 21.07.2008 02:03: But most people haven't needed it, so it would be unnecessary extra checks for them. Wonder if it'd be better to just let them have the extra check or add a configuration option.. I'm also a bit worried that if this check was always done it would break

Re: [Dovecot] Upgrade to 1.1 maildir & shared folders problems

2008-07-21 Thread sami
On Sun, 20 Jul 2008, Timo Sirainen wrote: > On Mon, 2008-07-07 at 10:22 +0300, [EMAIL PROTECTED] wrote: > > > > On Mon, 30 Jun 2008 [EMAIL PROTECTED] wrote: > It crashes because it can't find where the filesystem is mounted at. I > don't know why that would happen, but I fixed the crash anyway:

Re: [Dovecot] Deliver mail as 'read'?

2008-07-21 Thread Chris Laif
On Mon, Jul 21, 2008 at 7:42 AM, Peter Collinson <[EMAIL PROTECTED]> wrote: > I'd like to be able to deliver certain mail as 'read' from procmail. My > procmail rules call deliver with -m > to directly to inject filtered mail to maildir based directories. > Hi, I've got an related problem: When f