autoconfig
autconfig
Creates autoconfig for automatic configuration of thunderbird.
Requirements
Needs a running webserver serving the /var/www/autoconfig/autoconfig.php
script for all requests.
Also a running php-fpm setup.
Role Variables
Name | Required/Default | Description |
---|---|---|
autoconfig_server |
:heavy_check_mark: | Ldap URI for the ldap server. |
autoconfig_user_dn |
:heavy_check_mark: | User DN for the binding user. |
autoconfig_password |
:heavy_check_mark: | Password for binding dn user. |
autoconfig_tree |
:heavy_check_mark: | Base DN for binding. |
autoconfig_user_filter |
:heavy_check_mark: | User filter. %m gets replaced with the mail address of the user. Example: (mail=%m) . |
autoconfig_id |
:heavy_check_mark: | The ID used in the Thunderbird autoconfiguration |
autoconfig_name |
:heavy_check_mark: | Name of the configuration |
autoconfig_short_name |
:heavy_check_mark: | Short name of the configuration |
autoconfig_incoming_server |
[] |
List of list of dicts |
autoconfig_outgoing_server |
[] |
List of list of dicts |
autoconfig_documentation |
[] |
List of list of dicts |
incoming-server
Name | Required/Default | Description |
---|---|---|
hostname |
:heavy_check_mark: | Hostname for the imap server. |
port |
:heavy_check_mark: | Port for the imap server. |
socketType |
:heavy_check_mark: | SocketType for the imap server (STARTTLS , SSL ...) |
authentication |
:heavy_check_mark: | Authentication for imap server (password-encrypted, password-cleartext ...). |
outgoing-server
Name | Required/Default | Description |
---|---|---|
hostname |
:heavy_check_mark: | Hostname for the smtp server. |
port |
:heavy_check_mark: | Port for the smtp server. |
socketType |
:heavy_check_mark: | SocketType for the smtp server (STARTTLS , SSL ...) |
authentication |
:heavy_check_mark: | Authentication for smtp server (password-encrypted, password-cleartext ...). |
documentation
Name | Required/Default | Description |
---|---|---|
url |
:heavy_check_mark: | URL for the documentation |
de |
:heavy_check_mark: | German documentation string |
en |
:heavy_check_mark: | English documentation string |
Example
autoconfig_server: 'ldaps://ldap.examle.de/';
autoconfig_user_dn: uid=myuser,ou=people,dc=example,dc=de"
autoconfig_password: "mypassword"
autoconfig_tree: dc=base,dc=de
php_fpm_pools:
- name: autoconfig
listen: /run/php/php-fpm-autoconfig.sock
user: www-data
group: www-data
listen_owner: www-data
pm: static
pm_max_children: 20
error_log: syslog
served_domains:
- domains:
- autoconfig.stuvus.uni-stuttgart.de.
privkey_path: /etc/ssl/autoconfig_privkey.pem
fullchain_path: /etc/ssl/autoconfig_fullchain.pem
default_server: false
allowed_ip_ranges:
- 129.69.139.0/25
https: true
crypto: true
root: /var/www/autoconfig
locations:
- condition: /
content: |
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/autoconfig.php;
fastcgi_intercept_errors on;
fastcgi_pass unix:/run/php/php-fpm-autoconfig.sock;
index_files:
- autoconfig.php
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Author Information
Install
ansible-galaxy install stuvusIT/autoconfig
License
cc-by-sa-4.0
Downloads
25
Owner
stuvus IT Team - Studierendenvertretung Universität Stuttgart