Page 1 of 1

How to retrieve sent email from the log

Posted: Fri Jan 30, 2015 3:01 pm
by Ton10
Hi,

I sent an email 3 days ago, but the email never got delivered to it's destination. I keep getting messages from the mail server (every 24 hours) that the server is trying to send the email, which means that there is a copy of the message somewhere on the mail server.

Can anyone tell me how can I access the email log, and retrieve that email? I'm asking because I deleted my copy from the sent folder, and I need to get the contents of the email back so that I can resent it again.

Thanks!

Re: How to retrieve sent email from the log

Posted: Fri Jan 30, 2015 6:14 pm
by skurudo
See with command mailq

Logs in /var/log/exim4/mainlog

Re: How to retrieve sent email from the log

Posted: Sat Jan 31, 2015 9:48 am
by Ton10
Alright thanks, that helped!