2022-03-08 19:42:28 +01:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
|
|
|
<service name="smtp" manage="False">
|
2023-02-14 14:24:16 +01:00
|
|
|
<certificate authority="Mail" server="smtp_relay_address">smtp</certificate>
|
2022-03-08 19:42:28 +01:00
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
|
|
|
<family name="smtp" description="Client SMTP">
|
2022-08-18 10:19:43 +02:00
|
|
|
<variable name="smtp_relay_address" type="domainname" description="Nom de domaine du serveur SMTP" mandatory="True" supplier="SMTP"/>
|
2022-12-25 17:08:52 +01:00
|
|
|
<variable name="smtp_relay_ip" type="ip" hidden="True"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="smtp_relay_user" type="unix_user" description="Relay username" mandatory="True" hidden="True"/>
|
2022-08-18 10:19:43 +02:00
|
|
|
<variable name="smtp_relay_password" type="secret" description="Relay password" mandatory="True" hidden="True" supplier="SMTP:password"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
2022-08-18 10:19:43 +02:00
|
|
|
<fill name="normalize_family">
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<target>smtp_relay_user</target>
|
|
|
|
</fill>
|
2022-08-18 10:19:43 +02:00
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">smtp_relay_address</param>
|
|
|
|
<param name="username" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="description">local authentification</param>
|
|
|
|
<param name="type">cleartext</param>
|
|
|
|
<param name="hide" type="variable">hide_secret</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<target>smtp_relay_password</target>
|
|
|
|
</fill>
|
2022-12-25 17:08:52 +01:00
|
|
|
<fill name="get_ip">
|
|
|
|
<param type="information">zones</param>
|
|
|
|
<param type="variable">smtp_relay_address</param>
|
|
|
|
<target>smtp_relay_ip</target>
|
|
|
|
</fill>
|
2022-03-08 19:42:28 +01:00
|
|
|
</constraints>
|
|
|
|
</rougail>
|