From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 22:17:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E32816A4CE for ; Fri, 21 Nov 2003 22:17:33 -0800 (PST) Received: from linda-2.paradise.net.nz (bm-2a.paradise.net.nz [202.0.58.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8998E43F85 for ; Fri, 21 Nov 2003 22:17:31 -0800 (PST) (envelope-from tortise@paradise.net.nz) Received: from smtp-3.paradise.net.nz (smtp-3b.paradise.net.nz [202.0.32.212]) by linda-2.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HOQ00HQ6PH685@linda-2.paradise.net.nz> for freebsd-questions@FreeBSD.ORG; Sat, 22 Nov 2003 19:17:30 +1300 (NZDT) Received: from P1200n (203-79-82-182.adsl-wns.paradise.net.nz [203.79.82.182]) by smtp-3.paradise.net.nz (Postfix) with SMTP id DFACBAE070 for ; Sat, 22 Nov 2003 19:17:29 +1300 (NZDT) Date: Sat, 22 Nov 2003 19:14:05 +1300 From: "Tortise@Paradise" To: freebsd-questions@FreeBSD.ORG Message-id: <1c5101c3b0bf$d4e40020$1000a8c0@P1200n> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Priority: 3 X-MSMail-priority: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Sendmail Problem Stable 4.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 06:17:33 -0000 Dear All I have a FreeBSD 4.0 stable box with Sendmail, ipfilter and apache = working on it. I am changing my setup here to use the box principally as a firewall and = pass or relay mail through it to an SMTP server behind the firewall. The SMTP mails are rejected. The SMTP gets thru when the firewall box is removed from in between. I have created and edited sendmail.cw to include the domains I want = relayed. I have edited the NAT config file: map ed0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 40000:65000 map ed0 192.168.0.0/24 -> 0.0.0.0/32 #DH added for mail 2003-11-16 rdr ed0 192.168.0.0/24 port 25 -> 192.168.0.30 port 25 #DH added for WWW server 2003-11-16 #rdr ed0 192.168.0.0/24 port 80 -> 192.168.0.30 port 80 The smtp server is on 192.168.0.30. The internet side is 192.168.1.x I think something else needs to be done to persuade sendmail to relay = the e-mails, but what? Any assistance would be greatly appreciated. Kind regards, David Hingston