From owner-freebsd-questions@FreeBSD.ORG Thu Jun 7 10:54:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B3FE16A41F for ; Thu, 7 Jun 2007 10:54:42 +0000 (UTC) (envelope-from freebsd-questions@auscert.org.au) Received: from titania.auscert.org.au (gw.auscert.org.au [203.5.112.28]) by mx1.freebsd.org (Postfix) with ESMTP id B90FE13C483 for ; Thu, 7 Jun 2007 10:54:41 +0000 (UTC) (envelope-from freebsd-questions@auscert.org.au) Received: from app.auscert.org.au (app [10.0.1.192]) by titania.auscert.org.au (8.12.10/8.12.10) with ESMTP id l57ALFF6043205; Thu, 7 Jun 2007 20:21:15 +1000 (EST) Received: from app.auscert.org.au (localhost.auscert.org.au [127.0.0.1]) by app.auscert.org.au (8.13.6/8.13.6) with ESMTP id l57ALFQr042296; Thu, 7 Jun 2007 20:21:15 +1000 (EST) (envelope-from freebsd-questions@auscert.org.au) Message-Id: <200706071021.l57ALFQr042296@app.auscert.org.au> From: Joel Hatton To: Albert.Shih@obspm.fr In-Reply-To: Your message of "Thu, 07 Jun 2007 11:58:31 +0200." <20070607095831.GA92893@pcjas.obspm.fr> Date: Thu, 07 Jun 2007 20:21:15 +1000 Cc: freebsd-questions@freebsd.org Subject: Re: SMTP stupid question 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: Thu, 07 Jun 2007 10:54:42 -0000 On Thu, 7 Jun 2007 11:58:31 +0200, Albert Shih wrote: > >I want to configure a FreeBSD box without sendmail-daemon but I want all >all mail sent to my smtp-server. > >For that I put > >sendmail_enable="NO" >sendmail_submit_enable="NO" >sendmail_outbound_enable="NO" >sendmail_msp_queue_enable="YES" I haven't used FEATURE(`msp') before, but you'll need to enable the last three lines above. By default, FreeBSD should be configured properly if you don't include _any_ of the above lines in your /etc/rc.conf at all. Grep for 'sendmail' in /etc/defaults/rc.conf and you'll see what is already configured. On a new system, all you should have to do to set up mail is (if in single user mode you have to set hostname first): cd /etc/mail make edit your.host.name.submit.mc make install make start If you are running 'make' on a running system after editing freebsd.submit.mc you won't actually be installing the right file.... cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland | WWW: www.auscert.org.au Qld 4072 Australia | Email: auscert@auscert.org.au