z3d3m0n

Active Member
Feb 8, 2016
32
1
8
Prague
cPanel Access Level
Root Administrator
Hello

is there a way to to generate / export a delivery log per domain for user for certain period ? what steps should i take?

i have seen some tutorials how to do it via eximstats db but could not located i guess it has been removed in new update .

thx in advance
 

24x7server

Well-Known Member
Apr 17, 2013
1,894
91
78
India
cPanel Access Level
Root Administrator
Hi,

If you are familiar with the shell, then you can check the access logs of your account and then sort it according to your need and view it..

However, if you do not have shell access or you just have a cPanel account with no shell access, you can just download the access logs :
Raw Access - Documentation - cPanel Documentation
 

z3d3m0n

Active Member
Feb 8, 2016
32
1
8
Prague
cPanel Access Level
Root Administrator
Hello ,
i have a root to the server and and when i output the exim log to a file greping certain domain it gives me output for 3 days and i have set 60 days in the Tweak "The interval, in days, to retain Exim stats in the database"

so the question remains , how can i export the log's for certain domains from exim stats database ?
thx in advance
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

It's not possible to export the results from "WHM >> Mail Delivery Reports" to an external file, but you could use the "grep" command when searching /var/log/exim_mainlog if you want to export the results to a TXT file. Here's a third-party URL where this is discussed:

Using Linux Grep command - need output to text file, cleaner output

Thank you.
 

z3d3m0n

Active Member
Feb 8, 2016
32
1
8
Prague
cPanel Access Level
Root Administrator
thank you for your help,
the problem is i have setup delivery reports to be stored up to 60 days for detailed investigation and exim_mainlog stores data for 3 or more days the rest is stored in db ...
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter