๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

156 lines
3.6 KiB

roundcube_user: roundcube
roundcube_group: webmail
roundcube_dir: /opt/roundcube
roundcube_enigma_dir: "{{ roundcube_dir }}/enigma-keys"
roundcube_fpm_socket: /var/run/php7-fpm.sock
roundcube_mime_types_file: mime.types
roundcube_custom_logo: no
roundcube_default_config:
db_dsnw: "pgsql://{{ database_user }}:{{ database_pass }}@{{ database_host }}/{{ database_name }}"
log_driver: syslog
log_logins: yes
imap_host: "tls://{{ mail_server.mua_actual_hostname ~ '.' ~ host_tld }}"
imap_conn_options:
ssl:
verify_peer: yes
capath: /etc/ssl/certs
imap_vendor: dovecot
imap_cache: db
messages_cache: yes
imap_cache_ttl: 2d
messages_cache_ttl: 2d
smtp_host: "tls://{{ mail_server.mta_actual_hostname ~ '.' ~ host_tld }}"
smtp_conn_options:
ssl:
verify_peer: yes
capath: /etc/ssl/certs
smtp_xclient_login: yes
smtp_xclient_addr: yes
enable_installer: no
skin_logo: "{{ { '[favicon]': 'custom/favicon.ico', '*': 'custom/logo.png' } if (roundcube_custom_logo | d(false) == true) else 'null' }}"
use_https: yes
login_rate_limit: 15
display_product_info: 2
session_lifetime: 40320
session_domain: ".{{ int_tld }}"
session_name: rc_sessid
session_auth_name: rc_sessauth
session_samesite: Strict
proxy_whitelist:
- 127.0.0.1
des_key: "{{ (host_name ~ 'des_key') | hash('sha512') | truncate(24, False, '') }}"
cipher_method: ChaCha20-Poly1305
username_domain: "{{ mail_server.tld }}"
username_domain_forced: yes
max_message_size: "{{ mail_server.max_mail_size_bytes | int }}"
max_disclosed_recipients: 10
product_name: "{{ org }} | Mail"
useragent: "null"
identities_level: 0
identity_image_size: 128
mime_types: "{{ roundcube_dir }}/config/{{ roundcube_mime_types_file }}"
language: en_US
date_format: "d.m.Y"
date_long: "d.m.Y H:i"
drafts_mbox: Drafts
junk_mbox: Junk
sent_mbox: Sent
trash_mbox: Trash
min_refresh_interval: 30
undo_timeout: 10
enable_spellcheck: yes
spellcheck_engine: pspell
spellcheck_languages:
en: English
ru: ะ ัƒััะบะธะน
contact_form_mode: business
collected_recipients: yes
collected_senders: yes
addressbook_sort_col: name
show_images: 3
htmleditor: 4
draft_autosave: 60
refresh_interval: 30
check_all_folders: yes
reply_mode: 1
default_font: Tahoma
message_show_email: yes
roundcube_plugins:
- name: persistent_login
where: texxasrulez/persistent_login
major: 1
config:
ifpl_login_expire: 40320
ifpl_cookie_name: "rc_{{ org | lower | replace(' ', '') }}_plogin"
- name: contextmenu
where: johndoh/roundcube-contextmenu
- name: html5_notifier
where: stremlau/html5_notifier
config:
html5_notifier_duration: 2
html5_notifier_smbox: 2
- name: show_folder_size
where: jfcherng-roundcube/plugin-show-folder-size
- name: zipdownload
- name: userinfo
- name: attachment_reminder
- name: hide_blockquote
- name: reconnect
- name: filesystem_attachments
- name: markasjunk
config:
markasjunk_read_spam: yes
- name: enigma
config:
enigma_pgp_homedir: "{{ roundcube_enigma_dir }}"
enigma_pgp_cipher_algo: "null"
enigma_pgp_digest_algo: "null"
enigma_signatures: yes
enigma_decryption: yes
enigma_encryption: yes
enigma_password_time: 120
enigma_passwordless: yes
- name: managesieve
config:
managesieve_host: "tls://{{ mail_server.mua_actual_hostname ~ '.' ~ host_tld }}"
managesieve_conn_options:
ssl:
verify_peer: yes
capath: /etc/ssl/certs
managesieve_mbox_encoding: UTF-8