OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Require all local IP to only send to local IP and Restrict local.domain.com to local.domain.com

From: Boyd Lynn Gerber (gerberbzenez.com)
Date: Fri Aug 24 2007 - 13:22:10 CDT


On Fri, 24 Aug 2007, mouss wrote:
> > smtpd_restriction_classes = local_only
> > local_only =
> > reject_unlisted_recipient
> > permit_auth_destination
>
> replace the latter with
> reject_unauth_destination
> so that they can't relay.

Thanks that solved it. Now they have asked on more set of rejects.
They want all email from public IP's to bk...domain.com to be rejected.
But allow any 192.168.x.x to the bk...domain.com. I know this can be
done I am just now sure how. For example

From public IP's to bk2000domain.com reject
From 192.168.x.x to bk2000domain.com OK.

Any ideas?

Thanks

--
Boyd Gerber <gerberbzenez.com>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047