diff options
author | David Runge <dave@sleepmap.de> | 2022-03-09 15:13:25 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2022-03-09 15:23:42 +0100 |
commit | 9613b2e428ecf6780cd12c80c90ecdd3bd7a7674 (patch) | |
tree | d77c58fe5fe4789a78991bd3ed1dff7dd5cf5d9a /.mbsyncrc | |
parent | 1880f235488da07fc5eb74a37b4410005bda846d (diff) | |
download | dotfiles-9613b2e428ecf6780cd12c80c90ecdd3bd7a7674.tar.gz dotfiles-9613b2e428ecf6780cd12c80c90ecdd3bd7a7674.tar.bz2 dotfiles-9613b2e428ecf6780cd12c80c90ecdd3bd7a7674.tar.xz dotfiles-9613b2e428ecf6780cd12c80c90ecdd3bd7a7674.zip |
mbsync: Use systemd unit with SetCredentialEncrypted
.mbsyncrc:
Instead of relying on pass, use cat to retrieve a password from an
encrypted credential, that is only available to a templated systemd
unit for syncing the mails of a given user.
Diffstat (limited to '.mbsyncrc')
-rw-r--r-- | .mbsyncrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ IMAPAccount archlinux Host mail.archlinux.org User dvzrv@archlinux.org -PassCmd "pass mail/dvzrv@archlinux.org" +PassCmd "cat $CREDENTIALS_DIRECTORY/archlinux-password" SSLType IMAPS IMAPStore archlinux-remote @@ -24,7 +24,7 @@ Remove Both IMAPAccount sleepmap Host mail.sleepmap.de User dave@sleepmap.de -PassCmd "pass mail/dave@sleepmap.de" +PassCmd "cat $CREDENTIALS_DIRECTORY/sleepmap-password" SSLType IMAPS IMAPStore sleepmap-remote |