]> git.friedersdorff.com Git - max/saltfiles.git/blob - accounts.jinja
c8422762c82590cdfbb83cb1e4861c08a4a69240
[max/saltfiles.git] / accounts.jinja
1 {% if grains['host'] == "barium" %}
2         {% set pword_cmd = "pass personal/mail.friedersdorff.com/max@friedersdorff.com | head -n 1" %}
3 {% else %}
4         {% set pword_cmd = "pass mail.friedersdorff.com/max@friedersdorff.com | head -n 1" %}
5 {% endif %}
6
7 [Personal]
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 }}"
12 default  = INBOX
13 from     = Maximilian Friedersdorff <max@friedersdorff.com>
14 copy-to  = Sent