Re: [Dovecot] RTFM: Manual pages for Dovecot v2.0

2010-05-31 Thread Brandon Davidson
Pascal, On 5/31/10 11:40 PM, "Pascal Volk" wrote: > > I've spent some time for the fine manual. Whats new? > > Location: http://hg.localdomain.org/dovecot-2.0-man > So I don't have to flood the wiki with attachments. > As soon as the manual pages are complete, they will be included in the > Dove

Re: [Dovecot] RTFM: Manual pages for Dovecot v2.0

2010-05-31 Thread Pascal Volk
I've spent some time for the fine manual. Whats new? Location: http://hg.localdomain.org/dovecot-2.0-man So I don't have to flood the wiki with attachments. As soon as the manual pages are complete, they will be included in the Dovecot source tree. Additional manual pages: * doveconf(1) *

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards

2010-05-31 Thread Juergen Daubert
On Mon, May 31, 2010 at 09:17:35PM +0100, Timo Sirainen wrote: > On ma, 2010-05-31 at 21:53 +0200, Juergen Daubert wrote: > > > Finally I've some time to look at this. Can you still reliably reproduce > > > this every time? > > > > Yes, even if I upload the messages into a new mbox. Done some tes

Re: [Dovecot] quota and postfix virtual users

2010-05-31 Thread Simone Caruso
Il 31/05/2010 03:07, gbot...@emailforall.no-ip.org ha scritto: hi, Simone Caruso, thanks for your answer but i have some questions i test the script in the console and he works he read the quota pased by mysql and then quota_rule ok but he update the maildirsize file??? and this script have to

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Brandon Davidson
Timo, On 5/31/10 6:56 PM, "Timo Sirainen" wrote: > > Oh, you're right. For auth settings currently only protocol blocks work. It > was a bit too much trouble to make local/remote blocks to work. :) That's too bad! Any hope of getting support for this and director+proxy_maybe anytime soon? -Bra

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Timo Sirainen
On 1.6.2010, at 2.44, Brandon Davidson wrote: > It still seems to > ignore the block and only use the global definition, even if doveconf -f > lip= shows that it's expanding it properly. Oh, you're right. For auth settings currently only protocol blocks work. It was a bit too much trouble to mak

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Brandon Davidson
Timo, On 5/31/10 5:34 PM, "Brandon Davidson" wrote: > > Still not sure why it's not proxying though. The config looks good but it's > still using PAM even for the external IP. I played with subnet masks instead of IPs and using remote instead of local, as well as setting auth_cache_size = 0, bu

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards (and beta5 too)

2010-05-31 Thread Mark Sapiro
t; /usr/local/lib/dovecot/libdovecot.so.0 [0x3a4fe8] -> /usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x7e) [0x3c0a4e] -> /usr/local/lib/dovecot/libd May 31 16:33:06 sbh16 dovecot: master: Error: service(imap): child 7342 killed with signal 6 (core dumps disabled) 20100531-162632-

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Brandon Davidson
Timo, On 5/31/10 5:09 PM, "Timo Sirainen" wrote: > > Right .. it doesn't work exactly like that I guess. Or I don't remember :) > Easiest to test with: > > doveconf -f lip=128.223.142.138 -n That looks better: [r...@cc-popmap7 ~]# doveconf -f lip=128.223.142.138 -h |grep -B1 -A7 passdb } pass

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Timo Sirainen
On 1.6.2010, at 0.59, Brandon Davidson wrote: > Interestingly enough, if I run 'doveconf -n' it doesn't seem to be retaining > the order I specified. The local section is dropped down to the very end: Right .. it doesn't work exactly like that I guess. Or I don't remember :) Easiest to test with

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Brandon Davidson
Timo, On 5/31/10 4:36 PM, "Timo Sirainen" wrote: > > The passdbs and userdbs are checked in the order they're defined. You could > add them at the bottom. Or probably more easily: > > local 128.223.143.138 { > passdb { > driver = sql > args = .. > } > > passdb { > driver = pam >

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Timo Sirainen
On 1.6.2010, at 0.30, Brandon Davidson wrote: > May 31 16:20:42 cc-popmap7 dovecot: auth: Fatal: No passdbs specified in > configuration file. PLAIN mechanism needs one Hmm. Maybe this check should check also the local etc. blocks.. > So I added a global passdb/userdb: The passdbs and userdbs a

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Brandon Davidson
Timo, On 5/31/10 4:13 PM, "Timo Sirainen" wrote: > You need to put the other passdb/userdb to the external IP: > > local 1.2.3.4 { >> userdb { >> driver = passwd >> } >> passdb { >> driver = sql >> args = /etc/dovecot/proxy-sqlite.conf >> } > > } > It still doesn't seem to work. I tried t

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Timo Sirainen
On 31.5.2010, at 23.59, Brandon Davidson wrote: You need to put the other passdb/userdb to the external IP: local 1.2.3.4 { > userdb { > driver = passwd > } > passdb { > driver = sql > args = /etc/dovecot/proxy-sqlite.conf > } } > Even if the alternate passdb worked, how would I get it to co

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Brandon Davidson
Timo, On 5/31/10 6:04 AM, "Timo Sirainen" wrote: > Well .. maybe you could use separate services. Have the proxy listen on > public IP and the backend listen on localhost. Then you can do: > > local_ip 127.0.0.1 { > passdb { > .. > } > } > > and things like that. I think it would work,

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards (and beta5 too)

2010-05-31 Thread Timo Sirainen
On 31.5.2010, at 23.45, Mark Sapiro wrote: > I am having problems setting up rawlog. I need some help. Oh, right, I forgot. With v2.0 it's different. http://dovecot.org/list/dovecot/2009-December/045139.html (just remove the /tmp/test.sh from the example)

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards (and beta5 too)

2010-05-31 Thread Mark Sapiro
On 5/31/2010 2:47 PM, Timo Sirainen wrote: > On 31.5.2010, at 22.41, Mark Sapiro wrote: > >> What I don't understand is whether this is strictly the client's >> problem, or if there is some issue in Dovecot as well. If there is >> a Dovecot issue, I can try to collect and report more information

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Timo Sirainen
On 31.5.2010, at 22.31, stefan novak wrote: > is this proxy working for lmtp too? Not yet, but it's probably less than 50 lines of code. > is there a roadmap when this will > be released and considered as stable? Hopefully by the time v2.0.0 is released. It should already be usable with two pr

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards (and beta5 too)

2010-05-31 Thread Timo Sirainen
On 31.5.2010, at 22.41, Mark Sapiro wrote: > What I don't understand is whether this is strictly the client's > problem, or if there is some issue in Dovecot as well. If there is a > Dovecot issue, I can try to collect and report more information about > these Panics if that would be helpful. All

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards (and beta5 too)

2010-05-31 Thread Mark Sapiro
On Monday, May 10, Mark Sapiro wrote: > On Sat Apr 24 12:27:40 EEST 2010, Juergen Daubert wrote: > >> On Mon, Mar 29, 2010 at 02:14:28PM +0200, Juergen Daubert wrote: >>> Hi, >>> >>> got the following with beta4 while uploading messages from a local >>> mbox to the dovecot server in my LAN, test

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread stefan novak
this feature sounds very interesting... is this proxy working for lmtp too? is there a roadmap when this will be released and considered as stable?

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards

2010-05-31 Thread Timo Sirainen
On ma, 2010-05-31 at 21:53 +0200, Juergen Daubert wrote: > > Finally I've some time to look at this. Can you still reliably reproduce > > this every time? > > Yes, even if I upload the messages into a new mbox. Done some tests > right now, one thing I've noticed is that the crash only happens if

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards

2010-05-31 Thread Juergen Daubert
On Mon, May 31, 2010 at 07:55:48PM +0100, Timo Sirainen wrote: > On ma, 2010-03-29 at 14:14 +0200, Juergen Daubert wrote: > > > got the following with beta4 while uploading messages from a local > > mbox to the dovecot server in my LAN, tested with mutt and sylpheed, > > the same action works wi

