Bounce mails was to handle all the mails returned to your drupal site and block these mails after admin defined no. of attempts, so that it wont send the mail again. This module was initially developed for our purpose on our www.gleez.com way long back, we get lot of bounce mails and its hard to handle manually. So we decided to develop a module to handle the bounce and stop delivering the mails.

Along with the bounce mail, we also added track outgoing mails feature, the mail purpose of this module is to track all the outgoing mails from our site to prevent spam etc. It generates an unique ID to each mail and logs that to db along with mailkey, time, from , to, ip address.

This module uses drupal_mail_wrapper and PHP imap_open() functions, be sure ur php is compiled with imap to work.

Tested under Drupal 5.X, Apache 2.X, PHP 5.X on Centos 5 and Ubuntu 7

Known issues:

  • Make sure your sendmail is configured with -f, some hosts doesn't allow.
  • This module wont track and work if any contributed module doesn't use drupal_mail(). Simplenews etc.
  • If you're using smtp or other module it wont work.

Note: I don't have CVS client on this machine, so please download from here. Will be committed by weekend.

Credits:

  • Some part of the code has been taken from original bounced mail module written by Robert Castelo
  • All staff and visitors who reported bugs on gleez.com
  • BS for fixing some minor bugs

Thanks for the whole drupal community for developing for such a wonderful CMS.

This is my first module to drupal community, if any bugs, issues or any please let me know.

Well please test this module before you use, we're using slightly different version of this module on our site and for some clients.

 

--Sunny

Comments

espenmoe’s picture

I can't download bounce_mail.zip.

Yours
Espen Moe

wwwoliondorcom’s picture

Hello,

Can you tell me how to know when emails sent by my websites bounce back ?

Where should i look to find the list of messages sent that never reach their destination when users have changed their email address or for any other reason ?

Thanks for help.

wwwoliondorcom’s picture

Any help ?

Thank you.