forked from stove/dataset
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
---
|
|
version: 1.1
|
|
|
|
smtp: # Client SMTP
|
|
|
|
smtp_relay_address:
|
|
type: domainname
|
|
supplier: SMTP
|
|
hidden: true
|
|
|
|
smtp_relay_ip:
|
|
type: ip
|
|
hidden: true
|
|
default:
|
|
jinja: >-
|
|
{{ zones | get_ip(_.smtp_relay_address) }}
|
|
params:
|
|
zones:
|
|
information: zones
|
|
|
|
smtp_client_ip:
|
|
type: ip
|
|
hidden: true
|
|
default:
|
|
jinja: >-
|
|
{{ _.smtp_relay_ip | get_local_smtp_info(ip_eth, network_eth) }}
|
|
params:
|
|
ip_eth:
|
|
variable: general.network.interface_{{ suffix }}.ip
|
|
network_eth:
|
|
variable: >-
|
|
general.network.interface_{{ suffix }}.network
|
|
|
|
smtp_relay_user:
|
|
hidden: true
|
|
supplier: SMTP:username
|
|
default:
|
|
jinja: >-
|
|
{{ _.smtp_relay_ip | get_local_smtp_info(domain_name,
|
|
network_eth,
|
|
normalize=true)
|
|
}}
|
|
params:
|
|
network_eth:
|
|
variable: >-
|
|
general.network.interface_{{ suffix }}.network
|
|
domain_name:
|
|
variable: >-
|
|
general.network.interface_{{ suffix }}.domain_name
|
|
|
|
smtp_relay_password:
|
|
type: secret
|
|
hidden: true
|
|
supplier: SMTP:password
|
|
default:
|
|
jinja: >-
|
|
{{ general.network.interface_0.domain_name |
|
|
get_password(server_name=_.smtp_relay_address,
|
|
description="local authentification",
|
|
type="cleartext",
|
|
hide=general.hide_secret)
|
|
}}
|