From owner-freebsd-questions@FreeBSD.ORG Thu Jun 7 09:58:32 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 B3F9816A400 for ; Thu, 7 Jun 2007 09:58:32 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 558E313C44C for ; Thu, 7 Jun 2007 09:58:32 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.2.126]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id l579wVsf005084 for ; Thu, 7 Jun 2007 11:58:31 +0200 Date: Thu, 7 Jun 2007 11:58:31 +0200 From: Albert Shih To: freebsd-questions@freebsd.org Message-ID: <20070607095831.GA92893@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.2.2]); Thu, 07 Jun 2007 11:58:31 +0200 (CEST) X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on mesiob.obspm.fr X-Virus-Status: Clean Subject: SMTP stupid question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 09:58:32 -0000 Hi all Well I've very classic question but google/mail-archive don't give me a answer. 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'm change in my /etc/mail/freebsd.submit.mc the ligne FEATURE(`msp', `[the_adresse_of_my_smtp_server]')dnl use make;make install to build the good sendmail.cf But I think that's not a good solution. Because : 1/ It's work only for root (I'v got a message about permission when I try to send a email when I'm not root) 2/ My smtp-server try to re-send to me the email to root (example for cron message etc. is send to root@my_host_name). I forget to tell I'm not controling the smtp-server. Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Jeu 7 jui 2007 11:46:08 CEST