--- # HCS hcs_update: false hcs_name: "cloud" hcs_home: "/{{ hcs_name }}" hcs_domain_external: "my-domain.tld" hcs_app_folder: /app hcs_shared_group: "hcs" hcs_python_envs: "{{ hcs_app_folder }}/pyenv" hcs_storage: /storage # Modoboa modoboa_user: modoboa modoboa_url: "mail.{{ hcs_domain_external }}" modoboa_instance_folder: "{{ hcs_app_folder }}/modoboa" modoboa_instance: "{{ modoboa_url.split('.')[:-1] | join('') | regex_replace('[^a-zA-Z0-9]+','') }}" modoboa_db_type: pgsql modoboa_db_host: localhost modoboa_db_configs: dbname: modoboa dbuser: modoboa dbpass: modoboapassword modoboa_storage: "{{ hcs_storage }}/modoboa" modoboa_version: psycopg2_version: 2.8.6 # Gunicorn gunicorn_loglevel: info gunicorn_backlog: 2048 #number of pending connections gunicorn_workers: 2 # is mostly 2-4 * CPU # Dovecot dovcot_target_instance: "{{ modoboa_instance_folder }}/{{ modoboa_instance }}" dovecot_config: - "protocols = imap pop3 lmtp" - "instance_name = {{ modoboa_instance }}" dovecot_process_limit: 32 dovecot_mailplugins: - quota # Postfix postfix_mapping_folder: "{{ postfix_dir }}/mappings" # OpenDKIM opendkim_port_listen: 12345 opendkim_config_lines: - "SOCKET=inet:{{ opendkim_port_listen }}@localhost" opendkim_config_lines_off: - "SOCKET=local:$RUNDIR/opendkim.sock"