Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 20:31:19 +0100
From:      Florian Bofinger <bofax@camelot.de>
To:        vagner <george@WWW.TIMANDPATRICK.COM>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail
Message-ID:  <20000229203119.B88564@camelot.de>
In-Reply-To: <003801bf82e9$3ad9b400$0eb65c8b@oemcomputer>; from george@WWW.TIMANDPATRICK.COM on Tue, Feb 29, 2000 at 09:14:41PM %2B0200
References:  <003801bf82e9$3ad9b400$0eb65c8b@oemcomputer>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bofax@camelot.de>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000229203119.B88564>