Fix postfix, added 2 ports to opened dovecot

This commit is contained in:
Quentin Legot 2023-10-12 16:02:20 +02:00
parent 2514d7cdb3
commit d9a024cd5d
3 changed files with 11 additions and 6 deletions

View File

@ -3,12 +3,12 @@ maillog_file = /dev/stdout
# this setting has several side-effects, e.g. the domain of this mail # 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 # server is now example.com, http://www.postfix.org/postconf.5.html#mydomain
myhostname = mail.virt.local myhostname = virt.local
# disable all compatibility levels # disable all compatibility levels
compatibility_level = 9999 compatibility_level = 9999
# virtual_mailbox_domains = mail.virt.local virtual_mailbox_domains = virt.local
# virtual_mailbox_maps = lmdb:/etc/postfix/virtual virtual_mailbox_maps = lmdb:/etc/postfix/virtual
# virtual_alias_maps = lmdb:/etc/postfix/virtual virtual_alias_maps = lmdb:/etc/postfix/virtual
# virtual_transport = lmtp:dovecot.default.svc.cluster.local:24 virtual_transport = lmtp:dovecot.default.svc.cluster.local:24

View File

@ -1 +1 @@
@mail.virt.local user@mail.virt.local @virt.local user@virt.local

View File

@ -10,6 +10,11 @@ spec:
port: 143 port: 143
protocol: TCP protocol: TCP
targetPort: 143 targetPort: 143
name: imap
- nodePort: 30024
port: 24
targetPort: 24
name: lmtp
selector: selector:
app: dovecot app: dovecot
tier: imap tier: imap