From owner-freebsd-questions Tue Feb 29 11:31:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.camelot.de (robin.camelot.de [195.30.224.3]) by hub.freebsd.org (Postfix) with ESMTP id 29B0737BC01 for ; Tue, 29 Feb 2000 11:31:21 -0800 (PST) (envelope-from bofax@camelot.de) Received: from robin.camelot.de (bofax@robin.camelot.de [195.30.224.3]) by mail.camelot.de (8.9.3/8.9.3) with ESMTP id UAA98011; Tue, 29 Feb 2000 20:31:19 +0100 (CET) Received: (from bofax@localhost) by robin.camelot.de (8.9.3/8.9.3) id UAA98006; Tue, 29 Feb 2000 20:31:19 +0100 (CET) Date: Tue, 29 Feb 2000 20:31:19 +0100 From: Florian Bofinger To: vagner Cc: freebsd-questions@freebsd.org Subject: Re: sendmail Message-ID: <20000229203119.B88564@camelot.de> Mail-Followup-To: vagner , freebsd-questions@freebsd.org References: <003801bf82e9$3ad9b400$0eb65c8b@oemcomputer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <003801bf82e9$3ad9b400$0eb65c8b@oemcomputer>; from george@WWW.TIMANDPATRICK.COM on Tue, Feb 29, 2000 at 09:14:41PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Tue, Feb 29, 2000 at 09:14:41PM +0200, vagner wrote: > I have 2 networks connections one for outside and one inside using the > 192.168.xx.xx > Interface, I need to allow relaying from inside my net to outside and from > Certain domains outside. > > How do I tell sendmail to allow this. > > Its sendmail 8.9.2 I think. The easiest way is to to this with the access_db-Feature. Add following line to your sendmail.mc: FEATURE(access_db,`hash -o /etc/access')dnl Then create the file "/etc/access". The access-File has the following format: 192.168 RELAY outside.tld RELAY 195.20.2.3 RELAY 195.20.2.4 RELAY Don't forget do do a makmap hash access < access in /etc! Hope this helps (otherwise take a look at www.sendmail.org), BoFax -- Florian Bofinger www.camelot.de - Der "sagenhafte" Internet Full-Service Provider 'Can't buy what I want because it's free' - Pearl Jam (FreeBSD rocks) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message