dataset/seed/dovecot/templates/config-v1.1.xml

28 lines
1.1 KiB
XML
Raw Normal View History

2022-03-29 16:30:38 +02:00
<?xml version="1.0"?>
# GNUNUX: from https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat -->
2023-06-23 08:12:05 +02:00
{%set domain = rougail_variable %}
{%set leader = general.mail.domain.mail_domains[mail_domains.index(domain)] %}
{%set imap_domain = leader.imap_domainname %}
{%set submission_domain = leader.submission_domainname %}
2022-03-29 16:30:38 +02:00
<clientConfig version="1.1">
2023-06-23 08:12:05 +02:00
<emailProvider id="{{ domain }}">
<domain>{{ domain }}</domain>
<displayName>Services {{ domain }}</displayName>
<displayShortName>{{ domain }}</displayShortName>
2022-03-29 16:30:38 +02:00
<incomingServer type="imap">
2023-06-23 08:12:05 +02:00
<hostname>{{ imap_domain }}</hostname>
2022-03-29 16:30:38 +02:00
<port>993</port>
<socketType>SSL</socketType>
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
</incomingServer>
<outgoingServer type="smtp">
2023-06-23 08:12:05 +02:00
<hostname>{{ submission_domain }}</hostname>
2022-03-29 16:30:38 +02:00
<port>587</port>
<socketType>STARTTLS</socketType>
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
</outgoingServer>
</emailProvider>
</clientConfig>