Alpha1
Well-known member
When you use Amazon SES for email sending, you can setup Simple Notification Service (SNS) to receive notifications for bounces, delivery, complaints. SNS also makes grey-listing visible which is important. These email bounce messages can be fetched by XenForo by IMAP. Here is such bounce message as displayed in the XF 1.5 bounce log:
But XenForo 1.5 does not recognize this format.
I would like to see an addon that scans the messages and does the following:
{"notificationType":"Bounce","bounce":{"bounceType":"Permanent","bounceSubType":"General","bouncedRecipients":[{"emailAddress":"example@gmail.com","action":"failed","status":"5.1.1","diagnosticCode":"smtp; 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 https://support.google.com/mail/?p=3DNoSuchUser q9si245377ejb.96 - gsmtp"}],"timestamp":"2019-03-06T04:47:55.765Z","feedbackId":"0102016951545745-30b5cafa-69f7-4707-a5f5-0aebbeb8ab42-000000","remoteMtaIp":"74.125.193.27","reportingMTA":"dsn; a54-124.smtp-out.eu-west-1.amazonses.com"},"mail":{"timestamp":"2019-03-06T04:47:55.000Z","source":"myimapaddress@outlook.com","sourceArn":"arn:aws:ses:eu-west-1:873655168933:identity/myimapaddress@outlook.com","sourceIp":"xxx.xxx.xxx.xxx","sendingAccountId":"873655168933","messageId":"010201695154552e-ba737bb1-a16d-45ae-b059-8152e22c2a3d-000000","destination":["example@gmail.com"]}}
But XenForo 1.5 does not recognize this format.
I would like to see an addon that scans the messages and does the following:
- If the message contains the word 'aborted' then ignore the message. This means the provider has greylisted us.
- If the message contains the word 'Transient' then register a soft bounce. Use the user email address to identify the account.
- If the message contains the word 'Complaint' then ban member to prevent more complaints. Use the user email address to identify the account.
- If the message contains the word 'Permanent' then register a hard bounce. Use the user email address to identify the account.
Last edited: