Sign inSign up

ax2009live/postfix

By ax2009live

•Updated over 3 years ago

Image
0

97

ax2009live/postfix repository overview

https://github.com/ax2009live/postfix⁠

跟 catatnight/postfix 对比,修改如下

/etc/postfix/main.cf 
增加 message_size_limit = 51200000      邮件大小 10M 限制修改为 50M;
增加 smtp_tls_security_level = may      postfix与外部邮件服务器连接时使用tls,
在 Postfix 上做 SMTP 中继,并隐藏原邮件服务器的信息
/etc/postfix/main.cf   增加 header_checks = regexp:/etc/postfix/header_checks
/etc/postfix/header_checks 添加 “ /^Received:/ IGNORE ” 

Enable TLS(587): save your SSL certificates .key and .crt to /path/to/certs

Login credential should be set to ([email protected]⁠, pwd) in Smtp Client

smtp 客户端用户 [email protected]⁠,密码:pwd

$ sudo docker run -d \
	--restart=always \
	--name postfix \
	-p 587:587 \
	-e maildomain=mail.example.com \
	-e smtp_user=user:pwd \
	-v /path/to/certs:/etc/postfix/certs \
	ax2009live/postfix:v1.0

Tag summary

Content type

Image

Digest

sha256:fe740fd82…

Size

61.4 MB

Last updated

over 3 years ago

docker pull ax2009live/postfix:v1.0