From owner-freebsd-ports@freebsd.org Tue Dec 20 22:45:48 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD7DEC8180D for ; Tue, 20 Dec 2016 22:45:48 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "neonpark.inter-sonic.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94E051BB for ; Tue, 20 Dec 2016 22:45:48 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at Intersonic AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intersonic.se; s=INTERSONICSE; t=1482273946; bh=j2b+QmA9DANbv+YJRugQkYyWig2LQuMBfDx1Ij0mXfg=; h=Subject:To:References:From:Date:In-Reply-To; b=UdMpcSehIe7UVgXWLYJ/TNsgJTKRve27xaDrKH3RF+DjkYzJNNGWZ7/Zc5cBoKOvj 0nmDiy/6pCM0mNhiosVZvcjIEDb1VzNpgqT+bD1ImI8gz+FA6CbuWO20An38w9Jr+T mOnIgPlayoKMvX4QQbTl6ZTskUII6czvhLKIdou0= Subject: Re: Cyrus IMAP in a jail anyone? To: freebsd-ports@freebsd.org References: From: Per olof Ljungmark Organization: Intersonic AB Message-ID: <5c684036-b421-46e0-e514-42174b38a743@intersonic.se> Date: Tue, 20 Dec 2016 23:45:43 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 22:45:48 -0000 On 2016-12-20 21:45, Per olof Ljungmark wrote: > Hi, > > I'm facing a peculiar problem with two Cyrus instances both running > 11.STABLE jails. Using the sync feature I am able to replicate the > mailboxes but syncing sieve scripts does not work: > > On the sending side(sync_client): > > <1482265840 sync_client[72614]: SIEVE received NO response: System I/O error > Error from do_user(tester): bailing out! > sync_client[72614]: Error in do_user(tester): bailing out! > > and on the receiving end: > > syncserver[39165]: IOERROR: creating directory /data: Permission denied > > It occurs when the compiled sieve script attempts transfer. > > Now, the only place where a "/data" exists is on the sending host > system, it is the root dir of the jails, so, is there any way that the > jailed Cyrus can learn this? Anyone succesfully running a similar conig > jailed? > It was me as usual, sorry for the noise. At least it gave me an opportunity to start using dtrace, thank you to the FreeBSD team for this!