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.

Question regarding SMTP_BLOCK

Discussion in 'E-mail Discussions' started by Mister9, Sep 1, 2015.

  1. Mister9

    Mister9 Member

    Joined:
    Apr 28, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!
    One of my accounts on my server has been sending out spam.
    I been reading up a bit on how to prevent this from happening and I saw that setting SMTP_BLOCK to 1 is a good thing.

    My question is, will this block php applications running on other accounts from sending out emails as well? I guess I am trying to find any information about any repercussions this may have on any other accounts on the server.
     
  2. hostCAPO

    hostCAPO Member

    Joined:
    Sep 2, 2015
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Birmingham, AL
    cPanel Access Level:
    Root Administrator
    Hello,
    SMTP_BLOCK is a setting in the CSF firewall. This will stop local php files from sending mail however, there is also this setting in the CSF.CONF that should allow local files to send mail:
    ===
    # If SMTP_BLOCK is enabled but you want to allow local connections to port 25
    # on the server (e.g. for webmail or web scripts) then enable this option to
    # allow outgoing SMTP connections to the loopback device
    SMTP_ALLOWLOCAL = "1"
    ===

    Regards,
    Jeremy A.
     
    Mister9 likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page