dataset/seed/applicationservice/2022.03.08/relay-mail-client/dictionaries/20_smtp_client.xml

42 lines
1.8 KiB
XML
Raw Normal View History

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">
<file>/etc/pki/ca-trust/source/anchors/ca_MailRelay.crt</file>
</service>
</services>
<variables>
<family name="smtp" description="Client SMTP">
<variable name="smtp_relay_address" type="domainname" description="Nom de domaine du serveur SMTP" mandatory="True"/>
<variable name="smtp_relay_user" type="unix_user" description="Relay username" mandatory="True" hidden="True"/>
<variable name="smtp_relay_password" type="secret" description="Relay password" mandatory="True" hidden="True"/>
</family>
</variables>
<constraints>
2022-06-25 08:11:37 +02:00
<fill name="get_provider_name">
<param type="variable">zone_name_eth0</param>
<param>SMTP</param>
<target>smtp_relay_address</target>
</fill>
2022-03-08 19:42:28 +01:00
<fill name="set_linked">
<param name="linked_server" type="variable">smtp_relay_address</param>
<param name="linked_provider">mail</param>
<param name="linked_value" type="variable">domain_name_eth0</param>
<target>smtp_relay_user</target>
</fill>
<fill name="get_linked_configuration">
<param name="linked_server" type="variable">smtp_relay_address</param>
<param name="linked_provider">mail_password</param>
<param name="dynamic" type="variable">smtp_relay_user</param>
<target>smtp_relay_password</target>
</fill>
<check name="set_linked_configuration">
<param name="linked_server" type="variable">smtp_relay_address</param>
<param name="linked_provider">mail_ip</param>
<param name="linked_value" type="variable">ip_eth0</param>
<param name="dynamic" type="variable">smtp_relay_user</param>
<target>smtp_relay_password</target>
</check>
</constraints>
</rougail>