On Mon, Nov 25, 2013 at 12:33 PM, Giancarlo Razzolini
<grazzol...@gmail.com> wrote:
>   Taking a look on the smtpd.conf(5) man page, there is the source
> directive, which does what you are trying to accomplish.

Don't know what I'm doing wrong as I can't get it to work here.

Using these rules works fine for the :0  address:
pf: pass out quick on $ext_if proto tcp from self to any port smtp
smtpd: accept from local for any relay

Using these rules does not:
pf: pass out quick on $alias1 proto tcp from self to any port smtp
smtpd: table smtpip { w.x.y.z }
smtpd: accept from local for any relay source smtpip
(inline table defines smtpip as the same address as $alias1)

I get a "No valid route to destination" error.

Reply via email to