[horde] Gardening

main
_shirenn 2022-11-30 16:34:24 +01:00
parent ad0f9b6f5a
commit ee912e4838
3 changed files with 14 additions and 14 deletions

View File

@ -2,16 +2,9 @@
glob_horde:
secret: '{{ vault.horde.secret }}'
imap: imap.adm.crans.org
smtp: smtp.adm.crans.org
maildomain: crans.org
db: pgsql.adm.crans.org
admins:
- "'paulon'"
- "'vulcain'"
- "'graillot'"
- "'bombar'"
- "'pa'"
- "'erdnaxe'"
admins: "{{ vault.horde.admins }}"
redirection: https://wiki.crans.org/VieCrans/PagesDeDeconnexion/ERR_CHOOSE_WEBMAIL
src_hostname: horde.crans.org
dest_hostname: webmail.crans.org
@ -21,3 +14,5 @@ glob_horde:
zone_ipv6: fd00:0:0:10::/64
ipv4: "{{ query('ldap', 'ip4', ansible_hostname, 'adm') }}"
ipv6: "{{ query('ldap', 'ip6', ansible_hostname, 'adm') }}"
mailer:
host: redisdead.adm.crans.org

View File

@ -88,9 +88,12 @@ $conf['history']['params']['driverconfig'] = 'horde';
$conf['history']['driver'] = 'Sql';
$conf['davstorage']['params']['driverconfig'] = 'horde';
$conf['davstorage']['driver'] = 'Sql';
$conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
$conf['mailer']['params']['sendmail_args'] = '-oi';
$conf['mailer']['type'] = 'sendmail';
$conf['mailer']['type'] = 'smtp';
$conf['mailer']['params']['host'] = '{{ horde.mailer.host }}';
$conf['mailer']['params']['port'] = 587;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['params']['username_auth'] = true;
$conf['mailer']['params']['password_auth'] = true;
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['vfs']['type'] = 'Sql';
$conf['sessionhandler']['type'] = 'Builtin';

View File

@ -1,6 +1,6 @@
{{ ansible_header | comment(decoration='// ') }}
<?php
$servers['imp'] = array(
$servers['advanced'] = array(
// Disabled by default
'disabled' => false,
'name' => 'IMAP Cr@ns',
@ -11,8 +11,10 @@ $servers['imp'] = array(
'secure' => 'tls',
'maildomain' => '{{ horde.maildomain }}',
'smtp' => array(
'host' => '{{ horde.smtp }}',
'port' => 25,
'auth' => true,
'horde_auth' => true,
'host' => '{{ horde.mailer.host }}',
'port' => 587,
),
'cache' => false,
);