Re: [Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards

2010-05-31 Thread Timo Sirainen
On ma, 2010-03-29 at 14:14 +0200, Juergen Daubert wrote: > got the following with beta4 while uploading messages from a local > mbox to the dovecot server in my LAN, tested with mutt and sylpheed, > the same action works with 1.2.11: > > > Mar 29 13:42:46 [dovecot] imap(juergen): Panic: strea

Re: [Dovecot] Error: file_dotlock_open() failed with file $FILE ENOENT

2010-05-31 Thread Timo Sirainen
On ti, 2010-04-06 at 06:19 +0200, Pascal Volk wrote: > Apr 06 05:44:36 imap(pvo): Error: file_dotlock_open() failed with file > /home/pvo/mdbox/mailboxes/Trash/S4/dbox-Mails/dovecot.index.log: No such file > or directory Fixed: http://hg.dovecot.org/dovecot-2.0/rev/3efe9dcbed3e It also triggere

Re: [Dovecot] dovecot-2.0-pigeonhole/ManageSieve: wrong service name

2010-05-31 Thread Timo Sirainen
On ma, 2010-05-31 at 19:53 +0200, Stephan Bosch wrote: > > - service name when logging %s in login_log_format_elements > > > Correlates with the first one; "managesieve" If everything except process and binary name is now "sieve", and %s expands to "sieve" in auth process also, I'd say this is

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Mon, May 31 2010, Julien Danjou wrote: > My bad, Timo. It does work on some mailboxes actually. > > It seems I've some mailbox (even in the same directory) that are > different and where it does not work, but I don't know why yet. Answer is that I missed the `dovecot-shared' files in the direc

Re: [Dovecot] Dovecot 2.0beta4 HG 11189: dovecot-uidvalidity warning with mdbox mailboxes

2010-05-31 Thread Timo Sirainen
On la, 2010-04-24 at 14:45 +0200, Thomas Leuxner wrote: > Apr 24 14:35:09 spectre dovecot: imap(t...@leuxner.net): > rename(/var/vmail/leuxner.net/tlx/mdbox/dovecot-uidvalidity, > /var/vmail/leuxner.net/tlx/mdbox/dovecot-uidvalidity) failed: No such file or > directory http://hg.dovecot.org/dov

Re: [Dovecot] dovecot-2.0-pigeonhole/ManageSieve: wrong service name

2010-05-31 Thread Stephan Bosch
Timo Sirainen wrote: Well, what parts should now be called managesieve and what parts sieve? There are at least: - process name (clearly managesieve) Yeah. - service name for auth lookups "sieve" as by the draft spec (page 12): `The service name specified by this protocol's profile

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Mon, May 31 2010, Timo Sirainen wrote: > Actually a side effect of that change is that it also changes > PERMANENTFLAGS. Dovecot's PERMANENTFLAGS handling is a bit stupid now I > guess. It either has all or nothing. My bad, Timo. It does work on some mailboxes actually. It seems I've some mai

Re: [Dovecot] mdbox: Cannot create subfolder called "dbox-Mails" (2.0beta5)

2010-05-31 Thread Timo Sirainen
On to, 2010-05-13 at 10:14 +0100, William Blunn wrote: > So this means we cannot create a mail subfolder whose name is "dbox-Mails"! Yes. That's why it's called dbox-Mails, it's unlikely people will want to try to create it :) > I concede that this eventuality may be unlikely, but when designing

Re: [Dovecot] Dovecot 2.0.beta5: dovecot-uidlist: Duplicate file entry at line X

2010-05-31 Thread Timo Sirainen
On to, 2010-05-20 at 14:26 +0200, Chris Laif wrote: > On Tue, May 18, 2010 at 6:47 PM, Chris Laif wrote: > > > > I'm using dovecot 2.0.beta5 (IMAP and LMTP+sieve) and I'm getting lots > > of errors like this: > > > > Warning: /data/mail/4567/Maildir/dovecot-uidlist: Duplicate file entry > > at lin

Re: [Dovecot] cur folder e-mails are not shown...

2010-05-31 Thread Gonzalo Aguilar Delgado
Mmmm. Will try again with other client... Strange because it happes after using mail for a while... Gonzalo Aguilar Delgado Consultor CRM - Ingeniero en Informática M. +34 607814276 El lun, 31-05-2010 a las 17:01 +0100, Timo S

Re: [Dovecot] Dovecot install problem

2010-05-31 Thread Charles Marcus
On 2010-05-31 12:00 PM, Timo Sirainen wrote: > On ma, 2010-05-31 at 11:57 -0400, Charles Marcus wrote: >> On 2010-05-31 11:36 AM, Timo Sirainen wrote: >>> On su, 2010-05-30 at 14:04 -0400, David wrote: passwd-file /var/mail/vhosts/.net/shadow: stat() failed: Permission denied >> >>> A

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Mon, May 31 2010, Timo Sirainen wrote: > Actually a side effect of that change is that it also changes > PERMANENTFLAGS. Dovecot's PERMANENTFLAGS handling is a bit stupid now I > guess. It either has all or nothing. I've tried the patch applying it on dovecot 1.2.11. Unfortunately, the mailbox

Re: [Dovecot] 1.2.11, mbox, new mail

2010-05-31 Thread Timo Sirainen
On pe, 2010-05-28 at 16:00 -0500, Stan Hoeppner wrote: > > If non-Dovecot MUAs modify mbox simultaneously (except appends by MDA > > are ok), Dovecot might not notice those changes immediately and it might > > log some errors sometimes. > > So it's the same caveat as with mbox_dirty_syncs = yes.

Re: [Dovecot] cur folder e-mails are not shown...

2010-05-31 Thread Timo Sirainen
On la, 2010-05-29 at 15:30 +0200, Gonzalo Aguilar Delgado wrote: > And about the command you said. There are lots! > ... > * 12337 FETCH (UID 12337 FLAGS (Junk) INTERNALDATE "29-May-2010 15:21:01 > +0200") > * 12338 FETCH (UID 12338 FLAGS () INTERNALDATE "29-May-2010 15:21:23 > +0200") .. So Dovec

Re: [Dovecot] Dovecot install problem

2010-05-31 Thread Timo Sirainen
On ma, 2010-05-31 at 11:57 -0400, Charles Marcus wrote: > On 2010-05-31 11:36 AM, Timo Sirainen wrote: > > On su, 2010-05-30 at 14:04 -0400, David wrote: > >> passwd-file /var/mail/vhosts/.net/shadow: stat() failed: > >> Permission denied > > > According to your dovecot -n output auth process

Re: [Dovecot] dovecot-2.0-pigeonhole/ManageSieve: wrong service name

2010-05-31 Thread Timo Sirainen
On su, 2010-05-30 at 10:12 +0200, Stephan Bosch wrote: > As we > have seen earlier, fully changing the protocol name from "managesieve" > to "sieve" is a bad idea, for one because it causes much confusion. > > Timo, can you take a look at this? Well, what parts should now be called managesieve

Re: [Dovecot] Dovecot install problem

2010-05-31 Thread Charles Marcus
On 2010-05-31 11:36 AM, Timo Sirainen wrote: > On su, 2010-05-30 at 14:04 -0400, David wrote: >> passwd-file /var/mail/vhosts/.net/shadow: stat() failed: >> Permission denied > According to your dovecot -n output auth process runs as root. ? I guess I'm blind Timo - how did you determine this

Re: [Dovecot] strange sieve situation

2010-05-31 Thread Timo Sirainen
On la, 2010-05-29 at 11:47 -0400, Andy Dills wrote: > That's the order they appeared in my logfile. I'm assuming they were all > sent to deliver at the same time, they all thought they needed to make the > directory, the one with msgid > 20100529070110.17a781b5...@mail-out02.xecu.net was able t

Re: [Dovecot] Dovecot install problem

2010-05-31 Thread David
I did a yum install and a yum update and that is what centos installed how do I get a newer version Sent from David's iPhone On May 31, 2010, at 11:23 AM, Charles Marcus Brokers.com> wrote: On 2010-05-30 2:04 PM, David wrote: Dovecot -n output # 1.0.7: /etc/dovecot.conf You really should

Re: [Dovecot] Dovecot install problem

2010-05-31 Thread Timo Sirainen
On su, 2010-05-30 at 14:04 -0400, David wrote: > passwd-file /var/mail/vhosts/.net/shadow: stat() failed: Permission > denied According to your dovecot -n output auth process runs as root. So this can only mean that SELinux disallows reading the file.

Re: [Dovecot] Dovecot install problem

2010-05-31 Thread Charles Marcus
On 2010-05-30 2:04 PM, David wrote: > Dovecot -n output > # 1.0.7: /etc/dovecot.conf You really should upgrade, especially if you're just starting out... 1.0.7 is really, really really old, current is 1.2.11, and 2.0 is now in beta - way too many improvements to go into, just do it. > socket: >

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Timo Sirainen
On ma, 2010-05-31 at 05:02 -0700, Brandon Davidson wrote: > > So instead of having separate proxies and mail servers, have only hybrids > > everywhere? I guess it would almost work, except proxy_maybe isn't yet > > compatible with director. That's actually a bit annoying to implement.. You > > coul

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Timo Sirainen
On ma, 2010-05-31 at 13:26 +0200, Julien Danjou wrote: > > I think the main bug is that maildir is thought to be read-only. IMAP > > ACL RFC says READ-ONLY shouldn't be returned unless nothing can be > > changed. Does this help? > > http://hg.dovecot.org/dovecot-1.2/rev/c2c1639b91ee > > It will no

Re: [Dovecot] Unresolved client rejection

2010-05-31 Thread Timo Sirainen
On ma, 2010-05-31 at 13:02 +0300, Greg Pearson wrote: > would it be possible to prevent users who try to login from an > unresolved IP from connecting to Dovecot IMAP? Sounds like a bad idea. There are legitimate users sometimes connecting from IPs that don't have DNS names. And sometimes DNS is

Re: [Dovecot] A new director service in v2.0 for NFS installations

2010-05-31 Thread Brandon Davidson
Timo, After straightening out some issues with Axel's spec file, I'm back to poking at this. On 5/25/10 3:14 PM, "Timo Sirainen" wrote: > So instead of having separate proxies and mail servers, have only hybrids > everywhere? I guess it would almost work, except proxy_maybe isn't yet > compatibl

Re: [Dovecot] Dovecot and Apples Mail.app

2010-05-31 Thread Gerhard Waldemair
thanks for your answer. There is only 1 Account in Mail.app I have imigratet from Courier and there I had no Problem with all the settings. Is it possible that the index file is damaged or something like that ? Gerhard Am 28.05.10 17:56, schrieb Timo Sirainen: > > On Thu, 2010-05-27 at 10:

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Tue, May 25 2010, Timo Sirainen wrote: > On Thu, 2010-05-20 at 16:44 +0200, Julien Danjou wrote: > >> However, when selecting the mailbox, system flags are not announced as >> permanent but only as session flags: > > Yeah, that's a bug I guess.. > >> 3445 OK [READ-ONLY] Select completed. > .. >

[Dovecot] Unresolved client rejection

2010-05-31 Thread Greg Pearson
Hi, would it be possible to prevent users who try to login from an unresolved IP from connecting to Dovecot IMAP? I have a suspicion that it should be done via the authentication module (ie PAM) but I am not sure (if this is the case could someone recommend a good resource or even a solution).

[Dovecot] master users with dovecot2 braek down to allowed domain

2010-05-31 Thread Robert Schetterer
Hi, i think ive asked it before perhaps this feature can be included in dovecot2 couldnt get it run with dovecot 1.2.x if i use the postfixadmin superuser,domainadmin,domainuser layout so there are domainadmins defined in a sql table it would be a nice feature to break it down to be master only a

[Dovecot] imap folder aliases for different mail clients naming convention

2010-05-31 Thread Robert Schetterer
Hi, sorry if this was asked before and/or if there is allready a solution different imap mail clients, have different imap folder naming conventions typical by sent , trash, spam i normally use thunderbird conventions, as its working on all major plattforms and configure hord/imp , squirrelmail to

Re: [Dovecot] delete messages after sa-learn

2010-05-31 Thread Florian Effenberger
Hi, 2010/5/30 Andrzej Adam Filip : > It depends on what you want: > a) dirty&ugly but *trivial* "hack" serving your very specific >   requirement that can "make troubles" after some change in >   pattern of use > b) simple solution well, I don't see a real difference. As far as I know, and as Ti