From owner-freebsd-questions Mon Oct 22 14:28:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from marvin.1729.net (1729.xs4all.nl [213.84.67.6]) by hub.freebsd.org (Postfix) with ESMTP id 3DD1137B403 for ; Mon, 22 Oct 2001 14:28:12 -0700 (PDT) Received: from arnold (arnold.lan [192.168.1.8]) by marvin.1729.net (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id AAA17591; Tue, 23 Oct 2001 00:03:51 +0200 Message-ID: <018e01c15b40$6dd20700$0801a8c0@lan.1729.net> From: "BSDJunk" To: Cc: "Dave Raven" References: <005e01c15b29$5ba1c640$3300a8c0@DAVE> Subject: Re: Sendmail Date: Mon, 22 Oct 2001 23:28:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Take a look at /etc/mail/virtusertable. You should put a line like @external-host.domain %1@internal-host.domain in there. ----- Original Message ----- From: "Dave Raven" To: Sent: Monday, October 22, 2001 8:42 PM Subject: Sendmail > Hello, > I'm sorry if this is the wrong list to post to, but I need some help > with sendmail and relay'ing. > > What exactly must I do to get a box on the with two network cards, one > internal, one external to forward mail that comes in on the external card to > another server on the internal card. > > For example: > > The MX record for mail.com points to 1.1.1.1 which is my server. > My server must then forward the mail to 192.168.10.10 which is > mail.com's actual server. > > Only I dont want to set up specific users etc. I want to relay EVERYTHING > straight to the server as if it was on the outside. > > > Thanks for any help, > Dave. > > > p.s. If I am scanning for virii, will it scan the RELAY'd mails? > > > > 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