The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Firewall Blocks Emails

Discussion in 'E-mail Discussions' started by samuelmf, Aug 3, 2016.

Tags:
  1. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Perú
    Hi, i have created a phpmail script that uses smtp auth, when the firewall is disabled the script works fine and the email arrives to the user, but when i enable the firewall the emails are blocked

    This is what i found on the log file /var/log/messages
    Jul 28 09:08:27 core kernel: Firewall: *TCP_OUT Blocked* IN= OUT=enp5s0 SRC=10.45.18.66 DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=50199 DF PROTO=TCP SPT=43869 DPT=465 WINDOW=29200 RES=0x00 SYN URGP=0 UID=1001 GID=1001

    I have no reply about this issue on CSF forums.
    And have the same problem on my other servers with the CSF

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Check to see if the SMTP_Block option is enabled with CSF. You can search for "SMTP_Block" for more information at:

    ConfigServer Security & Firewall

    Thank you.
     
    samuelmf likes this.
  3. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Perú
    Thanks Michael i have tried to disable SMTP Restrictions on WHM as firewall configurator requested.

    I will test
     
  4. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Perú
    Thanks my friend, it worked like charm!
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page