Skip to content

SSM binary

Compare
Choose a tag to compare
@duttonw duttonw released this 15 Mar 03:57
· 2 commits to ssm-check-relay since this release

This includes a major update to include SSM parameter store loading as well as ses override to use smtp direct (if you need to user a mock smtp server in performance test cases)

Arguments

usage: aws-smtp-relay
usage: aws-smtp-relay
 -a,--sourceArn <arg>           AWS ARN of the sending authorization policy
 -b,--bindAddress <arg>         Address to listen to
 -c,--configuration <arg>       AWS SES configuration to use
 -h,--help                      Display this help
 -p,--port <arg>                Port number to listen to
 -r,--region <arg>              AWS region to use
 -smtpH,--smtpHost <arg>        SMTP variable Host
 -smtpO,--smtpOverride <arg>    Not use SES but set SMTP variables
                                true/false
 -smtpP,--smtpPort <arg>        SMTP variable Port
 -smtpPW,--smtpPassword <arg>   SMTP variable password
 -smtpU,--smtpUsername <arg>    SMTP variable Username
 -ssm,--ssmEnable               Use SSM to get configuration
 -ssmP,--ssmPrefix <arg>        SSM prefix to find variables default is
                                /smtpRelay

If ssm (Simple Systems Manager) Paramater store is used please add to your region
https://ap-southeast-2.console.aws.amazon.com/systems-manager/parameters
once setup, you can change the configuration by restarting the service or rebooting the ec2 instance

                /smtpRelay/region 
                /smtpRelay/configuration 
                /smtpRelay/sourceArn 
                /smtpRelay/smtpOverride
                /smtpRelay/smtpHost
                /smtpRelay/smtpPort
                /smtpRelay/smtpUsername
                /smtpRelay/smtpPassword

"/smtpRelay" can be changed with -ssmP

smtpOverride allows you to point it to a mail catcher such as MailHog to disable outbound email