Get the most out of your Centmin Mod LEMP stack
Become a Member

Sysadmin Where to start, or end, AmazonSES

Discussion in 'System Administration' started by Colin, Jan 24, 2017.

  1. Colin

    Colin Premium Member Premium Member

    122
    35
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +87
    Local Time:
    5:43 PM
    1.11.#
    MariaDB 10.1.#
    I've no idea where to go on this, mainly as I've been at an upgrade all day. :wideyed:
    This morning I was on 5.6.27 IIRC and IPS forum 3.4.6 after much testing on other servers running 4.1+ and php 7 I pulled the plug and upgraded... yay.

    After a few minutes emails started to error, no real status codes, IPS kind of strips that. I've got SES configured to send via TLS SMTP. The only thing that I believe to have changed is the version of PHP and the code to send the smtp mail. Problem is it hurts the users experience a lot.

    Anyone else using SES and php 7.1.15?

    I've temporarily lashed it into sparkpost ( although sent, few are delivered, shared ip pool )

    I'm going to wind it back to 5.6.# and see if it continues... any other ideas, google hasn't yielded anything constructive on the .15 release.

    Thanks to centminmod changing the php version isn't that scary or difficult. Almost easier than enterprise litespeed :)
     
  2. Jimmy

    Jimmy Premium Member Premium Member

    1,166
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    12:43 PM
    1.13.x
    MariaDB 10.1.x
    Misread the post. Glad your update went well.

    I might try Amazon this week when I upgrade... see what happens.
     
    Last edited: Jan 24, 2017
  3. Colin

    Colin Premium Member Premium Member

    122
    35
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +87
    Local Time:
    5:43 PM
    1.11.#
    MariaDB 10.1.#
    It all went well except for a png error as I didn't have the imagemagick php lib installed. Passed the initial test too.

    The only thing I didn't test on test as the ability to ping loads of updates to followers/forum following. Something is a miss; as amazon hasn't skipped a beat and no failures reported by amazon. Time to yank the php book from under my printer and get grokking.

    I'll update if /when I find it :)
     
  4. Jimmy

    Jimmy Premium Member Premium Member

    1,166
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    12:43 PM
    1.13.x
    MariaDB 10.1.x
    So your issue is that IPB isn't connecting with SES? You're not sending out mail?
     
  5. Colin

    Colin Premium Member Premium Member

    122
    35
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +87
    Local Time:
    5:43 PM
    1.11.#
    MariaDB 10.1.#
    In essence yes. I've re-applied the settings; just in case, and no difference. Smtp error code is either the message id ( I think hex string ) or 0.
    Point it to sparkpost api and it fires fine. I don't have another smtp provider to shake test... that or php version, but given it works on another site on php7 I'm inclined to think something else is afoot. Sleep will probably cure it.
     
  6. Jimmy

    Jimmy Premium Member Premium Member

    1,166
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    12:43 PM
    1.13.x
    MariaDB 10.1.x
    Make sure you've opened the port in CSF. I don't use SES but I did have to open a port when setting up sparkpost, mailgun, mandrill.
     
  7. inthecloudblog

    inthecloudblog Active Member

    194
    36
    28
    Jan 26, 2016
    Ratings:
    +82
    Local Time:
    2:43 PM
    1.4.6
    We simply use Sendy with VPSdime.. Each newsletter has like 20 k emails
     
  8. Colin

    Colin Premium Member Premium Member

    122
    35
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +87
    Local Time:
    5:43 PM
    1.11.#
    MariaDB 10.1.#
    Same box as this morning. But worth a sanity check...

    This is purely for daily/notification mails. I stopped sending 'newsletters' with IPB, took too long. On my todo list to reinvigorate.
     
    Last edited: Jan 24, 2017
  9. eva2000

    eva2000 Administrator Staff Member

    31,001
    6,920
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,426
    Local Time:
    3:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    why i coded it that way for Centmin Mod :)

    is this a new SES account which worked previously or fresh virgin SES ? as you maybe still in sandbox mode and have yet to apply to AWS support to move out of sandbox mode to send real emails ? try re-creating a new AWS IAM user for the SES instance and try.
     
  10. eva2000

    eva2000 Administrator Staff Member

    31,001
    6,920
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,426
    Local Time:
    3:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    465 and 587 should be open by default in 123.09beta01. Which port did you need whitelisting ?
     
  11. Jimmy

    Jimmy Premium Member Premium Member

    1,166
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    12:43 PM
    1.13.x
    MariaDB 10.1.x
    I'm still on v3 on cPanel. Haven't upgraded yet to v4 and Centmin mod. Had to open the port in CSF on cPanel. Figured I'd throw it out there just in case. Good to know those ports are open in CMM.
     
    • Informative Informative x 1
  12. eva2000

    eva2000 Administrator Staff Member

    31,001
    6,920
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,426
    Local Time:
    3:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    ah i see ! yeah cpanel's csf default has some ports left out for smtp outbound. Centmin Mod early CSF had same, but changed it :)
     
    • Like Like x 1
  13. Colin

    Colin Premium Member Premium Member

    122
    35
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +87
    Local Time:
    5:43 PM
    1.11.#
    MariaDB 10.1.#
    It was a working account in the morning, upgraded site and then php... no changes to server, csf or credentials, just code and php; not much then & definitely more than one, kind of broke my own rules there for a day :(.

    Another centmin box running 4.1.17 on php 7.1.15 is working although with a different domain. Slightly fresher eyes today. Will make a new IAM, just in case, then begin reversing and comparing.