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!

How to change alert from e-mail address?

Discussion in 'E-mail Discussion' started by 9944990, May 28, 2014.

  1. 9944990

    9944990 Member

    Joined:
    Feb 9, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Can anyone help me fix this problem I am facing I currently have WHM/cPanel with CSF installed on my server I received security email alerts to my inbox and the from address is: root@host my question is How can I set the from address to have them sent from admin@host or something else.

    I have already checked "Edit System Mail Preferences" and "Server Contact Manager" and couldn't find anything.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,444
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you elaborate on which specific email alert you are referring to? Note that it's by design that alerts are sent out from "root".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. 9944990

    9944990 Member

    Joined:
    Feb 9, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Server security alerts which are sent when any security issue detected on the server for example I just received an alert minuts ago:

    Time: Wed May 28 19:43:23 2014 +0200
    PID: 13964 (Parent PID:784)
    Account: username
    Uptime: 80 seconds

    Executable:

    /usr/local/cpanel/3rdparty/perl/514/bin/perl


    Command Line (often faked in exploits):
    cpdavd - authenticated as email@domain.com

    Network connections by the process (if any):
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,444
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    That alert is not from cPanel. It's from CSF/LFD, a third-party application that you installed on your system. You may need to check their support forums for assistance with determining if it's possible to modify their alerts.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    143
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    As cPanelMichael mentioned, that's coming from csf. If memory serves, there was a FROM_EMAIL configuration in /etc/csf/csf.conf that can be set to an email address that you want the messages sent from (blank was root).
     
    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