mail: # image: tvial/docker-mailserver build: . hostname: mail domainname: domain.com ports: - "25:25" - "143:143" - "587:587" - "993:993" volumes: - ./spamassassin:/tmp/spamassassin/ - ./postfix:/tmp/postfix/ - ./letsencrypt/etc:/etc/letsencrypt environment: - DMS_SSL=letsencrypt