1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Anyone using bounce handling with Amazon SES?

Discussion in 'XenForo Questions and Support' started by TheBigK, Sep 16, 2014.

  1. TheBigK

    TheBigK Well-Known Member

    I haven't been able to figure this out myself. Is there any way to make the Amazon SES work with the default bounce handling mechanism built into XF 1.4?
     
  2. TheBigK

    TheBigK Well-Known Member

    [Bump]

    I really need help with setting up XF 1.4's bounce handling with Amazon SES. Would appreciate your inputs.

    Addendum: Just figured out that there's an SNS email forwarding service. It however does not allow to set any forwarding email ID. That means, mails sent from default sending address is the one that will get bounced mails.
     
    Last edited: Oct 11, 2014
  3. Mouth

    Mouth Well-Known Member

    Amazon SES is for sending emails, not receiving. You need to setup your Bounced Email Address @ /admin.php?options/list/emailOptions with an email account (eg. GMail) that you can POP/IMAP to, as per config immediately below on same page.
     
  4. TheBigK

    TheBigK Well-Known Member

    I'm aware that SES is for sending mails. However, Amazon processes bounced mails itself. I'm looking for a mechanism to direct the bounced mails to a gmail inbox which I can use for bounce processing.
     
  5. Mouth

    Mouth Well-Known Member

  6. TheBigK

    TheBigK Well-Known Member

    I tried exploring that option, but couldn't find a place where it allows me to set the account to forward notifications to. I think it forwards notifications only to the address that's used to send emails?
     
  7. Andy.N

    Andy.N Well-Known Member

    Any update on it?
    I also Amazon SES to send transactional emails. I also have Google apps emails so I wonder if we can receive bounced email using Google email instead?

    I see there are only POP3 or IMAP options for the bounce section. What do you guys use?
     
    TheBigK likes this.
  8. planetmaster

    planetmaster Member

    Any update on this guys?
     
  9. tr1cky

    tr1cky Member

    Bounce-handling with Amazon SES works just fine.
    Here's what you have to do:

    In Options -> E-Mail Options:

    1. Enable variable bounced email address values
    2. Enable automated bounced email handler

    Setup a mailbox where you before pointed the "Bounced Email Address" to and put in the details.
     
    planetmaster and Mouth like this.
  10. planetmaster

    planetmaster Member

    Are you sure its gonna work. Generally transactional email service do not send the bounce emails.
    Currently I'm using MailGun and although I have set XenForo to send all bounce emails to a dedicated address, they are blocked at mailgun and not send.
    I have therefore setup forwarding for such mails but it changes the address and it is no longer a VERP address.

    So can you please confirm if you are using XenForo's automatic bounce handling with Amazon SES cause I will definitely switch in that case?
     
  11. tr1cky

    tr1cky Member

    I can confirm that it definitely works with Amazon SES. I used bounce hanfling with Amazon SES in the past and now use my own mail server.
     
  12. tr1cky

    tr1cky Member

  13. Nosxxx

    Nosxxx Member

  14. tr1cky

    tr1cky Member

  15. Mouth

    Mouth Well-Known Member

    Is Xenforo bounce handling working for anyone using Amazon SES?
    Options -> E-Mail Options is setup correctly, and I have Amazon SES setup correctly to send bounce notifications to my Bounced Email Address.
    The Email Bounce Log ( /admin.php?logs/email-bounces ) shows emails received by XF from my Bounced Email Address, but the 'Action' within the Email Bounce Log is all 'none'.

    Thus, Amazon SES bounce notifications being sent to my bounce email address. XF correctly retrieving the new emails from the bounce email address account. But xf is not able to process them into meaningful actions (eg. set the User State to Email Invalid)
     
  16. TheBigK

    TheBigK Well-Known Member

    Yes, it works absolutely great for me and the email bounce looks okay -

    Screen Shot 2015-10-23 at 5.45.11 PM.png
     
    Mouth likes this.
  17. Mouth

    Mouth Well-Known Member

    What's the body of your bounces from SES look like? I get;

    Code:
    {"notificationType":"Bounce","bounce":{"bounceSubType":"General","bounceType":"Permanent","reportingMTA":"dsn; a27-38.smtp-out.us-west-2.amazonses.com","bouncedRecipients":[{"action":"failed","emailAddress":"<redacted>","status":"5.4.4","diagnosticCode":"smtp; 550 5.4.4 Invalid domain"}],"timestamp":"2015-10-14T07:49:59.251Z","feedbackId":"000001506553c0de-8ca839e6-<redacted>-4506-a204-3b6451a553df-000000"},"mail":{"timestamp":"2015-10-14T07:49:58.000Z","sourceArn":"arn:aws:ses:us-west-2:403<redacted>681:identity/<redacted>","source":"bounces+9762fff1+<redacted>=<redacted>","messageId":"00000150<redacted>-91bbec90-48a6-4347-8c73-2f4f38956ae3-000000","destination":["<redacted>"],"sendingAccountId":"40379<redacted>81"}}
    and XF Bounce Log says Type: Unknown and Action: none
     
  18. BoostN

    BoostN Active Member

    Bumping this back up. Why are my bounce logs like this? I have no details in them:

    bouncelog.PNG
     
  19. BoostN

    BoostN Active Member

    The forum's domain SES settings:
    email1.PNG

    SNS Topic Settings:
    email2.PNG

    AdminCP:
    email3.PNG
     
  20. BoostN

    BoostN Active Member

    Figured it out. Everything was going into the SPAM folder in gmail, therefore the bounce handler wasn't seeing it.
     

Share This Page