managesieve support

This commit is contained in:
Elizabeth Hunt 2024-03-26 15:24:00 -04:00
parent 40523baacc
commit f305379de2
4 changed files with 16 additions and 0 deletions

View File

@ -33,6 +33,7 @@ roundcube_default_host: "ssl://mail.hatecomputers.club"
roundcube_default_port: 993
roundcube_smtp_host: "ssl://mail.hatecomputers.club"
roundcube_smtp_port: 465
roundcube_plugins: "archive,zipdownload,managesieve,markasjunk"
roundcube_oauth2_auth_uri: "https://auth.hatecomputers.club/ui/oauth2"
roundcube_oauth2_user_uri: >

View File

@ -57,6 +57,14 @@
group: root
mode: 0777
- name: Build roundcube sieve plugin config
ansible.builtin.template:
src: sieve.inc.php.j2
dest: /etc/docker/compose/mail/docker-data/roundcube/config/sieve.inc.php
owner: root
group: root
mode: 0777
- name: Build mail docker-compose.yml.j2
ansible.builtin.template:
src: docker-compose.yml.j2

View File

@ -13,6 +13,7 @@ services:
environment:
- ROUNDCUBEMAIL_DB_TYPE=sqlite
- ROUNDCUBEMAIL_SKIN=elastic
- ROUNDCUBEMAIL_PLUGINS={{ roundcube_plugins }}
- ROUNDCUBEMAIL_DEFAULT_HOST={{ roundcube_default_host }}
- ROUNDCUBEMAIL_DEFAULT_PORT={{ roundcube_default_port }}
- ROUNDCUBEMAIL_SMTP_SERVER={{ roundcube_smtp_host }}
@ -27,6 +28,7 @@ services:
- 0.0.0.0:465:465
- 0.0.0.0:587:587
- 0.0.0.0:993:993
- 0.0.0.0:4190:4190
volumes:
- ./docker-data/dms/mail-data/:/var/mail/
- ./docker-data/dms/mail-state/:/var/mail-state/
@ -41,6 +43,7 @@ services:
- ENABLE_AMAVIS=1
- ENABLE_FAIL2BAN=1
- ENABLE_SASLAUTHD=1
- ENABLE_MANAGESIEVE=1
- ENABLE_POSTGREY=0
- SPOOF_PROTECTION=1

View File

@ -0,0 +1,4 @@
<?php
$config['managesieve_host'] = "tls://{{ mail_domain }}";
$config['managesieve_auth_type'] = "PLAIN";