Firewall prevents postfix from working

Discussion in 'Installation/Configuration' started by fbarcenas, Jun 5, 2020.

  1. fbarcenas

    fbarcenas Member

    As soon as I enable my ispconfig firewall I get timeouts in postfix.. I have to disable the firewall and restart postfix to get it working again.
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer ISPConfig Developer

    Is that a timeout on incoming (to your server) or outgoing (from your server)? If incoming, what port(s)? (ie. port 25 from external servers, or your own connections on 465/587?) What ports do you allow in the firewall? What does your firewall contain ('iptables -L -n -v') when it is enabled?
     
  3. fbarcenas

    fbarcenas Member

  4. fbarcenas

    fbarcenas Member

    Problem seemed to vanish while server was not under load.
     
  5. Jesse Norell

    Jesse Norell ISPConfig Developer ISPConfig Developer

    Ok, so the firewall is unrelated and just reload postfix temporarily clears the issue. Likely your mail log will have indications of what's going on. There are some things you can try listed under http://www.postfix.org/STRESS_README.html in particular, I'd look at setting up postscreen. But you may well have something "broken" in the mail system too, or even just need to throw some more memory/resources at it.
     

Share This Page