Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

SMTP bounce mod available
  • Vote Up0Vote Down IRCFIRCF
    Posts: 3Sendy user

    Hello,

    We have been testing for a few weeks a patch to implement SMTP bounce.
    The code available here : https://github.com/ircf/sendy_smtp_bounce
    Feel free to use and/or redistribute.

    This code consists in two parts: - A patch to apply to your sendy install, so the Return-Path can be customized with your bounce mailbox (bounce config must be set in sendy config file) - A bounce.php program and helper classes to copy to your sendy install. The bounce.php must be added to your crontab so it can check periodically the bounce mailbox

    Do not hesitate to report bugs :)
    Mathieu at IRCF.

  • 3 Comments
  • Vote Up0Vote Down jackbauerjackbauer
    Posts: 3Sendy user

    Please, can you clarify why this is needed?

  • Vote Up0Vote Down IRCFIRCF
    Posts: 3Sendy user

    Hello,

    You only need this patch if you configured Sendy to use SMTP instead of Amazon SES.

    Sendy currently only implements bounce with Amazon SES : Sendy periodically connects to the Amazon API and collects rejected emails due to permanently invalid addresses (hard bounces) or temporary errors like full mail boxes (soft bounces) and also spam complaints, so that Sendy can update each address status in its database to prevent sending further emails to theses addresses, so you can keep a good reputation and your emails won't be considered as spam.

    But if you configure Sendy to use your own SMTP servers (like we do), then you don't use Amazon SES, and you don't have this feature. This patch covers this feature. The mechanism is the same as Amazon API, except that it uses a bounce mailbox : When you send an email with Sendy, you juste have to configure a "Return-Path" header set with your bounce email address, so each error message will be sent to the bounce mailbox. Sendy periodically connects to this mailbox and collect/parse the error messages and updates each address status.

    Do not hesitate if my explanation is unclear, sorry if my english is bad, I'm french.

  • Vote Up0Vote Down jackbauerjackbauer
    Posts: 3Sendy user

    Great explanation, thanks!