Is there anyway to get php to read bounced mails? We are setting up a large mail list that could potentially have lots of bounces. I don't really want the bounced messages to end up in my mailbox, so I set up a mbox for "nobody" which is where the bounces go. (I have sendmail doing this just fine)
Is there anyway to get php to open the mbox for user "nobody," read the mail headers for who it was orginally sent to, record the address to mysql, then delete the message?
easy in concept, but I can't figure out how to automate reading the mail. Can I use POP3, or do I have to use IMAP? since the mbox will be local, do I need to use either?
thanks