Hi guys 
According to you, what's the best way to automatically delete bounced emails from a mysql/php driven mailing list without having to pick every bad email address manually?
My current knowledge would lead me to do it this way :
1. set a cron job that runs imap functions that read all the messages in the mailbox
2. while reading, flag messages for deletion if they contain some specific text string (ie: Mail Delivery Subsystem)
3. Remove the faulty address from the database.
4. Finally, delete the faulty message from the mailbox while exiting imap.
With this method, the drawbacks are :
a) can't make the difference between "soft bouncing" (mailbox full) and "hard bouncing"
b) won't be able to filter messages that return uncommon errors messages.
So, are there better solutions?
How could I avoid the drawbacks listed above?
By any chance, do you know about free mailing lists php applications that manage bouncing?
Thanks !

According to you, what's the best way to automatically delete bounced emails from a mysql/php driven mailing list without having to pick every bad email address manually?
My current knowledge would lead me to do it this way :
1. set a cron job that runs imap functions that read all the messages in the mailbox
2. while reading, flag messages for deletion if they contain some specific text string (ie: Mail Delivery Subsystem)
3. Remove the faulty address from the database.
4. Finally, delete the faulty message from the mailbox while exiting imap.
With this method, the drawbacks are :
a) can't make the difference between "soft bouncing" (mailbox full) and "hard bouncing"
b) won't be able to filter messages that return uncommon errors messages.
So, are there better solutions?
How could I avoid the drawbacks listed above?
By any chance, do you know about free mailing lists php applications that manage bouncing?
Thanks !