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!

Does cPanel log notification mails?

Discussion in 'General Discussion' started by madnoob2, Mar 18, 2019.

  1. madnoob2

    madnoob2 Active Member

    Joined:
    Apr 18, 2017
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    Howdy folks,

    I was wondering if cPanel is storing all the e-mail messages it sends somewhere inside system logs? I tried searching for them but couldn't find it.
    For example this mail ;
    From: cPanel on host <cpanel@host>
    Subject: The backup process completed.
    Body : The backup process... bla bla

    or the one from LFD ; excessive resource usage

    is it being stored in the system somewhere?
    We're trying to eliminate e-mails and show those notifications some other way by grabbing them from logs or wherever they are stored.
    Thanks!
     
  2. dalem

    dalem Well-Known Member PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,883
    Likes Received:
    118
    Trophy Points:
    368
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    No cpanel does not store them if you mean by is there a sent email box for
    root/cpanel
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. madnoob2

    madnoob2 Active Member

    Joined:
    Apr 18, 2017
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    So there's no way to grep them inside the system? I know that LFD has it's own logs for those mails.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,727
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider

    All mail transactions including system emails are logged in the exim mainlog by default. Furthermore cPanel does add an entry to the cPanel error log for a lot notifications including the backup success notification, if it's backups specifically you can also check the cPanel backup logs.


    Exim's Mainlog:

    Code:
    /var/log/exim_mainlog
    cPanel's Error Log:
    Code:
    /usr/local/cpanel/logs/error_log 
    cPanel Automated Backup Logs:
    Code:
    /usr/local/cpanel/logs/cpbackup 

    cPanel does not log LFD transactions but they should be present within the mainlog as well as LFD's own logs.


    Thanks!
     
    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