I've got a Debian mail server, and I use the mail command to send confirmation e-mails when users register our website. Is there any way to view a list of the mails that were sent?
Any help much appreciated!
You're doing it wrong. Add a
Alternatively, you can just append these messages to a file:
(Note that this file must be writable by the user (and/or group) which
The details are explained here.
I recommend using
After some digging, I found out there are some records in the /var/logs/syslog files So I used grep to sort them out: