36 lines
1.6 KiB
XML
36 lines
1.6 KiB
XML
<?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>
|
|
<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>
|