Hi, I’ve reading about some rules to block outgoing smtp traffic to avoid to be in spam lists like spamhaus. The idea is block all outgoing smtp traffic except just from allowed servers.
I have 2 computers that have permission to send mail and smtp service needs to be reached from lan and wan.
Now I have a rule like this:
This rule blocks traffic TO the known servers, not prevent spammers within your network. I would reverse the rule using src-address-list and add an ACCEPT rule before the drop to allow traffic to your server to allow access to these servers.
If you want to check use telnet from any another host not in the address list to login a known SMTP server outside your network using (e.g. your ISP’s):
telnet smtp.example.org 25
If you get reply connect things are not blocked as they should