When I send an e-mail in console, like:
echo "Body of the message" | mail -s "Some clever subject" my.address@myisp.com
I would like to check the headers of the e-mail once it is sent.
They do not show up in /var/log/maillog
and when I check the mailbox (using mail
), there's no "Sent" folder, I can only see received e-mails.
Is there any place where the sent e-mails are stored, that would allow to check their headers? (Or do I need to setup such a place? How?)
sendmail's configuration is quite the default one (only added an alias).