The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

eximlog export

Discussion in 'E-mail Discussions' started by z3d3m0n, Jul 25, 2017.

  1. z3d3m0n

    z3d3m0n Member

    Joined:
    Feb 8, 2016
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. z3d3m0n

    z3d3m0n Member

    Joined:
    Feb 8, 2016
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Prague
    cPanel Access Level:
    Root Administrator
    Hello,

    thank you for response.
    Is there a way to export results into any file type for more convenient studying

    thank you in advance
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,399
    Likes Received:
    52
    Trophy Points:
    28
    Location:
    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
     
  5. z3d3m0n

    z3d3m0n Member

    Joined:
    Feb 8, 2016
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  7. z3d3m0n

    z3d3m0n Member

    Joined:
    Feb 8, 2016
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 ...
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page