From owner-freebsd-security Wed Dec 23 05:05:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA13232 for freebsd-security-outgoing; Wed, 23 Dec 1998 05:05:44 -0800 (PST) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from ns1.sminter.com.ar (ns1.sminter.com.ar [200.10.100.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA13222 for ; Wed, 23 Dec 1998 05:05:41 -0800 (PST) (envelope-from fpscha@ns1.sminter.com.ar) Received: (from fpscha@localhost) by ns1.sminter.com.ar (8.8.5/8.8.4) id KAA27496; Wed, 23 Dec 1998 10:03:06 -0300 (GMT) From: Fernando Schapachnik Message-Id: <199812231303.KAA27496@ns1.sminter.com.ar> Subject: Re: Sendmail configuration In-Reply-To: from Dag-Erling Smorgrav at "Dec 23, 98 01:22:51 pm" To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Wed, 23 Dec 1998 10:03:06 -0300 (GMT) Cc: security@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You should be able to handle this with normal sendmail anti-spamming filters: If machine A is acting as proxy for machine B, then: allow B's IP to send mail to any domain by adding it's IP in the allowed IPs list. Add B's domain in the allowed domains for relaying. At B, add the domain in variable w (eg, Cw domain.com), but do not publish it in DNS. Hope it helps! Regards! En un mensaje anterior, Dag-Erling Smorgrav escribió: > I have a box where Sendmail needs to run as a kind of proxy: all mail > it receives destined to a specific domain should be forwarded to > another host (which is not listed as MX for that domain), while all > mail received *from* that host should be relayed to its recipient. > Other than that, all relaying should be blocked. Do any of you have an > idea of how to do this with Sendmail 8.8.8 (FreeBSD 2.2.7)? > > (BTW, I have a feeling that this is not entirely within the charter > for this list, but I don't know where else I can find anybody with > sufficient expertise in these matters, short of finding a sendmail- > specific mailing list) > > DES > -- > Dag-Erling Smorgrav - des@flood.ping.uio.no > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > Fernando P. Schapachnik Administracion de la red S&M International SA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message