Sign inSign up

wtfo/wtfmta

By wtfo

Updated over 6 years ago

Docker minimal postfix mta to handling mail server duties for a private network

Image
0

1.7K

wtfo/wtfmta repository overview

Docker image wtfmta

This is my first attempt to move regular services to my new docker swarm consisting of a variety of systems I have in my home. This is a minimalistic postfix mta supporting relay to and external smtp server. In my case that is a server on mail.com where my $10 annual fee allows me to send mail via their smtp server. The only annoyance it that I can only send mail from my userid (or one of my alias useris), hence the support for the ALLMAILFROM environment variable. I have not used google's smtp service, but I read that it does the rewrite of from automatically. Regardless this image should handle any standard smtp service as a relay.

ENVIRONMENT VARIABLES

NameOptionalDescription
POSTFIX_HOSTNAMENohostname postfix uses in helo
POSTFIX_RELAY_HOSTNohost:port of relay host ex: [smtp.mail.com]:587
POSTFIX_RELAY_USERNousername of relay host account
POSTFIX_RELAY_PASSWORDNopassword of relay host account
POSTFIX_ALLMAILFROMYesfrom addresses, envelope and client rewitten to this address

Tag summary

Content type

Image

Digest

Size

7 MB

Last updated

over 6 years ago

docker pull wtfo/wtfmta