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

XF 1.5 Automated bounced users

Discussion in 'Troubleshooting and Problems' started by Sunka, Mar 3, 2016.

  1. Sunka

    Sunka Well-Known Member

    I setup options in ACP but I do not know is automatic bouncing for users working or not working

    I switch to Amazon SES for outgoing e-mails (SMPT), and it working like it should be.
    I created gmail for bounced e-mails and setup that in ACP for automated bounced e-mail handler too.
    All configuration you can see on screenshot below.

    Also, I create Amazon SNS thread and notificaton for bounced e-mails and suscribe with bounced email address.

    There is no log for bounced emails/users in ACP

    xen.png
     
  2. Mike

    Mike XenForo Developer Staff Member

    If you send an email to the bounce account directly, does it get logged in the XF ACP eventually? (This can take around 30 minutes.) If so, it's going to be an issue with SES not sending the bounces to that address as expected.
     
  3. Sunka

    Sunka Well-Known Member

    yep, xenforo "read" those emails, but nothing show up in log for bounced emails/users in ACP.
     
  4. Mike

    Mike XenForo Developer Staff Member

    Are there any server error logs listed? You mention that XF "read" the email, but if there's no log entry in the ACP for it, then I'm not sure if that's the case. XF will log every email it reads, regardless of whether it's a bounce. Note that if you read the mail yourself, it's likely that XF won't process it again.
     
  5. Sunka

    Sunka Well-Known Member

    I get notification that there is new mail in my bounced e-mail, after xenforo cron is passed, mails are not show any more (they are automatically archived after reading).
    Is there problem maybe that xenforo can not recognize that this is bounced email?

    Example of mail for test user with fake mail:
    Code:
    AWS Notifications no-reply@sns.amazonaws.com via amazonses.com
    Mar 1 (2 days ago)
    
    to me
    {"notificationType":"Bounce","bounce":{"bounceSubType":"General","bounceType":"Transient","reportingMTA":"dsn; a6-178.smtp-out.eu-west-1.amazonses.com","bouncedRecipients":[{"action":"failed","emailAddress":"e671932@trbvm.com","status":"4.4.7","diagnosticCode":"smtp; 554 4.4.7 Message expired: unable to deliver in 840 minutes.<421 4.4.0 Unable to lookup DNS for trbvm.com>"}],"timestamp":"2016-03-01T00:09:14.317Z","feedbackId":"000001532f81e0c0-31f8b3a4-6a1e-47e2-9651-d8c45449d260-000000"},"mail":{"timestamp":"2016-02-29T09:29:15.000Z","sourceArn":"arn:aws:ses:eu-west-1:695309777512:identity/info@pijanitvor.com","sendingAccountId":"695309777512","source":"info@pijanitvor.com","messageId":"010201532c5c3b7e-6261361d-51d0-46d6-ac67-02a776ec3b4e-000000","destination":["e671932@trbvm.com"]}}
    
     
  6. Mike

    Mike XenForo Developer Staff Member

    That's not a bounce -- it's a notification from AWS/SNS, but it's not what a normal bounced email looks like. So no, XF won't be able to process that. (There should still be a log that it read it though.)
     
    Sunka likes this.
  7. Sunka

    Sunka Well-Known Member

    Ah, now log shows something.
    Is it like expected?
    Is this image confirm that now automated bounced and bounced email settings is configured OK?

    a - 14-22-36.png
     
  8. Sunka

    Sunka Well-Known Member

    Also, will users with status user state email invalid (bounced) get some notification regarding that, or should I create some notice for that users?
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    They will see a notice at the top of the page when they next log in.
     
    Sunka likes this.
  10. Sunka

    Sunka Well-Known Member

    what is phrase for that notice so I could change it, and is ther way to disable that notice and create custom one with default notice system?
     
  11. Mike

    Mike XenForo Developer Staff Member

    Probably easiest to set an account to that state so you can see it directly (and confirm your edits work as you expect).

    In short, no.
     
    Sunka likes this.
  12. Brogan

    Brogan XenForo Moderator Staff Member

    The phrase is: attempts_to_email_x_have_failed_please_update
     
    Sunka likes this.

Share This Page