Skip to main content

need to find when an email was sent

Comments

2 comments

  • madmanmachines
    Hi, What do you have to go off? Do you have the email? If so, locate the exim id from the headers(e.g. 1ZsAqY-0000jk-3r). Use this to search as below:
    zgrep exim-message-id /var/log/exim_mainlog*
    If you don't have the message id, I would recommend searching by the current working directory of where the mail script is located. If the script was at '/home/bob/mailscript.php' then:
    zgrep -A1 "cwd=/home/bob" /var/log/exim_mainlog*
    Thanks,
    0
  • cPanelMichael
    Hello :) It depends on how far back your Exim logs go. You can search for the email address in /var/log/exim_mainlog and any archives of this log file with a command such as:
    exigrep user@domain /var/log/exim_mainlog*
    Thank you.
    0

Please sign in to leave a comment.