fix mail
This commit is contained in:
parent
eb7b20ebbc
commit
5593f9530f
@ -78,3 +78,15 @@
|
||||
state: restarted
|
||||
enabled: true
|
||||
name: docker-compose@mail
|
||||
|
||||
- name: Allow SMTP
|
||||
ansible.builtin.ufw:
|
||||
rule: allow
|
||||
port: "465"
|
||||
proto: "tcp"
|
||||
|
||||
- name: Allow IMAP
|
||||
ansible.builtin.ufw:
|
||||
rule: allow
|
||||
port: "993"
|
||||
proto: "tcp"
|
||||
|
@ -22,6 +22,8 @@ services:
|
||||
- ROUNDCUBEMAIL_DEFAULT_PORT={{ roundcube_default_port }}
|
||||
- ROUNDCUBEMAIL_SMTP_SERVER={{ roundcube_smtp_host }}
|
||||
- ROUNDCUBEMAIL_SMTP_PORT={{ roundcube_smtp_port }}
|
||||
networks:
|
||||
- roundcube
|
||||
|
||||
mailserver:
|
||||
image: ghcr.io/docker-mailserver/docker-mailserver:latest
|
||||
@ -80,3 +82,9 @@ services:
|
||||
- PERMIT_DOCKER=host #fix SPF fail by copying the IPv4 of the docker container into the postfix cfg
|
||||
extra_hosts:
|
||||
- {{ ldap_server }}:{{ ldap_intranet }}
|
||||
networks:
|
||||
- mailserver
|
||||
|
||||
networks:
|
||||
mailserver:
|
||||
roundcube:
|
||||
|
Loading…
Reference in New Issue
Block a user