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

    [SOLVED] HELP! Seem to be a spammer!?

    Scheduled Pinned Locked Moved Firewalling
    23 Posts 5 Posters 2.5k 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.
    • HermanH
      Herman @Derelict
      last edited by

      @derelict I have enabled the logging on the LAN Block rule and the allow rule for the Exchange server. But I don't see any logging regarding the rules. Not in normal view nor in Dynamic View. Am I looking at the right place here.

      Thanks guys for you patience!

      regards,
      Herman

      Limburg | The Netherlands.
      It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Sounds like. Are you sure it is still ongoing?

        0_1533509557984_Screen Shot 2018-08-05 at 3.48.07 PM.png

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        HermanH 1 Reply Last reply Reply Quote 1
        • HermanH
          Herman @Derelict
          last edited by

          @derelict The Source IP Address should be my WAN IP?
          What is the ^and the $ meaning in the Destination port?

          Limburg | The Netherlands.
          It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

          DerelictD 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            had you setup pfsense notifications? If so maybe something was going wrong on pfsense and spamming the notifications - or trying to notify you which were failing. Since you should of gotten them.

            0_1533558988743_notifications.png

            Or did you try and setup mailreport package? These would be the 2 ways that pfsense would/could be trying atleast to send mail. Which your isp might not like - especially if something when wrong or was misconfigured and sending out lots of them.

            That is regex format looking for the port in question.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 1
            • DerelictD
              Derelict LAYER 8 Netgate @Herman
              last edited by

              @herman said in HELP! Seem to be a spammer!?:

              @derelict The Source IP Address should be my WAN IP?
              What is the ^and the $ meaning in the Destination port?

              No. You are looking for the inside address so you can find out who on the inside is doing it, so you want to capture on the inside interface (LAN) for all addresses. Unless, like @johnpoz said above, it's actually the firewall doing the emailing.

              The fields there are regular expressions. ^25$ will only match 25. 25 might match 2579, 8254, 9925, 25341, etc.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              HermanH 1 Reply Last reply Reply Quote 1
              • HermanH
                Herman @Derelict
                last edited by

                @derelict & @johnpoz

                I have notifications configured. I dont think the firewall is the boogeyman because I setup the internal IP address (10.0.0.x) of the mailserver and mailing to an internal mailbox. Even now the outbound sendconnetor is temporary disabled, the test message from the pfSense arrives in the correct mailbox.

                Regards Herman

                Limburg | The Netherlands.
                It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                HermanH 1 Reply Last reply Reply Quote 0
                • HermanH
                  Herman @Herman
                  last edited by

                  @Derelict & @johnpoz

                  This is what i see in the Exchange que. A lot of these messages???

                  0_1533572573166_1b99bd8b-67fd-4868-bee1-58915d41fabf-image.png

                  Limburg | The Netherlands.
                  It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz

                    Well if your not seeing it logged anywhere, then maybe the ISP is full of shit.. Not the first time that sort of thing every happened. Did your IP change recently - maybe it was the guy with your IP before you, etc.

                    If your logging all outbound on 25, and not seeing anything logged.. Then its being sent by you - or you have an active state that is still in use? Did you check your state table? flush it after you create your block/logging rules? You have it logging on all possible inbound ports? You have any road warriors coming in via vpn that could be sending spam through vpn connection?

                    edit: contoso.com - that is one of the domains MS uses in its examples ;)
                    https://en.wikipedia.org/wiki/Contoso

                    So your exchange is sending spam? If your letting exchange outbound, and your isp is saying your spamming - then yeah more than likely is your exchange. If you have all kinds of crap like that in its queue what else sort of nonsense is in there? And being sent or tried to being sent, etc.

                    If you can not just check your exchange log for what it has sent, how about just sniff on you wan for outbound 25... And look to see what kind of stuff is being sent or attempted to be sent.. email is sent in the clear so its very easy to view all the info in email.

                    Do you accept inbound email into your exchange? If so could be spammers bouncing off you, or using reflection spam.. PM whats your public IP - will check to see if can bounce spam off you, ie open relay.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    HermanH 1 Reply Last reply Reply Quote 1
                    • HermanH
                      Herman @johnpoz
                      last edited by

                      @johnpoz I would really love to pm you, if you teach me how to? God I feel so stupid right now...

                      Limburg | The Netherlands.
                      It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                      HermanH 1 Reply Last reply Reply Quote 0
                      • HermanH
                        Herman @Herman
                        last edited by

                        "Failure, the best teacher it is!"

                        Limburg | The Netherlands.
                        It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          hehe..

                          Dude look at my profile - you figured out how to follow me..

                          Click the 3 dots and then start conversation - or just answer the one I started with you.

                          0_1533578143913_hermanPM.png

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • HermanH
                            Herman
                            last edited by

                            Hi Guys,

                            It seems that I have found the problem. It looked like the was a Health Mailbox corrupt. Found that because the mails always showed up with the email address inboundproxy@contose.com. The details can be seen in the screenshot earlier. After I finished the migration from Exchange 2013 to 2016 the problem went away. Let have the fingers crossed that this was THE problem?!

                            I would like to thank all of you guys helping me and giving me a tremendous learning curve. Without your knowledge and tips I wouldn’t have learned so much about pfSense already. We probably will see each other in another topic as I have so many more questions.

                            Thanks guys, @chpalmer @Derelict @Grimson @johnpoz 👍

                            Regards,
                            Herman

                            Limburg | The Netherlands.
                            It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

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