From owner-freebsd-ports@FreeBSD.ORG Thu Jan 8 23:30:18 2009 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 973C910657EB for ; Thu, 8 Jan 2009 23:30:18 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 54A2E8FC20 for ; Thu, 8 Jan 2009 23:30:18 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by postfix1-g20.free.fr (Postfix) with ESMTP id CA7D12F9BC73 for ; Thu, 8 Jan 2009 23:56:40 +0100 (CET) Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 25E434C8089; Thu, 8 Jan 2009 23:56:34 +0100 (CET) Received: from stgebois-1-82-227-32-26.fbx.proxad.net (sge91-2-82-227-32-26.fbx.proxad.net [82.227.32.26]) by smtp4-g21.free.fr (Postfix) with ESMTP id 174D34C808E; Thu, 8 Jan 2009 23:56:32 +0100 (CET) Received: by stgebois-1-82-227-32-26.fbx.proxad.net (Postfix, from userid 1000) id D9E56DB3D1; Thu, 8 Jan 2009 23:56:30 +0100 (CET) From: Michel Talon To: Mark Linimon , freebsd-ports@freebsd.org Date: Thu, 8 Jan 2009 23:56:30 +0100 User-Agent: KMail/1.9.6 References: <20090108164810.GA43169@lpthe.jussieu.fr> <20090108170203.GA17130@soaustin.net> In-Reply-To: <20090108170203.GA17130@soaustin.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200901082356.30409.talon@lpthe.jussieu.fr> Cc: Subject: Re: DragonFlyBSD mail agent 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: Thu, 08 Jan 2009 23:30:20 -0000 Le jeudi 08 janvier 2009, vous avez =E9crit=A0: > On Thu, Jan 08, 2009 at 05:48:10PM +0100, Michel Talon wrote: > > This mail agent doesn't offer anything compelling compared to sendmail, > > only it is much smaller and presumably more secure. > > I have previously seen it advocated for base as an alternative for > systems that e.g. only need to send cronmail. > > mcl I am using DragonFly mail agent on some jails since a few months and it wor= ks=20 OK. Hence dma.tgz compiles out of the box and works as advertised on FreeBS= D. I can give some information on the configuration: this shows the simplicity= of the configuration file. jail1% cat /etc/dma/dma.conf # $DragonFly: src/etc/dma/dma.conf,v 1.2 2008-02-04 10:11:41 matthias Exp $ # # Your smarthost (also called relayhost). Leave blank if you don't want # smarthost support. Here i take the base host as smarthost SMARTHOST niobe # Use this SMTP port. Most users will be fine with the default (25) PORT 25 # Path to your alias file. Note it reads aliases, not aliases.db. Same fil= e =20 # as sendmail aliases. ALIASES /etc/mail/aliases # Path to your spooldir. Just stay with the default. SPOOLDIR /var/spool/dma # Path to your virtual user file. Just stay with the default. VIRTPATH /etc/dma/virtusertable To deliver local mail it seems that dma needs to be suid root: jail1% ls -l /usr/libexec/sendmail/dma =2Dr-sr-sr-x 1 root mail 42904 Aug 20 00:45 /usr/libexec/sendmail/dma The spool directory is drwxrwxr-x 2 root mail 2 Jan 8 03:05 dma