dotfiles/mail/.config/mutt/account-gmail
Jens Sauer 35e74baeb8 mail: Change google imap auth method
Define the used method for imap authentication. Otherwise, when SASL is
available, mutt will try to authenticate with oauth-tokens. Maybe we
will use this in the future.
2020-12-15 17:29:10 +01:00

36 lines
823 B
Plaintext

# Mutt account for jsauer65@gmail.com
unalternates "*"
unsubscribe *
unlists *
unhook save-hook
unset record
#
# Personal configuration
#
set from = "jsauer65@gmail.com"
alternates "^jsauer65@googlemail\.com$"
set pgp_default_key = "0x850E29085C0B0084"
#
# Gmail configuration
#
set hostname = "gmail.com"
set folder = "imaps://imap.gmail.com"
set spoolfile = "+INBOX"
set mbox = "+mbox"
#set postponed = +postponed
set trash = '+[Google Mail]/Papierkorb'
set imap_authenticators = "plain"
account-hook $folder "set imap_user = 'jsauer65@gmail.com' imap_pass = '`gpg --decrypt --quiet --batch ~/.config/mutt/account-gmail-pass.asc`'"
set sendmail = "/usr/bin/msmtp -a gmail"
#
# Load confidential settings
#
source "gpg --decrypt --quiet --batch ~/.config/mutt/account-gmail-confidential.asc|"
# vim: filetype=muttrc