mino howto for email issue -> a couple things

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: mino howto for email issue -> a couple things
On Wed, 18 Jun 2003, Mike Starke wrote:

> I have tried the following in pf


> rdr on $ext_if proto tcp from any to any port 25 -> smtp.west.cox.net port 25
>
> with no success (I even flushed my rules). It is my understanding I
> should not have to configure sendmail with the smarthost if the packets
> are redirected.


When using rdr, you need to make sure that the packets also pass based on
your other rules.

Also, don't use "from any" but use your own network. You don't want to
redirect for outside incoming to port 25. (Use "from $int_net".)

And you don't need the final "port 25".

Also do you have sysctl net.inet.ip.forwarding set to 1 (in
/etc/sysctl.conf, for example).

What do your filter stats and counters show?

Jeremy C. Reed
http://www.reedmedia.net/