Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Firewall Blocks Emails

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

Tags:
  1. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    108
    Likes Received:
    5
    Trophy Points:
    168
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,216
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    samuelmf likes this.
  3. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    108
    Likes Received:
    5
    Trophy Points:
    168
    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:
    108
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Perú
    Thanks my friend, it worked like charm!
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,216
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm happy to see the issue is now addressed. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice