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

    Mail attachement blocked by pfsense

    Scheduled Pinned Locked Moved Firewalling
    9 Posts 4 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.
    • M
      melina
      last edited by

      hi,

      i have a problem with the mail attachment,
      as soon as i installed and configured pfsense, mail attachment were blocked.

      any attachment that size exceeds 100 Ko can't  be sent.

      mails without attachment or attachment size is less than 100ko are transfered without any problem.

      what can i do to correct this situation?

      PS: i don't have dmz, i have just lan and wan.

      thank you for replaying

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        pfSense is not a L7 firewall. It doesn't know anything about mail attachments. No info here to debug.

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

          yeah pfsense out of the box couldn't have anything to do with this.  Are you running any 3rd party addons..

          More info would be needed for sure to try and help you find out what is going on.

          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
          • M
            melina
            last edited by

            Thank you for the reply,

            i think that the problem is due to pfsense because when i stop it mail attachments are transfered regardless of the size.

            more details:

            1- i have lan with any configuration (vlans or workgroups or …)

            2- i have wan with public addresses,

            3- lan is connected to internet with a leased line

            4- i have a dns server for name resolution and it acts as a gateway to the pfsense machine

            5- i added Shalla's blacklists and blocked youtube, facebook and extensions (asf|wm|wma|wmv|cab|mp3|avi|mpg|swf|exe|mpeg|mp.|mpv|mp3|mp4|flv|wm.|vpu)

            6- i don't have any 3rd party addons

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

              pfsense doesn't care what your sending, its tcp - it doesn't know if its a http or ftp or https - its just passing tcp..

              How are you sending the email via some web like gmail or yahoo?  Are you using some client like outlook or thunderbird?

              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
              • M
                melina
                last edited by

                all users are using webmail, nobody uses mail client.

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

                  The amount info your providing is staggering!!!  What freaking webmail?  webmail loads the attachment different, before the email is being sent - so your saying you can not upload the attachment.  What is the error your getting.

                  The method used to upload the attachment is prob going to a different fqdn, using maybe some sort of applet, etc.  lots of things going on - but if your not even going to give what company google, yahoo, somethingelse?  How can we look to see the method they use to upload the attachment?

                  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
                  • M
                    melina
                    last edited by

                    hi,
                    there is no error said, just "loading failure".

                    users use several types of web mails, google, yahoo, hotmail…etc.

                    thks

                    1 Reply Last reply Reply Quote 0
                    • C
                      chrcoluk
                      last edited by

                      to add a blacklist you need a addon either squidguard or pfblockerng.

                      snort might possibly cause something like this as it is deep inspection.

                      I think this point needs explaining more

                      5- i added Shalla's blacklists and blocked youtube, facebook and extensions (asf|wm|wma|wmv|cab|mp3|avi|mpg|swf|exe|mpeg|mp.|mpv|mp3|mp4|flv|wm.|vpu)

                      pfSense CE 2.8.0

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