diff options
author | Ryan Kavanagh <rak@rak.ac> | 2022-06-28 18:00:47 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2022-06-28 18:00:47 -0400 |
commit | bbdbdc0fe144d78085c9ec226d1f451c264113bb (patch) | |
tree | 4729876e41f963ebb0a7b71c3591217b911d1ce7 /private_dot_netrc.tmpl | |
parent | more mutt (diff) |
Only expand passwords if defined
Diffstat (limited to 'private_dot_netrc.tmpl')
-rw-r--r-- | private_dot_netrc.tmpl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/private_dot_netrc.tmpl b/private_dot_netrc.tmpl index 5cff082..d74e7e1 100644 --- a/private_dot_netrc.tmpl +++ b/private_dot_netrc.tmpl @@ -1,6 +1,12 @@ +{{- if .password.cmu }} machine imap.gmail.com login rkavanag@alumni.cmu.edu password {{ .password.cmu }} +{{- endif }} +{{- if .password.gmail }} machine imap.gmail.com login ryanakca@gmail.com password {{ .password.gmail }} +{{- endif }} +{{- if .password.rakac }} machine imap.rak.ac login rak password {{ .password.rakac }} -machine localhost login ryan password {{ .password.local }} -machine pod51018.outlook.com login 9rak@queensu.ca password {{ .password.queensu }} +{{- endif }} +{{- if .password.socs }} machine mail.cs.mcgill.ca login ryank password {{ .password.socs }} +{{- endif }} |