From 2514d7cdb3bf2e1e227aa1ee5f87f51445b16242 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Thu, 12 Oct 2023 15:37:49 +0200 Subject: [PATCH] Changed domain to dns records, remove lmtp from postfix config --- dockerfiles/postfix/main.cf | 8 ++++---- dockerfiles/postfix/virtual | 2 +- kustomize/roundcube-deployment.yaml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dockerfiles/postfix/main.cf b/dockerfiles/postfix/main.cf index f0e9a2b..5ea4776 100644 --- a/dockerfiles/postfix/main.cf +++ b/dockerfiles/postfix/main.cf @@ -8,7 +8,7 @@ myhostname = mail.virt.local # disable all compatibility levels compatibility_level = 9999 -virtual_mailbox_domains = main.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 = 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 diff --git a/dockerfiles/postfix/virtual b/dockerfiles/postfix/virtual index b4f9d28..c8723d6 100644 --- a/dockerfiles/postfix/virtual +++ b/dockerfiles/postfix/virtual @@ -1 +1 @@ -@mail.virt.local \ No newline at end of file +@mail.virt.local user@mail.virt.local \ No newline at end of file diff --git a/kustomize/roundcube-deployment.yaml b/kustomize/roundcube-deployment.yaml index 8c0904f..4ceb857 100644 --- a/kustomize/roundcube-deployment.yaml +++ b/kustomize/roundcube-deployment.yaml @@ -20,9 +20,9 @@ spec: image: roundcube/roundcubemail:latest env: - name: ROUNDCUBEMAIL_DEFAULT_HOST - value: mail-dovecot + value: imap.virt.local - name: ROUNDCUBEMAIL_SMTP_SERVER - value: mail-postfix + value: smtp.virt.local - name: ROUNDCUBEMAIL_SMTP_PORT value: "25" - name: ROUNDCUBEMAIL_DB_TYPE