dotfiles/mail/.config/mutt/account-gmail
Jens Sauer 1c450d4011 mail: Limit gmail authenticators
I only use the 'login' authenticator. When i.e. sasl-xoauth is available
a error is printed before login happens. Limiting the authenticator to
the only method hide this.
2020-12-01 21:49:21 +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 = "login"
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