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!

View Mail Statisics Summary Count-Error

Discussion in 'E-mail Discussion' started by keat63, Apr 3, 2019.

  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    1,296
    Likes Received:
    91
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I've an issue where my IP was blacklisted by CloudMark.
    I've no idea why as we only send out customer invoices/credit notes etc.

    Anyhow, I opened a de-listing with CloudMark, and would like to see if this is now resolved.
    When I look in 'View Mail Statisics Summary', and scroll to the bottom 'Count-Error', I can see errors but I've no idea when these were triggered as there is no date stamp.

    Is there any way to view these showing a time stamp.
    Maybe a log file somewhere ?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @keat63

    You can view all mail transactions in the exim_mainlog. Something like the following might work to get you the lines with CloudMark:

    Code:
    grep -i cloudmark /var/log/exim_mainlog
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    1,296
    Likes Received:
    91
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I can see how the grep may help, however, there are other messages in the error log, so grep would have to be a manual process for each and every error.

    Further to this, the error log in whm appears to list failures in alphabetic order, so it's impossible to tell when or if any new entries were added to the list.

    Is there any method I could use to either search for these specific errors or have the gui show the time stamp ascociated with the error.
     
    #3 keat63, Apr 4, 2019
    Last edited: Apr 4, 2019
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    You had asked for the CloudMark errors specifically so that grep should give you ALL of the CloudMark related data

    WHM's>>Email>>View Mail Statistics Summary -> Count - Error lists the errors in ascending order based off the count


    You can use the mail troubleshooter to trace one specific email address, the mail delivery reports will list errors and it allows you to see the body/header of messages
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    1,296
    Likes Received:
    91
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    My applogies Lauren, maybe a slight misunderstanding

    I didnt specifically ask for CloudMark, i just painted the picture as to why I was looking in the error log.

    I can see the error log growing, but as the entries are sorted in an alphabetical order, it's almost impossible to decipher which are new entries and which are old ones.
    To run Grep or mail troubleshooter would involve doing so on a manual basis with each and every entry.
    It would be extremely time consuming and laborious.
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    I see, I did presume that you were asking for specifics to CloudMark


    You could generalize your grep but you can also view mail stats over cli though that will give you basically the same output as within the UI

    But you could get failures in general by searching for the router that is flagged in the error for example:

    Code:
    grep "R=fail_remote_domains" /var/log/exim_mainlog
    Or for items that were blocked with a filter:

    Code:
    grep "R=central_filter" /var/log/exim_mainlog
    You can fine-tune basically any command line search to give you the information you're looking for.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    1,296
    Likes Received:
    91
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I'm not sure either would work.
    Theres no uniformity between the failures, every one is worded differently, I guess depending on why it failed and who failed it.

    I don't want to post an image up here of the error log, due to the work involved in obfuscating it, however, I guess you'll know exactly what I mean when you look at one.

    It appears to refresh every sunday, and with today being Monday, it's pretty easy to decipher, but come the end of the week when it's up to maybe 20 entries, it's impossible to know which ones I've dealt with and which ones I havn't.
     
  8. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @keat63


    It sounds like what you're wanting is better manageability for errors/issues with items in the Mail Statistics UI of cPanel and in that case I think a feature request might be the best option.
     
    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