Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.
/ aws-ec2-ses Public archive

Setup sendmail to use AWS SES Service send Email on EC2 instance.

Notifications You must be signed in to change notification settings

alexzhangs/aws-ec2-ses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-ec2-ses

This project is depracated and the feature is moved to project xsh-lib/aws, and can be called as xsh ses/ec2/setup.

Setup Sendmail to use a configured AWS SES Service send Email on EC2 instance.

This repo is referring to: Integrating Amazon SES with Sendmail.

About how to configure AWS SES on the AWS cloud side, refer to AWS SES document.

Installation

git clone https://github.com/alexzhangs/aws-ec2-ses
sudo bash aws-ec2-ses/install.sh

Configuration

aws-ec2-ses-setup needs to be run under root.

aws-ec2-ses-setup
    -d SES_DOMAIN
    -r REGION
    -u SMTP_USERNAME
    -p SMTP_PASSWORD
    -m SMTP_AUTH_METHOD
    [-t TEST_EMAIL_SEND_TO]
    [-h]

OPTIONS
    -d SES_DOMAIN

    Domain setup in AWS SES.

    -r REGION

    AWS Region used by SES.

    -u SMTP_USERNAME

    Username of AWS SES SMTP.

    -p SMTP_PASSWORD

    Username of AWS SES SMTP.

    -m SMTP_AUTH_METHOD

    SMTP authentication method. The only method supported by AWS SES
    is 'PLAIN' by now (2019-07).

    [-t TEST_EMAIL_SEND_TO]

    An Email address to test this setup.

    [-h]

    This help.

Example:

aws-ec2-ses-setup -d <yourdomain.com> -r us-west-2 -u <smtp_username> -p <smtp_password> -m PLAIN

About

Setup sendmail to use AWS SES Service send Email on EC2 instance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages