From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 14:29:10 2007 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 57FAB16A496 for ; Fri, 27 Jul 2007 14:29:10 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id A04E113C461 for ; Fri, 27 Jul 2007 14:29:09 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile.ondsl.gr [83.235.244.135]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l6RESrb9024198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 27 Jul 2007 17:29:00 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l6RESc2D005024; Fri, 27 Jul 2007 17:28:53 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l6RESbht005023; Fri, 27 Jul 2007 17:28:37 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 27 Jul 2007 17:28:37 +0300 From: Giorgos Keramidas To: Ernst de Haan Message-ID: <20070727142837.GA4915@kobe.laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.892, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.51, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Simple SMTP forwarder 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, 27 Jul 2007 14:29:10 -0000 On 2007-07-27 09:40, Ernst de Haan wrote: > Hi, > I need a daemon that will accept SMTP connections and will call the > 'sendmail' command to have them transported. I should be able to > configure it so it will only accept connections from certain IP > addresses. That's precisely the reason why Sendmail exists. Why do you have to use "something else"? It should be relatively painless to set up Sendmail to accept incoming email from a specific set of hosts/addresses using any method you find more convenient: * Firewall rules which block access to port *:smtp from hosts which should not be able to access it. * /etc/hosts.deny controls * The /etc/mail/access file of Sendmail itself.