Hello all,
I'm running a RedHat Linux 9 box with sendmail 8.12.8. What I've been doing lately is creating web apps with Postgresql and PHP. Here's the thing that's the issue: I've created a PHP page that sends out emails through Sendmail. What I would like to do is if any emails are denied or have the wrong email and are returned, an email would be sent out to my address telling me so.
I'm guessing the first step is finding out how Sendmail knows when an email has been returned. I imagine that kind of information would contained in some sort of log file that I could parse and use to do the job? Or does Sendmail have that kind of functionality already built in?
Thanks,
Jisoo22
I'm running a RedHat Linux 9 box with sendmail 8.12.8. What I've been doing lately is creating web apps with Postgresql and PHP. Here's the thing that's the issue: I've created a PHP page that sends out emails through Sendmail. What I would like to do is if any emails are denied or have the wrong email and are returned, an email would be sent out to my address telling me so.
I'm guessing the first step is finding out how Sendmail knows when an email has been returned. I imagine that kind of information would contained in some sort of log file that I could parse and use to do the job? Or does Sendmail have that kind of functionality already built in?
Thanks,
Jisoo22