Re: [Dovecot] Managesieve patch for Dovecot v1.2.10 on Dovecot v1.2.11

2010-03-19 Thread Michael Orlitzky
On 03/18/10 01:39, Andreas Schulze wrote: Am 17.03.2010 17:45 schrieb Ivica Glavocic: Can i use Managesieve patch for Dovecot v1.2.10 on new Dovecot version v1.2.11 at least: it compiles ;-) I will try these days http://dovecot.markmail.org/thread/dcwt26hciua55cz4

Re: [Dovecot] Sendmail + deliver; silent errors.

2010-03-19 Thread Daryl Tester
Timo Sirainen wrote: [Sendmail mailer arguments] Change the last line ("Argv") to A=/opt/dovecot-1.2.9/libexec/dovecot/deliver -d $u ... Well, at least I updated the wiki now so that future people won't have this problem. :) To be fair, this was only a problem because I setuid'd the bina

Re: [Dovecot] Post Login Script in 2.0

2010-03-19 Thread Mark Moseley
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.org/list/dovecot/2009-December/045139.html Awesome, thanks! I'

Re: [Dovecot] Post Login Script in 2.0

2010-03-19 Thread Timo Sirainen
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.org/list/dovecot/2009-December/045139.html

[Dovecot] Post Login Script in 2.0

2010-03-19 Thread Mark Moseley
Been digging through the list archives but I didn't see anything about this specifically. I've been playing with trying to get the post-login script stuff working with 2.0 (tried with a mercurial checkout from today and one I had kicking around from a few days ago), mainly to run the courier conver

Re: [Dovecot] Shared mailboxes basics

2010-03-19 Thread Timo Sirainen
On Fri, 2010-03-19 at 22:14 +0100, Thomas Hummel wrote: > Get it. So I guess the recommended method to "make the share mailboxes > visible" > is to talk IMAP (through telnet for instance) and not trying to suppose > anything about the shared-mailbox file format and try to hack it directly, > righ

Re: [Dovecot] Shared mailboxes basics

2010-03-19 Thread Timo Sirainen
On Fri, 2010-03-19 at 22:09 +0100, Thomas Hummel wrote: > On Fri, Mar 19, 2010 at 09:11:32PM +0200, Timo Sirainen wrote: > > Thanks for your answer Timo. > > > > a) I wonder if TB even support the SETACL command since I don't see how I > > > can > > >modify an ACL through the TB UI. > > > >

Re: [Dovecot] Shared mailboxes basics

2010-03-19 Thread Thomas Hummel
On Fri, Mar 19, 2010 at 09:11:32PM +0200, Timo Sirainen wrote: > Yes, because SETACL updates also the shared-mailbox file, which contains > information about what mailboxes are visible to who. Without that, > Dovecot would have to look through all users all mailboxes to see if > there happens to b

Re: [Dovecot] Shared mailboxes basics

2010-03-19 Thread Thomas Hummel
On Fri, Mar 19, 2010 at 09:11:32PM +0200, Timo Sirainen wrote: Thanks for your answer Timo. > > a) I wonder if TB even support the SETACL command since I don't see how I > > can > >modify an ACL through the TB UI. > > It doesn't. Ouch! What known UA does support it ? What's the point of

Re: [Dovecot] problem with master db and dovecot-2.0.beta3

2010-03-19 Thread Timo Sirainen
On Wed, 2010-03-17 at 12:34 +0100, Oliver Eales wrote: > Mar 17 12:06:50 auth: Info: passdb(masteru...@vodafone.de,::1,master): > Attempted master login with no master passdbs (trying to log in as user: > 10...@vodafone.de) Fixed that too now, and actually tested that it works. :) signa

Re: [Dovecot] Sendmail + deliver; silent errors.

2010-03-19 Thread Timo Sirainen
On Fri, 2010-03-19 at 21:48 +1030, Daryl Tester wrote: > > Mdovecot, P=/opt/dovecot-1.2.9/libexec/dovecot/deliver, F=lADFMPhnu9, > > S=EnvFromL/HdrFromL, R=EnvToL/HdrFromL, > > T=DNS/RFC822/X-Unix, > > A=deliver -d $u > > Change the last line ("Arg

Re: [Dovecot] Shared mailboxes basics

2010-03-19 Thread Timo Sirainen
On Fri, 2010-03-19 at 17:27 +0100, Thomas Hummel wrote: > a) I wonder if TB even support the SETACL command since I don't see how I can >modify an ACL through the TB UI. It doesn't. > b) For things to work, I had to set up loose permissions on the maildirs and > the shared-mailbox file. I've

Re: [Dovecot] Triggering mailbox fetch

2010-03-19 Thread Odhiambo Washington
On Fri, Mar 19, 2010 at 7:21 PM, Brian Candler wrote: > On Fri, Mar 19, 2010 at 06:15:20PM +0200, Timo Sirainen wrote: > > > In courier-imap I could create a '.loginexec' file which is executed > when > > > the user logs in, and gets deleted if it completes successfully. I'm > trying > > > to fi

Re: [Dovecot] Problem with quota recreation

2010-03-19 Thread Uroš Gruber
Hi, I'm refering to current usage not limits. Here is my quota-sql config user_query = \ SELECT '/var/vmail/%d/%n' as home, 'dict:user::proxy::quota' AS quota, concat('*:storage=', quotaLimit,'M') AS quota_rule \ FROM mailAccount WHERE username = '%u' AND domain = '%d' AND isLocked = FALSE a

Re: [Dovecot] Shared mailboxes basics

2010-03-19 Thread Thomas Hummel
On Thu, Mar 18, 2010 at 05:50:44PM +0100, Thomas Hummel wrote: > But isn't a client like Thunderbird (3.0.3) supposed to > > . show me the #shared (even if no one shares mailboxes to me) "folder" > (because of list = yes )? > > . let me share, let's say the .sous.arbo mailbox ? If yes, how

[Dovecot] ACL + shared-imap + nested AD groups

2010-03-19 Thread Martin Ott
Hi, I'm looking for a solution to use nested AD groups for authorization in shared-imap folders(namespace public). As a simple hack to determine the (primary) groups of a user we use the following setup with a post-login script: in dovecot.conf ... protocol imap { mail_executable = /etc/dovecot/

Re: [Dovecot] Triggering mailbox fetch

2010-03-19 Thread Brian Candler
On Fri, Mar 19, 2010 at 06:15:20PM +0200, Timo Sirainen wrote: > > In courier-imap I could create a '.loginexec' file which is executed when > > the user logs in, and gets deleted if it completes successfully. I'm trying > > to find something similar for Dovecot. > > How about: http://wiki.doveco

Re: [Dovecot] Triggering mailbox fetch

2010-03-19 Thread Timo Sirainen
On Fri, 2010-03-19 at 16:02 +, Brian Candler wrote: > In courier-imap I could create a '.loginexec' file which is executed when > the user logs in, and gets deleted if it completes successfully. I'm trying > to find something similar for Dovecot. How about: http://wiki.dovecot.org/PostLoginS

[Dovecot] Triggering mailbox fetch

2010-03-19 Thread Brian Candler
Greetings, I would like to migrate mailboxes into a Dovecot system by using an IMAP transfer from the old system - and I'd like this to take place automatically at the time the user first logs into the new system. I have a script which will perform an IMAP fetch and dump it into the local maildir

Re: [Dovecot] Problem with quota recreation

2010-03-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Mar 2010, Uroš Gruber wrote: only problem is when i migrate mailbox from cyrus to dovecot and when bytes and messages is set to 0. I tried with x GETQUOTAROOT Inbox but the quota usage is not recalculated and when a new message is delive

Re: [Dovecot] Sendmail + deliver; silent errors.

2010-03-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Mar 2010, Daryl Tester wrote: I can't believe I've spent most of an afternoon on this. Well, there are things worse :-) Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS6OGLL+V

[Dovecot] Problem with quota recreation

2010-03-19 Thread Uroš Gruber
Hi, I'm migrating from cyrus to dovecot 1.2.10 with cyrus2dovecot. I've setup quota with mysql dict and while testing delivery quota is working fine. The only problem is when i migrate mailbox from cyrus to dovecot and when bytes and messages is set to 0. I tried with x GETQUOTAROOT Inbox but the

Re: [Dovecot] Sendmail + deliver; silent errors.

2010-03-19 Thread Daryl Tester
Daryl Tester wrote: When sendmail attempts delivery, I'm getting "deferred: deliver failed with EX_TEMP", but nothing recorded in the log files. Gnargh, found it. After adding an freopen() to deliver to capture stderr (because sendmail sure as heck wasn't), deliver was reporting "stat(deliver

[Dovecot] configure dovecot to read-only ?

2010-03-19 Thread Frank Gadegast
Hi, I like to configure the use of IMAP to read-only on a special backup system. Users should only be able to read archived email, they should not be able to create folders or delete email. I know how to configure user- or folder-specific acls, but it seems to be a bit complicated to setup a

Re: [Dovecot] Sendmail + deliver; silent errors.

2010-03-19 Thread Daryl Tester
Steffen Kaiser wrote: You are using system users? I believe so. Running delivery from the command line as the sendmail user works as it should. *) The setuid users listed in the wiki kept result in setgid() What setuid users? Sorry, I typed a little hastily. "setuid user's configurat

Re: [Dovecot] 2.0beta3 10876:370ee9717a6c broke listen on literal IPv6 address

2010-03-19 Thread Bernhard Schmidt
Timo Sirainen wrote: > On Wed, 2010-03-10 at 18:01 +0100, Bernhard Schmidt wrote: >> mail.svr02.mucip.net:~# dovecot -F -c /etc/dovecot/dovecot.conf >> doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:29:=20 >> listen=3D..:port has been replaced by service { inet_listener { port }

Re: [Dovecot] Sendmail + deliver; silent errors.

2010-03-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Mar 2010, Daryl Tester wrote: You are using system users? *) The setuid users listed in the wiki kept result in setgid() What setuid users? failures from deliver, so I've changed it to root:mail (mail being sendmail's MDA group), wi