webserver-k8s/dockerfiles/postfix/main.cf

15 lines
579 B
CFEngine3

# Log everything to standard out
maillog_file = /dev/stdout
# this setting has several side-effects, e.g. the domain of this mail
# server is now example.com, http://www.postfix.org/postconf.5.html#mydomain
myhostname = smtp.virt.local
mynetworks = 127.0.0.0/8 10.0.0.0/8 192.0.0.0/8 172.17.0.0/16
# disable all compatibility levels
compatibility_level = 9999
virtual_mailbox_domains = imap.virt.local virt.local
virtual_mailbox_maps = lmdb:/etc/postfix/vmailbox
virtual_alias_maps = lmdb:/etc/postfix/virtual
virtual_transport = lmtp:mail-dovecot.default.svc.cluster.local:24