From owner-freebsd-ports@FreeBSD.ORG Mon Sep 24 14:39:09 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0549016A41A for ; Mon, 24 Sep 2007 14:39:09 +0000 (UTC) (envelope-from ml@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.freebsd.org (Postfix) with ESMTP id C9F1A13C44B for ; Mon, 24 Sep 2007 14:39:07 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu ([151.77.249.18]) (authenticated bits=128) by parrot.aev.net (8.14.1/8.13.8) with ESMTP id l8OEewqO052535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 24 Sep 2007 16:41:04 +0200 (CEST) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.1/8.13.8) with ESMTP id l8OEeNMQ019781; Mon, 24 Sep 2007 16:40:23 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <46F7CBFE.9080304@netfence.it> Date: Mon, 24 Sep 2007 16:38:54 +0200 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: Matthew Seaman References: <46F52222.8040503@netfence.it> <46F5324A.3030509@infracaninophile.co.uk> In-Reply-To: <46F5324A.3030509@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 212.31.247.179 Cc: freebsd-ports@freebsd.org Subject: Re: sendmal + cyrus imap + ckuser X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 14:39:09 -0000 Matthew Seaman ha scritto: > This isn't really a question for freebsd-ports, but... Sorry! I thought that, since ckuser is not part of sendmail or cyrusimap, but is in the sendmail port, this would possibly be a good place. Where should I post instead? > The way to do this is to configure the cyrus smmapd to listen on > a network port -- something like this in /usr/local/etc/cyrus.conf > > # Sendmail socket map daemon > smmapd cmd="smmapd" listen="192.168.1.1:smmap" prefork=1 > smmapdunix cmd="smmapd" listen="/var/imap/socket/smmapd" prefork=1 This I've already done. > Then you can tell your 2ary sendmails to use that to check for > mailbox existence and quota availability -- in /etc/mail/`hostname`.mc: > > FEATURE(`ckuser_cyrus', `inet:smmap@your.mail.server')dnl Did this too; first time I restarted sendmail, I read: sm-mta: NOQUEUE: SYSERR(root): No local mailer defined sm-mta: NOQUEUE: SYSERR(root): QueueDirectory (Q) option must be set I checked everything again and restarted; now I get no errors, but the above line does nothing; everything still works as before with incoming mail accepted and forwarded to the primary MX, then bounced back. > Oh, and I'd be wary of exposing the smmapd port on the internet: > either arrange for your 1ary and 2ary mailers to have a private > back-end network they can communicate on This is my case. > Making your 2ary machines speak LMTP to cyrus on your mail box server > involves very similar tweaks. You'll need something like this in your > .mc file: > > define(`confLOCAL_MAILER', `cyrusv2')dnl > define(`CYRUSV2_MAILER_ARGS', `TCP your.mail.server lmtp')dnl I'll try this, if I can't get the above to work. bye & Thanks av.