These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Where log for Automatic Reply Email? on the new forum.
Hi, some months ago i used automatic reply option for my email, under: Edil Mail & FTP-USER-> Mail forwarding settings -> send automatic reply. Now i need to recover which mails have been sent, is there some log file where to check? Thanks
neorf
Howdy,
You can see a log of all emails that have been send by looking in either /var/log/maillog or /var/log/mail.log.
There isn't a log specific to auto-replies, but any reply that is sent would be listed in one of those mail logs.
-Eric
ok, and an automatic email of 6 months ago, is possible to find something of it? thanks
neorf
Well, that all depends on how long your logs are setup to hang around.
However, by default, most distributions don't keep email logs around for much more than a week or two, so chances are that's long gone...
-Eric
ok thanks, but i really need that log... is possibile somthing under imap sent folder of my email account on server?
neorf
then i've found some files under /home/virtualmin-autoreply what are that? thanks
neorf
Sorry, I'm not aware of anything that would store email logs for emails that were delivered 6 months ago. The information is generally purged every few weeks.
It wouldn't be in an IMAP sent folder, since email auto-replies aren't sent via IMAP. The virtualmin-autoreply directory contains files with a list of the auto-reply text... but not the logs of what's been sent. The logs are in the email logs that have since been rotated out :-)
Folks that require what you're after would need to either setup the log rotation to keep logs for an extended period of time, or would setup some form of email archiving.
However, that all needs to be done in advance... I don't know of any way to get email logs from 6 months in the past when your system hasn't been setup to store that information for that length of time. Sorry :-)
-Eric
ok thx anyway ;-)