Welcome to Centmin Mod Community
Register Now

Master Branch update tools/emailnotify.sh add AWS SES smtp support in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 30, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    45,420
    10,304
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,983
    Local Time:
    3:40 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    update tools/emailnotify.sh add AWS SES smtp support in 123.09beta01

    - Update tools/emailnotify.sh to support AWS SES smtp server credential based email sending for more reliable email delivery. For prior info on how tools/emailnotify.sh worked read https://community.centminmod.com/threads/add-tools-emailnotify-sh-in-123-09beta01.18184/
    - To switch tools/emailnotify.sh to use AWS SES smtp server, you need to have created an Amazon SES smtp credential username/password and obtained your Amazon SES smtp server name. You will need to populate the below variables within persistent config file at /etc/centminmod/custom_config.inc with the following - where EMAILNOTIFY_SES_FROM_EMAIL is your verified email address you setup in Amazon SES settings and EMAILNOTIFY_SES_TO_EMAIL is your desired email address you want tools/emailnotify.sh to send emails to. The EMAILNOTIFY_SES_SMTP_SERVER would be the one displayed to you when you configured your specific Amazon SES region smtp mail server i.e. email-smtp.us-east-1.amazonaws.com

    EMAILNOTIFY_SES='y'
    EMAILNOTIFY_SES_FROM_EMAIL='your_ses_verified_from_email_address'
    EMAILNOTIFY_SES_TO_EMAIL='your_desired_email_to_receive_server_emails'
    # CC and BCC options are optional. If not need, set and leave empty without a value
    EMAILNOTIFY_SES_CC_EMAIL='your_desired_cc_email_to_receive_server_emails'
    EMAILNOTIFY_SES_BCC_EMAIL='your_desired_bcc_email_to_receive_server_emails'
    EMAILNOTIFY_SES_SMTP_USERNAME='your_ses_smtp_username'
    EMAILNOTIFY_SES_SMTP_PASSWORD='your_ses_smtp_password'
    EMAILNOTIFY_SES_SMTP_SERVER='your_ses_smtp_server'
    EMAILNOTIFY_SES_SMTP_PORT='587'

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.