Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Blocked all mail ports but i can still send emails

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    16 Posts 4 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      OpenWifi
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • O
          OpenWifi
          last edited by

          IMG_20190402_222729_934.jpg

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            That looks good to me. Clear your states (Diagnostics - States - Reset States) and try your test again. How exactly are you testing?

            O 2 Replies Last reply Reply Quote 0
            • O
              OpenWifi @KOM
              last edited by

              @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?

              1 Reply Last reply Reply Quote 0
              • O
                OpenWifi @KOM
                last edited by

                @KOM I also received a message from snort and netgate just a minute ago

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  What do you mean, 'send a messge'? Are you using their web interface, or an actual email client?

                  O 2 Replies Last reply Reply Quote 0
                  • O
                    OpenWifi @KOM
                    last edited by

                    @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

                    1 Reply Last reply Reply Quote 0
                    • O
                      OpenWifi @KOM
                      last edited by

                      @KOM snort always sends me newsletter emails to my email address

                      GrimsonG 1 Reply Last reply Reply Quote 0
                      • KOMK
                        KOM
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • dotdashD
                          dotdash
                          last edited by

                          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.

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            OpenWifi @dotdash
                            last edited by

                            @dotdash thanks.so that means that is not an email port being used at the moment?!

                            1 Reply Last reply Reply Quote 0
                            • KOMK
                              KOM
                              last edited by

                              Read what I just said. It answers your question.

                              O 1 Reply Last reply Reply Quote 0
                              • O
                                OpenWifi @KOM
                                last edited by

                                @KOM Actualy did not notice your answer,but i really appreciate your help.Thank you both

                                1 Reply Last reply Reply Quote 0
                                • GrimsonG
                                  Grimson Banned @OpenWifi
                                  last edited by

                                  @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.

                                  O 1 Reply Last reply Reply Quote 0
                                  • O
                                    OpenWifi @Grimson
                                    last edited by

                                    @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

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.