Skip to content

add AWS_SES_PORT env#278

Merged
tomav merged 1 commit intodocker-mailserver:masterfrom
bigpigeon:master
Aug 28, 2016
Merged

add AWS_SES_PORT env#278
tomav merged 1 commit intodocker-mailserver:masterfrom
bigpigeon:master

Conversation

@bigpigeon
Copy link
Copy Markdown
Contributor

ses often connection timeout that used 25 port, therefore I add a choosesable env

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" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should get AWS_SES_PORT on line 256 too, no?

Copy link
Copy Markdown
Contributor Author

@bigpigeon bigpigeon Aug 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you also replace 587 with 25th port
used 25th port was bad idea!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomav tomav merged commit 46278ec into docker-mailserver:master Aug 28, 2016
@tomav
Copy link
Copy Markdown
Contributor

tomav commented Aug 28, 2016

Thanks!

RichardFevrier pushed a commit to RichardFevrier/docker-mailserver that referenced this pull request Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants