roundcube: set default SMTP port to 25 instead of 587, which failed because of missing SSL conf (local connexion does not need SSL)

This commit is contained in:
William Hirigoyen 2024-02-01 16:53:00 +01:00
parent bc07010aa6
commit 554bbaa36f
2 changed files with 11 additions and 1 deletions

View file

@ -97,6 +97,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* dovecot: add missing LDAP conf iterate_filter to exclude disabled accounts in users list (caused « User no longer exists » errors in commands listing users like « doveadm user -u '*' » or « doveadm expunge -u "*" mailbox INBOX savedbefore 7d »).
* dovecot: fix missing default mails
* webapps/roundcube & evoadminmail: make roles more idempotent (were failing when played twice)
* roundcube: set default SMTP port to 25 instead of 587, which failed because of missing SSL conf (local connexion does not need SSL)
### Removed

View file

@ -58,7 +58,7 @@
tags:
- roundcube
- name: configure roudcube imap port
- name: configure roundcube imap port
ansible.builtin.lineinfile:
dest: /etc/roundcube/config.inc.php
regexp: "\\$config\\['default_port'\\]"
@ -67,6 +67,15 @@
tags:
- roundcube
- name: configure roundcube smtp port
ansible.builtin.lineinfile:
dest: /etc/roundcube/config.inc.php
regexp: "\\$config\\['smtp_port'\\]"
insertafter: "\\$config\\['smtp_port'\\]"
line: "$config['smtp_port'] = 25;"
tags:
- roundcube
- name: configure managesieve plugin
ansible.builtin.copy:
src: /usr/share/roundcube/plugins/managesieve/config.inc.php.dist