Welcome to Centmin Mod Community
Register Now

Xenforo Amazon SES and Xenforo, exactly how are they used together?

Discussion in 'Forum software usage' started by modder, Aug 8, 2022.

  1. modder

    modder Member

    91
    13
    8
    Dec 6, 2019
    Ratings:
    +21
    Local Time:
    2:10 PM
    I just created my Amazon SES account and got my domain verified. I setup Email transport method in Xenforo with SMTP info in Amazon SES.

    When I tried to register a new account with a Gmail email address in Xenforo. The front end shows no error. But the server logs the following error where xxx@gmail.com is the email used for registration.

    upload_2022-8-8_9-35-9.png

    This is my Amazon SES config:

    upload_2022-8-8_9-39-34.png

    upload_2022-8-8_9-46-12.png


    The 2 emails sent below was made when I tried to register an account with whatever@mydomain.com. No error was logged. I just made up that email address of my own verified domain for testing purpose. No such mail box exists.

    upload_2022-8-8_9-49-26.png

    In Xenforo settings, I got this:

    upload_2022-8-8_9-54-25.png


    So what could I have probably missed here? Thanks!
     
  2. Jon Snow

    Jon Snow Active Member

    662
    127
    43
    Jun 30, 2017
    Ratings:
    +188
    Local Time:
    3:10 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    Verify the info@domain email you set in your Admin Panel in Amazon just like how you verified the domain name.
     
  3. modder

    modder Member

    91
    13
    8
    Dec 6, 2019
    Ratings:
    +21
    Local Time:
    2:10 PM
    Same result after having info@mydomain.com verified.

    upload_2022-8-8_17-29-16.png
     
  4. eva2000

    eva2000 Administrator Staff Member

    49,034
    11,232
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,483
    Local Time:
    4:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    Did you request approval from AWS for getting SES out of sandbox mode first?

    You have to verify all email addresses you intend to use as your FROM email address, so that includes your Gmail address if it's used as the FROM email.
     
  5. modder

    modder Member

    91
    13
    8
    Dec 6, 2019
    Ratings:
    +21
    Local Time:
    2:10 PM
    I'm still using sandbox now as the forum is still in developing stage. And I'm just testing the registration part. So it won't work until it's moved out of the sandbox?
     
  6. eva2000

    eva2000 Administrator Staff Member

    49,034
    11,232
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,483
    Local Time:
    4:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    Yeah need to move out of sandbox mode first
     
  7. modder

    modder Member

    91
    13
    8
    Dec 6, 2019
    Ratings:
    +21
    Local Time:
    2:10 PM
    Is there a template for Xenforo?

    My request for moving out of the sandbox:

    Code:
    Use case description: Developing an Xenforo forum website which is still behind the firewall now. SES will be used for sending account registration verification emails. Also notifying users of new PMs and system alerts.
    Mail Type: TRANSACTIONAL
    Amazon's response:

    Code:
    Thank you for submitting your request to increase your sending limits. We are unable to grant your request at this time because we do not have enough information about your use case.
    
    If you can provide additional information about how you plan to use Amazon SES, we may be able to grant your request. In your response, include as much detail as you can about your email-sending processes and procedures.
    
    For example, tell us how often you send email, how you maintain your recipient lists, and how you manage bounces, complaints, and unsubscribe requests. It is also helpful to provide examples of the email you plan to send so we can ensure that you are sending high-quality content.
    
    You can provide this information by replying to the correspondence, in the console link below. Our team provides an initial response to your request within 24 hours. If we’re able to do so, we'll grant your request within this 24-hour period. However, if we need to obtain additional information from you, it might take longer to resolve your request.
    
    Thank you for contacting Amazon Web Services.
    
     
  8. eva2000

    eva2000 Administrator Staff Member

    49,034
    11,232
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,483
    Local Time:
    4:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    Usually, the response is tailored to specific use case scenarios. For my paying clients that I help setup Amazon SES with, I usually work with them to tailor their response based on information including their email sending frequency etc. Just keep to that you want to use SES for transactional emails and not marketing.

    Also ensure the domain's and sending server hostname's email DNS records are setup properly first too to ensure you domain's email sending reputation is good and not in spam/blacklists. See https://community.centminmod.com/threads/6999/.
     
  9. modder

    modder Member

    91
    13
    8
    Dec 6, 2019
    Ratings:
    +21
    Local Time:
    2:10 PM
    Can I hide my server behind firewall (i.e. block all incoming traffic to my server except that from my working computer/mobile, etc) when requesting making the move out of the sandbox request? Or they must see my server first before making a positive decision?
     
  10. eva2000

    eva2000 Administrator Staff Member

    49,034
    11,232
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,483
    Local Time:
    4:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    Wouldn't make a difference I don't think, they'd go partially by your domain and IP sending reputation and they still ask to see your site url