Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2003 19:14:05 +1300
From:      "Tortise@Paradise" <tortise@paradise.net.nz>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Sendmail Problem Stable 4.0
Message-ID:  <1c5101c3b0bf$d4e40020$1000a8c0@P1200n>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1c5101c3b0bf$d4e40020$1000a8c0>