View Mail Statisics Summary Count-Error

keat63

Well-Known Member
Nov 20, 2014
1,961
267
113
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 ?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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
 

keat63

Well-Known Member
Nov 20, 2014
1,961
267
113
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.
 
Last edited:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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
 

keat63

Well-Known Member
Nov 20, 2014
1,961
267
113
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.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
I didnt specifically ask for CloudMark, i just painted the picture as to why I was looking in the error log.
I see, I did presume that you were asking for specifics to CloudMark


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

keat63

Well-Known Member
Nov 20, 2014
1,961
267
113
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.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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.