1 {% if grains['host'] == "barium" %}
2 {% set pword_cmd = "pass personal/mail.friedersdorff.com/max@friedersdorff.com | head -n 1" %}
4 {% set pword_cmd = "pass mail.friedersdorff.com/max@friedersdorff.com | head -n 1" %}
8 source = imaps://max%40friedersdorff.com@mail.friedersdorff.com
9 source-cred-cmd = "{{ pword_cmd }}"
10 outgoing = smtps+plain://max%40friedersdorff.com@mail.friedersdorff.com
11 outgoing-cred-cmd = "{{ pword_cmd }}"
13 from = Maximilian Friedersdorff <max@friedersdorff.com>