From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 17:40:46 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9589D106566B; Fri, 24 Oct 2008 17:40:46 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mail-gw5.njit.edu (mail-gw5.njit.edu [128.235.251.152]) by mx1.freebsd.org (Postfix) with ESMTP id 5793A8FC0C; Fri, 24 Oct 2008 17:40:46 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from gilgamesh.maestro (dhcp114-134.njit.edu [128.235.114.134]) by mail-gw5.njit.edu (8.13.8/8.13.8) with ESMTP id m9OH2Qff016578; Fri, 24 Oct 2008 13:02:32 -0400 (EDT) Message-ID: <4901FFC1.9010308@wallnet.com> Date: Fri, 24 Oct 2008 13:02:57 -0400 From: Tim Kellers User-Agent: Thunderbird 2.0.0.9 (X11/20071217) MIME-Version: 1.0 To: Jeremy Chadwick References: <20081024155039.GA3285@ezekiel.daleco.biz> <20081024162914.GA2776@icarus.home.lan> In-Reply-To: <20081024162914.GA2776@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@FreeBSD.org Subject: Re: MTA on non-standard port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 17:40:46 -0000 Jeremy Chadwick wrote: > On Fri, Oct 24, 2008 at 10:50:39AM -0500, Kevin Kinsey wrote: > >> Hello, >> >> For various reasons, I find myself in need of an MTA >> accepting submission on a port other than 587 (or 25). >> >> It'd be Real Nice(tm) if sendmail could Just Do It, >> but I'd be willing to look at other options as well, >> as long as I can get a good spam solution to play nice >> with the server (currently I'm running dual-sendmail >> with Amavisd-new and spamassassin). >> >> Anyone doing such a thing, or have a few hints handy? >> > > It can do it. > > See the DAEMON_OPTIONS macro in your /etc/mail/hostname.mc file. > (Remember: DO NOT edit sendmail.cf directly). Here's a hint: > > http://www.sendmail.org/~gshapiro/8.10.Training/DaemonPortOptions.html > > And here is a snip from a box I run sendmail on port 24.. It is from the [hostname].mc file: dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') DAEMON_OPTIONS(`Port=24, Name=MTA, M=EC')