Blocked all mail ports but i can still send emails
-
I am new to pfsense.So i want to block all mail ports because my network has been blacklisted too many times because of spam emails,although i have about a dozen clients on the network.So i blocked ports 25,2525,456 and other smtp and smst/s ports but i can still send and receive emails.What am i doing wrong?Here is the layout
Rule=pass Protocol=ipv4TCP,Source=any,Source port=any,Destination=any,Dest Port=25SMTP,Gateway=WanDhcp,Description=Block Smtp...
The other ports are also the same -
Don't type out what you think you have done. Post a screenshot. Existing states are maintained even when a new rule would block that traffic. Clear your states and try your test again.
-
-
That looks good to me. Clear your states (Diagnostics - States - Reset States) and try your test again. How exactly are you testing?
-
@KOM i have two email accounts i.e gmail and yahoo.so i send a message to gmail from yahoo and i am still able to receive on the gmail account..Is there another way to test it?
-
@KOM I also received a message from snort and netgate just a minute ago
-
What do you mean, 'send a messge'? Are you using their web interface, or an actual email client?
-
@KOM i have a gmail application on my phone,so i receive mail from there but in this instance,i logon onto my yahoo mail accnt using the web and then send mail to my gmail account
-
@KOM snort always sends me newsletter emails to my email address
-
You need to block the POP3 and IMAP ports if you want to block receiving email from a proper email client. Also, blocking these ports does nothing to a web interface somewhere across the world. Using gmail or yahoo web interface sends all traffic via HTTPS so your blocks won't catch that.
-
So, let me get this straight: Yahoo is sending mail to Google (both of which you have accounts with) and your firewall is not blocking that? Yeah, that's how webmail works.
-
@dotdash thanks.so that means that is not an email port being used at the moment?!
-
Read what I just said. It answers your question.
-
@KOM Actualy did not notice your answer,but i really appreciate your help.Thank you both
-
@OpenWifi said in Blocked all mail ports but i can still send emails:
@KOM snort always sends me newsletter emails to my email address
Yes, and it sends them from your firewall, not from a device on your LAN network. So what made you think a rule on LAN would affect it then?
Please learn the basics of networking.
Also if you have a problem with devices on your LAN sending spam you should fix/secure those devices instead of just trying to block the traffic.
-
@Grimson i have been blacklisted several times over the past week and cant seem to find which device is spamming from the network,although ran Malwarebytes basically on all client devices