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!

cPanel email stats reporting

Discussion in 'E-mail Discussion' started by SeitanMan, Feb 19, 2018.

  1. SeitanMan

    SeitanMan Registered

    Joined:
    Feb 19, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Hey,

    I manage the cpanel mail for an organisation and we have a large number of email accounts and forwarder addresses many of which I suspect are no longer in use.

    What I am hoping to do is generate a report with things like, last time an email account was logged into (most important) amount of emails sent/received per mailbox (less important) and last date an email was sent to a forwarder address.

    I have access to root and both cpanel and WHM which is installed on the same server.

    I've had an extensive look online and I can't find any tools that seem to do this, webilzer etc just report on websites not email, the best I found was the default reporting in WHM, but even still no easy way to export the kind of data I need, any suggestions are appreciated.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The specific information you are looking for isn't easily available as part of an existing feature in cPanel & WHM. You can use "WHM >> Mail Delivery Reports" and "WHM >> View Sent Summary" to search for information about emails that were delivered (including forwards), however information about when an email account last signed in is only available via the /var/log/maillog file from the command line. You would need to develop a custom bash script that searches for login entries in /var/log/maillog (and the archives of that log) to determine when an email account last signed in.

    Thank you.
     
    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