Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 22:41:13 -0400
From:      "Matt Rudderham" <matt@researcher.com>
To:        "Leonard W. Gold" <lengold@play.com>, <questions@FreeBSD.org>
Subject:   RE: Outgoing mail security
Message-ID:  <NDBBLEKOOLGIBFPGLFEKIEHNCHAA.matt@researcher.com>
In-Reply-To: <01C04A7C.8256F170.lengold@play.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>I would like to know if you could tell me witch file on a Free BSD mail
>server I need to edit and basic example of how the line looks to prevent
>other IP's to connect and use an outgoing mail server.

If you are using FreeBSD 4+ (Maybe earlier?) sendmail is set by default not
to relay mail from other hosts.

>Also just the
>opposite same for the line that would allow a specific IP to be able to use
>it remotely.

Assuming sendmail again,
edit /etc/mail/access
add this:
192.168.xxx.xxx OK
/* or for a full class c */
192.168.8 OKAY

then from the prompt, makemap hash access < access
I don't believe a restart is required in binary databases.

The above is free to be cut up, and cutting would be appreciated. All I know
is it works for me:)

- Matthew Rudderham





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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?NDBBLEKOOLGIBFPGLFEKIEHNCHAA.matt>