From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 00:55:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99CAB37B401 for ; Thu, 31 Jul 2003 00:55:42 -0700 (PDT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D71343FAF for ; Thu, 31 Jul 2003 00:55:41 -0700 (PDT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.8p1/8.12.4) with ESMTP id h6V7teTQ077510; Thu, 31 Jul 2003 09:55:40 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)h6V7tehr077507; Thu, 31 Jul 2003 09:55:40 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Thu, 31 Jul 2003 09:55:40 +0200 (CEST) From: Konrad Heuer To: MatzeLoCal@gmx.de In-Reply-To: <9439.1059634464@www44.gmx.net> Message-ID: <20030731095330.S70519-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: [NEWBIE] Using external SMTP-Server for mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 07:55:42 -0000 On Thu, 31 Jul 2003 MatzeLoCal@gmx.de wrote: > > Put the following lines in /etc/rc.conf: > > > > sendmail_enable="NO" > > sendmail_submit_enable="YES" > > > > FreeBSD will then run a sendmail daemon listening on the loopback > > interface for mail submission only. This sendmail process will not be > > visible from external hosts and will not receive any mail. > > Thx, > but this does not work. I've already tried it. Or can I tell sendmail to use > an SMTP-server? You can try to create the file /etc/mail/mailertable to specify which stmp server to use for your domain, put a line in there that looks like: example.org 192.168.1.25 Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany