block access to port 25
Posted: 15 Jan 2015, 15:33
Hello,
How do I block access to port 25 for all IP addresses and allop only my hosted mail filter access to port 25 for mail delivery?
I tried to add this to the deny rules:
tcp|in|d=25|s=all
then added the the mail filters IP range to the allow rules. I tried to test using mxtoolbox but they are able to connect and get a 220 and 250 session transcript. I was under the impression that this would deny access to the port.
The I tried:
tcp|in|d=25|s=0.0.0.0
thinking that maybe 'all' should be the '0.0.0.0' IP. Still does not work.
I'm getting spammers direct connecting to our server for mail delivery and want to force mail to go through the hosted mail filter.
- Mike
How do I block access to port 25 for all IP addresses and allop only my hosted mail filter access to port 25 for mail delivery?
I tried to add this to the deny rules:
tcp|in|d=25|s=all
then added the the mail filters IP range to the allow rules. I tried to test using mxtoolbox but they are able to connect and get a 220 and 250 session transcript. I was under the impression that this would deny access to the port.
The I tried:
tcp|in|d=25|s=0.0.0.0
thinking that maybe 'all' should be the '0.0.0.0' IP. Still does not work.
I'm getting spammers direct connecting to our server for mail delivery and want to force mail to go through the hosted mail filter.
- Mike