dotfiles/bin/executable_edit-sieve-rules

7 lines
287 B
Plaintext

#!/run/current-system/sw/bin/env nix-shell
#!nix-shell -i bash -p python38Packages.managesieve
SIEVE_PASSWORD=$(gopass show communication/hosted.mailcow.de/mail@bascht.com)
export SIEVE_PASSWORD
echo -n "edit bascht" | sieveshell --authname mail@bascht.com --use-tls hosted.mailcow.de