ircf/sendy_smtp_bounce

new version that works with 5.2.3

Opened this issue · 5 comments

UPDATE: Download new file for updated files to work with 5.2.3

I have created a new version that works with 5.2

It has a per brand bounce and so far seems to be working.

  1. You will have to go into your mysql database and run the mysql code below.
    It will create the columns needed for the bounce to work.

ALTER TABLE apps
ADD COLUMN bounce_host VARCHAR(100) NOT NULL AFTER smtp_password
ADD COLUMN bounce_port VARCHAR(100) NOT NULL AFTER bounce_host,
ADD COLUMN bounce_username VARCHAR(100) NOT NULL AFTER bounce_port,
ADD COLUMN bounce_password VARCHAR(100)NOT NULL AFTER bounce_username;

  1. Upload all the files included and overwrite the old files.
  2. Create a bounce email like mail@yourdomain.com. This will catch all the bounced emails.
  3. Create or Edit your brand under smtp fill out the form with your bounce details.
  4. Create cron to run every 15 minutes
    usr/bin/php /path/to/sendy/bounce.php > /dev/null 2>&1

Please see new updated files

Thank you for this! I'm running into an issue with Sendy not registering the bounces in the report, even though the bounces are collecting in the mailbox fine - this appears to be down to the cron as I get the following message whenever it fires, even though I know the credentials in the database are correct: [CLOSED] IMAP connection broken (server response)

Anyone else had the same problem and know any solution?

Hello @dmf1991

I am also not able to receive the bounce information. I made all the adjustments in the database and uploaded the necessary files. Any help will be most welcome. Thanks!

Hey @dmf1991 @rtcosta77

That would mean that the login details for your bounce are wrong.

Check the login, password, and port for the bounce email. You should get no message
when you go to bounce.php

Are you updating the bounce login info in the brand area?

Edit brand smtp settings.

Joe

Hi, getting this email on/off as the schedule run for the bounce.php

PHP Warning:  imap_open(): Couldn't open stream {list.mydomain.net:993/notls}INBOX in /var/www/vhosts/list.mydomain.net/httpdocs/bounce.php on line 34
PHP Notice:  Unknown: [CLOSED] IMAP connection broken (server response) (errflg=2) in Unknown on line 0
PHP Warning:  imap_open(): Couldn't open stream {:/notls}INBOX in /var/www/vhosts/list.mydomain.net/httpdocs/bounce.php on line 34
PHP Notice:  Unknown: Can't open mailbox {:/notls}INBOX: invalid remote specification (errflg=2) in Unknown on line 0

When attempting to browse the bounce.php page, getting the message

Can't open mailbox {:/notls}INBOX: invalid remote specification

I have verified the password and it is working on webmail. Also have tried to switch around the port 143 and 993, telnetting on the localhost server and also remote from my workstation and the port is responding.

Running on Sendy 5.2.3

sorry for the late reply...the new updates should fix these issues.