Navigation

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

    Postfix not working

    pfSense Packages
    3
    8
    1638
    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.
    • T
      tritron last edited by

      I jad install pfsense on x550e and everything works fine on it except for postfix. It was working at first but after configuring snort it seems that it totally stoped. maillog does not show any attempts to connect to it so maybe pfsense is blocking access to postfix. Where I can look for debug information

      1 Reply Last reply Reply Quote 0
      • L
        louis-m last edited by

        I'd check snort first. blocked hosts, alerts etc and possibly try specifying the gateway as as smtp server in snort. If that fails, remove snort to see if it works. For what it's worth, I have the two of them running side by side without any special setup.

        1 Reply Last reply Reply Quote 0
        • T
          tritron last edited by

          I had disabled snort I see in firewall logs mail servers attempting connection to port 25. I used putty to telnet to port 25 and my wan ip address n I see hello from postfix. I signedup for micro instance on amazon and attempted to use putty to connect to port 25 and my ipaddress and I don't see a hello and nothing in logs I don't know if amazon blocks port 25

          1 Reply Last reply Reply Quote 0
          • L
            louis-m last edited by

            it could be as some do block port 25. you might want to try port 587 and see what that yields.

            1 Reply Last reply Reply Quote 0
            • T
              tritron last edited by

              I had fixed it by adding correct rule to firewall. I had to create rule from any port to 25 on wan ip. It strange that my old pfsense did not had such rule and postfix just worked

              1 Reply Last reply Reply Quote 0
              • L
                louis-m last edited by

                strange indeed. pfsense generally needs a port forwarding and firewall rule for internal servers or a wan rule if you are using postfix. glad it's going.

                1 Reply Last reply Reply Quote 0
                • marcelloc
                  marcelloc last edited by

                  @louis-m:

                  strange indeed. pfsense generally needs a port forwarding and firewall rule for internal servers or a wan rule if you are using postfix.

                  If you have postfix listening on wan, you do not need a nat, just a rule on wan allowing traffic from internet to wan address port 25.

                  Using nat to forward traffic from wan port 25 to internal server, will "jump" postfix and send internet traffic direct to internal severs.

                  att,
                  Marcello Coutinho

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • T
                    tritron last edited by

                    It was rule not nat. I don't belive nat allows wan ip address in rules.
                    It works great and it had cutdown on spam. I am running it on x550e and
                    var is in ram. Is there a way to incerease size of var or postfix would benefit from its own ram drive. It seems that when var fills up and /var/spool/postix is smaller than assigned email size postfix will not relay messages. I had to decrease email size from 30 mb to 20 mb. So if var fillsup with logs and stuff postfix stops working.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post