XF 1.5 Why would AWS SES show bounces but they aren't in the XF Bounce Log?

motowebmaster

Active member
I'm a late-adopter of the email bounce feature and recently changed my outbound XF emails to send through Amazon SES. Setup a separate bounce email address and got it all working without errors. Sending at least 500 notices per day. I'm still using my current email provider for everything else.

However in my AWS Statistics it shows a few bounces, but they aren't in the XF bounce log. I didn't have "Enable variable bounced email address values" enabled until two days ago, but after turning it on there still isn't anything showing in the XF admin email bounce log.

The maximum number of bounced emails AWS SES shows is seven per day, not sure if that matters.
 

Alfa1

Well-known member
Amazon SES is not compatible with XF bounce system. XF also doesn't support greylisting or complaints which Amazon does allow you to process.
You can get some bounces show up in XF through setting up SNS. More information in this topic:

If you want XF to add Amazon SES bounce processing then vote for it here:

If you want to resolve this with an addon then inquire @DragonByte Tech as they already created this functionality for XF1 and Fillip was considering to add it to his DBT Mail addon for XF2.
 
Last edited:

HWS

Well-known member
You won't ever get all email problems into the bounce log. For example sometimes no bounces are generated because the mail server does not even accept the mail.

We use SES successfully without any add-on. We just setup a dedicated bounce mailbox which gets called by Xenforo. We also activated "Enable variable bounced email address values". No need to setup SNS, but we did for information only (no feed into XF) and see a very small amount of e-mails with problems which we handle manually.
 

motowebmaster

Active member
We use SES successfully without any add-on. We just setup a dedicated bounce mailbox which gets called by Xenforo. We also activated "Enable variable bounced email address values". No need to setup SNS, but we did for information only (no feed into XF) and see a very small amount of e-mails with problems which we handle manually.
Got it.

Care to share how you setup SNS to handle bounces?
 

HWS

Well-known member
Care to share how you setup SNS to handle bounces?
It's been a long time since we set this up. So I don't know the exact steps.

It was like: We created a new SNS topic for the notifications, subscribed to it and setup the "Bounce Notifications SNS Topic" und "Complaint Notifications SNS Topic" in the domains SES settings to use this SNS topic.
 

motowebmaster

Active member
Thanks for the feedback, I found this guide:


Got the SNS setup for bounces (I think), disabled/removed the XF Bounce settings for now. According to SES, the most I'm currently bouncing per day is eight.

My preference is to utilize the automated XF feature, but will see what the damage is and handle it manually for now.

Thanks Again for the guidance. Didn't realize I was stomping on a sensitive issue :oops:
 

motowebmaster

Active member
Just a FYI that Amazon's bounce function, with SNS configured, was easier than I thought.

Going back to the XF admin and manually changing user's state isn't that much fun, but users are correcting their profiles (y)
 

Alfa1

Well-known member
We just setup a dedicated bounce mailbox which gets called by Xenforo. We also activated "Enable variable bounced email address values". No need to setup SNS, but we did for information only (no feed into XF) and see a very small amount of e-mails with problems which we handle manually.
In my experience this does not capture all bounces. Quite some time ago I did the same but also signed up to all feedback loops. The feedback loops showed that there was a lot that was not getting into the xf bounce log. So I switched to SNS.

SNS topics are not handled by XF. So I hired @DragonByte Tech to create functionality for it. After testing this for quite some time on my big board, it handles complaints and greylisting correctly. It works for XF1 and SNS bounces result in automatic user state changes. I hope this functionality will get added to DBT Mail addon for XF2.
 
Last edited:

snoopy5

Well-known member
So I hired @DragonByte Tech to create functionality for it. After testing this for quite some time on my big board, it handles complaints and greylisting correctly. It works for XF1 and SNS bounces result in automatic user state changes.
Is this an XF1.5x addon which is sold somewhere? If yes where?
 

DragonByte Tech

Well-known member
Is this an XF1.5x addon which is sold somewhere? If yes where?
This isn't included in the XF 1.5 add-on because it physically can't be - it had to be file edits. If @Alfa1 wants to share the edits that's entirely fine by me, but it is entirely impossible to include this in an add-on as the required classes cannot be extended like they can be in XF2.
 
Top