From owner-freebsd-questions Mon Dec 30 3: 1:54 2002 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 6132937B406 for ; Mon, 30 Dec 2002 03:01:52 -0800 (PST) Received: from mcesr.etat.lu (dynamic4.etat.lu [194.154.200.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11BF043EB2 for ; Mon, 30 Dec 2002 03:01:51 -0800 (PST) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from [148.110.43.149] (HELO lucifer) by mcesr.etat.lu (CommuniGate Pro SMTP 3.5.9) with ESMTP-TLS id 697230 for freebsd-questions@FreeBSD.ORG; Mon, 30 Dec 2002 11:53:42 +0100 Reply-To: From: "Didier Wiroth" To: Subject: sendmail and jail question Date: Mon, 30 Dec 2002 12:01:38 +0100 Organization: MCESR Message-ID: <000001c2aff2$d3a2e650$952b6e94@lucifer> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey, I would like to use sendmail "only" to send daily reports of it's own host and it's running jails, to an outside mail system! host (192.168.0.2) with sendmail -> should send mail/reports etc to xyz@somewhere.com jail1 (192.168.0.3) with sendmail -> should send mail/reports etc to xyz@somewhere.com jail2 (192.168.0.4) with sendmail -> should send mail/reports etc to xyz@somewhere.com I've modified the alias files of the host and the jails and run newaliases! 1) What lines/options do you have to add to the host's and jail's rc.conf to use it for my purpose? 2) What is the most secure to achive my goal, I don't want others to use it as a relay? I've tried this setting on the host: sendmail_enable="NO" So, sendmail is only listening on the localhost! This is great! BUT! Setting the same setting in the jail makes sendmail listening on: 192.168.0.3 jail1 3) This makes sendmail accessible from the outside how do you prevent this? 4) Can a jail have it's personal loopback interface? 5) How do you make sendmail listening "only" to a specific ip address (when using ip alias), what flags do you have to use? 6) I'm sure other persons use this kind of configurations, how do you run sendmail (which flags) on these systems? Thanks a lot! Didier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message