Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian

2010-03-22 Thread Stan Hoeppner
Papp Tamas put forth on 3/22/2010 9:18 AM: > On Mon, Mar 22, 2010 at 03:07:26PM +0300, Proskurin Kirill wrote: >> Hello! >> >> I think about migrate from FreeBSD to Linux because I need DRBD for >> clustering. "Need?" There are many paths to high availability, DRDB is but one. You could stick wi

[Dovecot] Dovecot Antispam - Unable to determine the runtime user

2010-03-22 Thread lodan
Hi all, I have a small problem with the dovecot-antispam plugin. When I try to move a message to my spam folder, I have this error: IMAP4> 149 UID COPY 15 SPAM IMAP4< 149 NO [CANNOT] Failed to call dspam And in the server log file: mail dspam[12339]: Unable to determine the runtime user I'm

Re: [Dovecot] v2.0.beta4 released

2010-03-22 Thread Thomas Leuxner
Am 22.03.2010 um 10:42 schrieb Timo Sirainen: >> --exec-mail is no longer needed. If you want for example start a imap >> session, just enter the command: /usr/local/libexec/dovecot/imap >> And you will see: >> * PREAUTH [CAPABILITY IMAP4rev1 … Logged in as $USER > > Right. Although now that you

Re: [Dovecot] Post Login Script in 2.0

2010-03-22 Thread Mark Moseley
On Fri, Mar 19, 2010 at 6:02 PM, Mark Moseley wrote: > On Fri, Mar 19, 2010 at 5:58 PM, Timo Sirainen wrote: >> On 20.3.2010, at 2.54, Mark Moseley wrote: >> >>> Been digging through the list archives but I didn't see anything about >>> this specifically. >> >> There is actually: http://dovecot.o

Re: [Dovecot] 2.0.beta3 imapd running hot

2010-03-22 Thread Bernhard Schmidt
On 21.03.2010 15:17, Timo Sirainen wrote: Hi, strace -p shows a repeating pattern of epoll_wait(8, {{EPOLLOUT, {u32=36560672, u64=36560672}}}, 5, 4872) = 1 gettimeofday({1269133967, 495298}, NULL) = 0 gettimeofday({1269133967, 495333}, NULL) = 0 gettimeofday({1269133967, 495370}, NULL) = 0

Re: [Dovecot] mbox + bzip2 +dovecot = crash?

2010-03-22 Thread Timo Sirainen
On Mon, 2010-03-22 at 18:24 +0200, Timo Sirainen wrote: > On Mon, 2010-03-22 at 17:12 +0100, Kamil Jońca wrote: > > I have some archived mails in compressed (by bzip2) mboxes and I would > > like to read them via imap Unfortunately it looks like dovecot > > crashes when tries to read them :( >

Re: [Dovecot] mbox + bzip2 +dovecot = crash?

2010-03-22 Thread Timo Sirainen
On Mon, 2010-03-22 at 17:12 +0100, Kamil Jońca wrote: > I have some archived mails in compressed (by bzip2) mboxes and I would > like to read them via imap Unfortunately it looks like dovecot > crashes when tries to read them :( Yeah, bzip2 support is broken in v1.x. Fixing it required a larger

[Dovecot] mbox + bzip2 +dovecot = crash?

2010-03-22 Thread Kamil Jońca
I have some archived mails in compressed (by bzip2) mboxes and I would like to read them via imap Unfortunately it looks like dovecot crashes when tries to read them :( #v+ kjo...@alfa:~/Mail/Old/Junk%sudo /usr/sbin/dovecot -n [sudo] password for kjonca: # 1.2.11: /etc/do

Re: [Dovecot] dovecot-2.0.beta4 mysql support in Solaris

2010-03-22 Thread Tomi Vainio
On 22/03/10 16:13, Timo Sirainen wrote: On Mon, 2010-03-22 at 16:07 +0200, Tomi Vainio wrote: "driver-mysql.c", line 139: undefined symbol: CLIENT_MULTI_RESULTS "driver-mysql.c", line 448: warning: implicit function declaration: mysql_next_result http://hg.dovecot.org/dovecot-2.0/rev/9aa10761

Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian

2010-03-22 Thread Papp Tamas
On Mon, Mar 22, 2010 at 03:07:26PM +0300, Proskurin Kirill wrote: > Hello! > > I think about migrate from FreeBSD to Linux because I need DRBD for > clustering. > > I want to use Debian Lenny but run on some problems. > > I want near latest Dovecot packages. Native repos are too old. Backports

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Thomas Hummel
On Mon, Mar 22, 2010 at 03:59:02PM +0200, Timo Sirainen wrote: > Yes. Ok, I was complicating things then : I was using the "system_groups_user" extra-field and a secondary "doveshared" unix group. But the question now is when to use mail_extra_groups and when to use the "system_groups_user" extr

Re: [Dovecot] dovecot-2.0.beta4 mysql support in Solaris

2010-03-22 Thread Timo Sirainen
On Mon, 2010-03-22 at 16:07 +0200, Tomi Vainio wrote: > "driver-mysql.c", line 139: undefined symbol: CLIENT_MULTI_RESULTS > "driver-mysql.c", line 448: warning: implicit function declaration: > mysql_next_result http://hg.dovecot.org/dovecot-2.0/rev/9aa107613324 helps I guess? signature.asc

[Dovecot] dovecot-2.0.beta4 mysql support in Solaris

2010-03-22 Thread Tomi Vainio
Hi, I've been able to configure --with-mysql in Solaris 10 which has MySQL version 4.0.31 bundled in. Since beta4 build fails due to change in src/lib-sql/driver-mysql.c. I've never used this feature but so I don't need it. This is just a FYI if someone reads mailing list. "driver-mysql.c

Re: [Dovecot] dovecot-2.0.beta3 tcpwrapper support in Solaris

2010-03-22 Thread Tomi Vainio
On 16/03/10 17:16, Timo Sirainen wrote: On Thu, 2010-02-25 at 13:30 +0200, Tomi Vainio wrote: Hi, 2.0 compiles fine in Solaris but and I've found only one glitch so far. Tcpwapper support needs some tweaks. I need to add CPPFLAGS=/usr/sfw/include because tcpd.h is in there. Then also LDFL

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Timo Sirainen
On Mon, 2010-03-22 at 14:56 +0100, Thomas Hummel wrote: > So basically, independently of ACL groups, the idea is to > > . chgrp all maildirs to some unix group (doveshared) > > . chmod 0770 those maildirs > > . add that group to mail_extra_groups > > . so dovecot would be able to acces

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Thomas Hummel
On Mon, Mar 22, 2010 at 03:40:23PM +0200, Timo Sirainen wrote: > On Mon, 2010-03-22 at 14:34 +0100, Thomas Hummel wrote: > > > You lost me again : what's the use of the userdb " acl_groups" extra-field > > then ? > > That only adds user to given ACL groups for ACL plugin's checks. ACL > plugin d

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Timo Sirainen
On Mon, 2010-03-22 at 14:34 +0100, Thomas Hummel wrote: > You lost me again : what's the use of the userdb " acl_groups" extra-field > then ? That only adds user to given ACL groups for ACL plugin's checks. ACL plugin deals only with virtual permissions, acl_groups has nothing to do with filesys

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Mar 2010, Thomas Hummel wrote: On Mon, Mar 22, 2010 at 02:47:45PM +0200, Timo Sirainen wrote: Do you mean your maildirs are all in 0770 doveshared ? But it still gives too much permission in general...Especially if your users can acces

[Dovecot] shared mailboxes, mkdir_parents problem

2010-03-22 Thread Leo Unglaub
Hi Friends, i have a little problem with my Dovecot installation. The normal installation works very well and now i have to configurate dovecot that all member from a domain can access all mailboxes from this domain. I configurate the shared namespace and set the IMAP ACL Flag but i can't abone

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Thomas Hummel
On Mon, Mar 22, 2010 at 02:47:45PM +0200, Timo Sirainen wrote: > > Do you mean your maildirs are all in 0770 doveshared ? But it still > > gives too much permission in general...Especially if your users can access > > their mailboxes outside of IMAP (NFS, CIFS, ...). How do you deal with that >

[Dovecot] Debian Unstable Packages

2010-03-22 Thread Sabahattin Gucukoglu
Hi all, Speaking of Debian, what relative position are the Debian Unstable (Sid) packages in to the latest "Bleeding edge" builds of RCS-based releases from the Wiki? If using Unstable is it recommended to stay or use the newer ones? I'd say it was production, yes, but I'm forgiving of proble

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Mar 2010, Timo Sirainen wrote: their mailboxes outside of IMAP (NFS, CIFS, ...). How do you deal with that ? I don't have any other access than IMAP. You don't need to put all users into doveshared group. You just need to set mail_ex

Re: [Dovecot] Dovecot 1.2.11 renames Maildir filenames on first read of foreign POPstore - how to avoid

2010-03-22 Thread Timo Sirainen
On Mon, 2010-03-22 at 13:22 +0100, Steffen Kaiser wrote: > On Mon, 22 Mar 2010, Sam C. Nicholson !! wrote: > > > msg.:mm:dd:hh:mm:ss.random > ^ at the colon teh file stem, aka UID ends in Maildir > so no luck with standard backends, I guess Yes, you definitely need to ch

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Timo Sirainen
On Mon, 2010-03-22 at 11:05 +0100, Thomas Hummel wrote: > On Mon, Mar 22, 2010 at 10:25:45AM +0100, Steffen Kaiser wrote: > > > My idea was to put everybody sharing folders and everybody, who may access > > shared folders, into the same group "doveshared", then leverage the > > Unix permissions

Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian [SOLVED]

2010-03-22 Thread Proskurin Kirill
On 03/22/2010 03:23 PM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Mar 2010, Proskurin Kirill wrote: What Debian folk`s do in this situation? I install from source. Not Debian way at all. Make package from source - may be. > Yes, looks like you got some

Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian

2010-03-22 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Mar 2010, Proskurin Kirill wrote: What Debian folk`s do in this situation? I install from source. Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS6dhMb+Vh58GPL/cAQK+HAf8CaFgm6s9

Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian

2010-03-22 Thread Pascal Volk
On 03/22/2010 01:07 PM Proskurin Kirill wrote: > … > I want to use Debian Lenny but run on some problems. > > I want near latest Dovecot packages. Native repos are too old. Backports > seems to don`t have a Sieve&Managesieve support and we need it(am I > wrong?). Stephan Bosch auto packeges is n

Re: [Dovecot] Dovecot 1.2.11 renames Maildir filenames on first read of foreign POPstore - how to avoid

2010-03-22 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Mar 2010, Sam C. Nicholson !! wrote: msg.:mm:dd:hh:mm:ss.random ^ at the colon teh file stem, aka UID ends in Maildir so no luck with standard backends, I guess Regards, - -- Steffen Kaiser -BEGIN PGP

[Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian

2010-03-22 Thread Proskurin Kirill
Hello! I think about migrate from FreeBSD to Linux because I need DRBD for clustering. I want to use Debian Lenny but run on some problems. I want near latest Dovecot packages. Native repos are too old. Backports seems to don`t have a Sieve&Managesieve support and we need it(am I wrong?). S

[Dovecot] Dovecot 1.2.11 renames Maildir filenames on first read of foreign POPstore - how to avoid

2010-03-22 Thread Sam C. Nicholson !!
Greetings, I'm converting from a custom POPstore ( > 100,000 messages) which is Maildir-like and uses the filename as the UIDL and doesn't store it inside the message. I'm wondering whether there is hope for config-file options to keep devecot from renaming files when it first sees them, or

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Thomas Hummel
On Mon, Mar 22, 2010 at 11:51:26AM +0200, Timo Sirainen wrote: > > My idea was to put everybody sharing folders and everybody, who may access > > shared folders, into the same group "doveshared", then leverage the Unix > > permissions, that this group may access the folders. So I do not need to us

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Thomas Hummel
On Mon, Mar 22, 2010 at 10:25:45AM +0100, Steffen Kaiser wrote: > My idea was to put everybody sharing folders and everybody, who may access > shared folders, into the same group "doveshared", then leverage the > Unix permissions, that this group may access the folders. So I do not need > to us

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Timo Sirainen
On 22.3.2010, at 11.25, Steffen Kaiser wrote: > On Fri, 19 Mar 2010, Thomas Hummel wrote: > >> Ok, but I still don't quite get it : if you use the same UID, doesn't this >> somehow equates giving something like 777 modes in the system user case ? (I >> mean on an OS level, problems related to suc

Re: [Dovecot] v2.0.beta4 released

2010-03-22 Thread Timo Sirainen
On 22.3.2010, at 10.48, Pascal Volk wrote: > On 03/22/2010 09:37 AM Thomas Leuxner wrote: >> Hi, >> >> when you say feature complete, has the "--exec-mail" option been dropped? > > --exec-mail is no longer needed. If you want for example start a imap > session, just enter the command: /usr/local

Re: [Dovecot] configure dovecot to read-only ?

2010-03-22 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Mar 2010, Frank Gadegast wrote: Users should only be able to read archived email, they should not be able to create folders or delete email. As far as I know there is no global default ACL for folders. E.g.: http://wiki.dovecot.org/ACL

Re: [Dovecot] Shared mailboxes basics

2010-03-22 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Mar 2010, Thomas Hummel wrote: Ok, but I still don't quite get it : if you use the same UID, doesn't this somehow equates giving something like 777 modes in the system user case ? (I mean on an OS level, problems related to such loose per

Re: [Dovecot] v2.0.beta4 released

2010-03-22 Thread Thomas Leuxner
On Mon, Mar 22, 2010 at 09:48:21AM +0100, Pascal Volk wrote: > --exec-mail is no longer needed. If you want for example start a imap > session, just enter the command: /usr/local/libexec/dovecot/imap > And you will see: > * PREAUTH [CAPABILITY IMAP4rev1 … Logged in as $USER Fair enough, thanks :)

Re: [Dovecot] v2.0.beta4 released

2010-03-22 Thread Pascal Volk
On 03/22/2010 09:37 AM Thomas Leuxner wrote: > Hi, > > when you say feature complete, has the "--exec-mail" option been dropped? --exec-mail is no longer needed. If you want for example start a imap session, just enter the command: /usr/local/libexec/dovecot/imap And you will see: * PREAUTH [CAPA

Re: [Dovecot] v2.0.beta4 released

2010-03-22 Thread Thomas Leuxner
On Mon, Mar 22, 2010 at 02:11:35AM +0200, Timo Sirainen wrote: > I think this release is finally feature complete. There are still some > bugs left to be fixed, but it's mainly in the dsync/mdbox area. v2.0.rc1 > should hopefully be out in a couple of weeks. After that v2.0.0 will be > released af