I currently administer a CentOS 5 web server (apache), for which mail can be sent to different users via a web form. These users receiving the email are external to this server and not something I have control over.
I have edited /etc/aliases
to send all of root's email to my external email address using:
root: [email protected]
Occasionally I will get a bounced message, but it won't send me what the actual message is. I just get:
Your message did not reach some or all of the intended recipients.
With the subject included and stating that the email address doesn't exist. I would like to track down the recipients and forward them the bounced message. Is there any way I can see the body of the original messages that were sent? The email server is sendmail.