Want to subscribe to topics you're interested in?
Become a Member

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

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 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

    835
    170
    43
    Jun 30, 2017
    Ratings:
    +256
    Local Time:
    1:21 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

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 PM
    Same result after having info@mydomain.com verified.

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

    eva2000 Administrator Staff Member

    54,600
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 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

    54,600
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah need to move out of sandbox mode first
     
  7. modder

    modder Member

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 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

    54,600
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 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

    54,600
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
     
  11. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    11:21 PM
    1.21.6
    MariaDB 10.3.36
    nope... you HAVE to move it out of sandbox to get it to send outside mail.

    I recently have been battling this very thing... I have Amazone SES sending may mail, but the actual inbound email goes to another service provider. It's been a bear on getting configured, but Amazon SES works MUCH better than Zoho for sending email.

    Of course, I don't know about deliverability (other than some checks that I did that showed OK)... as I haven't gotten any new users to my site other than spammers, and they've been limited since I went to 2/2 on the spam check sutff.
     
  12. modder

    modder Member

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 PM
    I don't really know how bounced mails, complaints, etc are handled with xenforo and centminmod. :yuck:

    I'm just taking it as a regular forum..
     
  13. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    11:21 PM
    1.21.6
    MariaDB 10.3.36
    This is what I am doing:
    All email that originates from no_reply@astrowhat.com processes through Amazon SES being sent from mail.astrowhat.com.
    All inbound email goes to my ZoHo accounts (admin@astrowhat.com, tracy@astrowhat.com and the bounce and unsubscribe accounts). So far, it seems to be working fine as I get inbound email to my astrowhat.com domain, and when I checked the sending from the XF ACP via a checker, I get a 9.5 out of a 100 score.
    Screen Shot 2022-08-16 at 8.48.12 AM.png
     
  14. modder

    modder Member

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 PM
    Just got moved out of the sandbox. Thank you all for your help!
     
  15. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    11:21 PM
    1.21.6
    MariaDB 10.3.36
    BTW, for a change my emails to hotmail actually get delivered successfully now!
    Since my site is new, I have very few users and send VERY little email currently... but even 50K a month on the free tier should keep me going for a while.
    I tried setting up receiving of email via Amazon SES, but it was WAY more hassle than it was worth. You had to set up an S3 bucket, then jump through about 10 dozen hoops.
     
  16. modder

    modder Member

    117
    16
    18
    Dec 6, 2019
    Ratings:
    +27
    Local Time:
    1:21 PM
    I just created an email account in Google Workspace account. Then created some aliases for this account. It's just $6 per month.
     
  17. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    11:21 PM
    1.21.6
    MariaDB 10.3.36
    Problem with the Google Workspace email accounts is they are rather restrictive on sending limits (I have them for my ride-texas.org domain).
    With setting up SES, you get 50K sends a month for free... and then even at 200K a month sends (which is an ungodly amount for a forum) you are only looking at roughly $20 USD a month.
    I avoided Amazon SES like a plague... then finally broke down and REALLY like them now.... as I said, I had NO issues with it sending confirmation emails into my Hotmail account... and shitty Microsoft tended to mark many of my other sending providers as spam. It WAS a little difficult to get set up as their instructions are rather shitty...and this coming from someone who has been messing with computers since 1985 and has been administering Linux and Windows serves since 1998.
     
  18. eva2000

    eva2000 Administrator Staff Member

    54,600
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Glad to hear! Enjoy better email deliverability now :D

    Good to know. I still ban hotmail emails on this forum so have no idea how well they do these days :)

    hehe. I use Amazon SES for all transactional email sites/forums as well. But this year also tried Pepipost/Netcore Email for transactional SMTP and slightly more expensive but easier to set up - needed an alternative for clients or situations where getting Amazon SES out-of-sandbox approvals are declined :)

    Best AMAZON SES Alternative | Compare SMTP Pricing & Features

    Pepipost/Netcore SMTP also remove real server IP from email headers like Amazon SES. Nice to have both SMTP providers SES + Pepipost options and even play with conditional Postfix MTA relay SMTP using sender_dependent_relayhost_maps so I can conditionally send emails with either provider depending on the email address' FROM sender :)
     
  19. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    11:21 PM
    1.21.6
    MariaDB 10.3.36
    hehehehe... most people would classify a 50% plus increase over most tiers as a little more than "slightly". ;)

    That's kind of like saying a a Skywatcher EQ-8 RH is slightly more expensive than a Skywatcher EQ-6 Pro. :whistle:
    BTW, anyone want to donate an EQ-8 RH to a worthy cause?:ROFLMAO:
     
    Last edited: Aug 18, 2022
  20. eva2000

    eva2000 Administrator Staff Member

    54,600
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    3:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    LOL price is relative, there's more more expensive SMTP transactional providers out there :D