I have a mail server setup for my domain, and I can successfully send mail to any destination. However, I cannot receive any mail. When I do a telnet to port 25 it replies with connection refused.
In my pf.conf I have:
and I'm passing all connection for SMTP:
The dmz_smtp IP is the internal lan 192.168.2.22/32.
It is listening on port 25 and connects for localhost, but not externally. My DAEMON_OPTIONS have for address:
Does that need to be changed to the external IP or remove Address from DAEMON_OPTIONS entirely since the default is to listen on all?
In my pf.conf I have:
Code:
rdr on $ext_if inet proto tcp from any to $ext_if port 25 -> $dmz_smtp
Code:
pass in on $ext_if proto tcp from any to $dmz_smtp port 25 flags S/SA synproxy state
The dmz_smtp IP is the internal lan 192.168.2.22/32.
It is listening on port 25 and connects for localhost, but not externally. My DAEMON_OPTIONS have for address:
Code:
Address=0.0.0.0