summaryrefslogtreecommitdiff
path: root/.config/neomutt/gmail_work
blob: e9be31798daaae199064ca57ce2e6393bff2e690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
source "gpg -dq $HOME/Nextcloud/keepass_database/mutt_work.gpg |"

## Receive Option
set imap_user=$my_userName@gmail.com
set imap_pass=$my_pass
set folder=imaps://$my_userName@imap.gmail.com/
set spoolfile=+INBOX
unset record
set postponed="+[Gmail]/Drafts"

## Send Option
set smtp_url=smtps://$my_userName:$my_pass@smtp.gmail.com
set from=$my_userName@gmail.com
set hostname="gmail.com"
# Connection options
set ssl_force_tls=yes
unset ssl_starttls

## Hook
account-hook $folder "set imap_user=$my_userName@gmail.com imap_pass=$my_pass"
# vim:ft=muttrc