ansible-collection-mailserver/roles/postfixadmin/defaults/main.yml

97 lines
3.3 KiB
YAML

---
postfixadmin_version: '3.3.15'
postfixadmin_installation_prefix: /opt/postfixadmin
postfixadmin_default_language: en
postfixadmin_database_type: mysqli
postfixadmin_database_host: localhost
postfixadmin_database_user: postfixadmin
postfixadmin_database_user_host: localhost
postfixadmin_database_name: postfixadmin
postfixadmin_database_socket: /run/mysqld/mysqld.sock
postfixadmin_database_port: 0 # socket by default
postfixadmin_database_prefix: ''
postfixadmin_smtp_server: localhost
postfixadmin_smtp_port: 25
postfixadmin_smtp_client: '{{ ansible_fqdn }}'
postfixadmin_encrypt: 'php_crypt:BLOWFISH'
postfixadmin_password_validation:
'/.{5}/': 'password_too_short 5'
'/([a-zA-Z].*){3}/': 'password_no_characters 3'
'/([0-9].*){2}/': 'password_no_digits 2'
postfixadmin_generate_password: false
postfixadmin_show_password: false
postfixadmin_page_size: 25
postfixadmin_default_aliases:
abuse: 'abuse@{{ ansible_domain }}'
hostmaster: 'hostmaster@{{ ansible_domain }}'
postmaster: 'postmaster@{{ ansible_domain }}'
webmaster: 'webmaster@{{ ansible_domain }}'
postfixadmin_domain_path: true
postfixadmin_domain_in_mailbox: false
postfixadmin_aliases: 10
postfixadmin_mailboxes: 10
postfixadmin_maxquota: 10
postfixadmin_domain_quota_default: 2048
postfixadmin_quota: false
postfixadmin_domain_quota: true
postfixadmin_transport: false
postfixadmin_transport_options:
- lmtp:unix:private/dovecot-lmtp
postfixadmin_alias_domain: true
postfixadmin_backup: false
postfixadmin_sendmail: true
postfixadmin_sendmail_all_admins: false
postfixadmin_fetchmail: true
postfixadmin_forgotten_user_password_reset: true
postfixadmin_forgotten_admin_password_reset: false
postfixadmin_password_expiration: false
postfixadmin_show_header_text: false
postfixadmin_header_text: ':: Postfix Admin ::'
postfixadmin_show_footer_text: true
postfixadmin_footer_text: 'Return to change-this-to-your.domain.tld'
postfixadmin_footer_link: 'http://change-this-to-your.domain.tld'
postfixadmin_emailcheck_resolve_domain: true
postfixadmin_welcome_text: |
Hi,
Welcome to your new mail account. You can manage your account at
{{ postfixadmin_base_url }}/users/login.php
If you have any problems or questions, feel free send us an email to
{{ postfixadmin_admin_email }}.
Regards
{{ postfixadmin_admin_name }}
postfixadmin_create_mailbox_subdirs_prefix: ''
postfixadmin_base_url: 'http://localhost/postfixadmin'
postfixadmin_bootstrap_login_user: root
postfixadmin_bootstrap_login_password: '' # attempt passwordless root login by default
postfixadmin_bootstrap_base_url: '{{ postfixadmin_base_url }}'
postfixadmin_database_postfix_user_host: localhost
postfixadmin_database_postfix_user: postfix
postfixadmin_database_postfix_hosts: 'unix:/run/mysqld/mysqld.sock'
postfixadmin_database_dovecot_user: postfix
postfixadmin_database_dovecot_hosts: '/run/mysqld/mysqld.sock'
# This permits disabled users to still read their mail, but will not allow them to send mail.
postfixadmin_permit_inactive_user_nosmtp: false
# allow login as <user> in addition to <user>@<domain>
# Only set this when when you're only serving a single domain or can otherwise avoid conflicts
postfixadmin_permit_localpart_login: false
postfixadmin_additional_config: ''
virtual_mail_home: /home/virtual
virtual_mail_uid: virtual
virtual_mail_gid: virtual