From 0078e12129cc04b454247a3f278b7b5671e59a30 Mon Sep 17 00:00:00 2001 From: xiachengjia Date: Fri, 2 Sep 2016 18:25:56 +0800 Subject: [PATCH] issue: relayhost port --- target/start-mailserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index fdbaab2a..c6bfa435 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -255,7 +255,7 @@ if [ ! -z "$AWS_SES_HOST" -a ! -z "$AWS_SES_USERPASS" ]; then echo "Setting up outgoing email via AWS SES host $AWS_SES_HOST:$AWS_SES_PORT" echo "[$AWS_SES_HOST]:$AWS_SES_PORT $AWS_SES_USERPASS" >>/etc/postfix/sasl_passwd postconf -e \ - "relayhost = [$AWS_SES_HOST]:25" \ + "relayhost = [$AWS_SES_HOST]:$AWS_SES_PORT" \ "smtp_sasl_auth_enable = yes" \ "smtp_sasl_security_options = noanonymous" \ "smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd" \