diff --git a/dockerfiles/postfix/main.cf b/dockerfiles/postfix/main.cf index 5ea4776..84b08db 100644 --- a/dockerfiles/postfix/main.cf +++ b/dockerfiles/postfix/main.cf @@ -3,12 +3,12 @@ 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 = mail.virt.local +myhostname = virt.local # disable all compatibility levels compatibility_level = 9999 -# virtual_mailbox_domains = mail.virt.local -# virtual_mailbox_maps = lmdb:/etc/postfix/virtual -# virtual_alias_maps = lmdb:/etc/postfix/virtual -# virtual_transport = lmtp:dovecot.default.svc.cluster.local:24 \ No newline at end of file +virtual_mailbox_domains = virt.local +virtual_mailbox_maps = lmdb:/etc/postfix/virtual +virtual_alias_maps = lmdb:/etc/postfix/virtual +virtual_transport = lmtp:dovecot.default.svc.cluster.local:24 \ No newline at end of file diff --git a/dockerfiles/postfix/virtual b/dockerfiles/postfix/virtual index c8723d6..fdb0d60 100644 --- a/dockerfiles/postfix/virtual +++ b/dockerfiles/postfix/virtual @@ -1 +1 @@ -@mail.virt.local user@mail.virt.local \ No newline at end of file +@virt.local user@virt.local \ No newline at end of file diff --git a/kustomize/dovecot-svc.yaml b/kustomize/dovecot-svc.yaml index 1890d9e..1609832 100644 --- a/kustomize/dovecot-svc.yaml +++ b/kustomize/dovecot-svc.yaml @@ -10,6 +10,11 @@ spec: port: 143 protocol: TCP targetPort: 143 + name: imap + - nodePort: 30024 + port: 24 + targetPort: 24 + name: lmtp selector: app: dovecot tier: imap