Mailctl: Difference between revisions
From wikinotes
(→Usage) |
|||
Line 25: | Line 25: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
aura -A mailctl-bin | aura -A mailctl-bin | ||
touch ~/.config/mailctl/config.yaml | |||
touch ~/.config/mailctl/services.yaml | |||
mkdir -p ~/.local/var/mailctl/ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Install --> | </blockquote><!-- Install --> |
Revision as of 01:10, 4 October 2022
mailctl provides IMAP/SMTP clients with the capabilities of renewal and authorization of OAuth2 credentials.
Documentation
github https://github.com/pdobsan/mailctl config docs https://github.com/pdobsan/mailctl#configuration
Locations
$XDG_CONFIG_HOME/mailctl/config.yml
config
Install
aura -A mailctl-bin touch ~/.config/mailctl/config.yaml touch ~/.config/mailctl/services.yaml mkdir -p ~/.local/var/mailctl/
Usage
- configure directories and gpg-access in
config.yaml
- configure services (ex. gmail) in
services.yaml
# now you can authorize an email for a particular service mailctl authorize ${service} ${email} # once your service has been authorized once on this computer, # you can manage access using 'access' mailctl access ${email}