Add metagram mutt+isync configs
This commit is contained in:
parent
059176fb04
commit
6bb6e67a11
2 changed files with 60 additions and 0 deletions
|
|
@ -41,3 +41,26 @@ Channel mit
|
|||
Patterns *
|
||||
Create Both
|
||||
SyncState *
|
||||
|
||||
|
||||
|
||||
IMAPAccount metagram
|
||||
Host metagram.net
|
||||
User jdkaplan@metagram.net
|
||||
PassCmd "pass email/jdkaplan@metagram.net"
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
IMAPStore metagram-remote
|
||||
Account metagram
|
||||
|
||||
MaildirStore metagram-local
|
||||
Path ~/.mail/metagram/
|
||||
Inbox ~/.mail/metagram/Inbox
|
||||
|
||||
Channel metagram
|
||||
Master :metagram-remote:
|
||||
Slave :metagram-local:
|
||||
Patterns *
|
||||
Create Both
|
||||
SyncState *
|
||||
|
|
|
|||
37
mutt/metagram
Normal file
37
mutt/metagram
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
source ~/.mutt/common
|
||||
|
||||
set my_email = "jdkaplan@metagram.net"
|
||||
set my_password = `pass show email/jdkaplan@metagram.net`
|
||||
|
||||
set smtp_pass = $my_password
|
||||
|
||||
set folder = "~/.mail/metagram/"
|
||||
|
||||
set spoolfile = "+Inbox"
|
||||
set record = +Sent
|
||||
set postponed = +Drafts
|
||||
|
||||
set copy = yes
|
||||
|
||||
mailboxes `\
|
||||
for file in ~/.mail/metagram/*; do \
|
||||
box=$(basename "$file"); \
|
||||
if [ ! "$box" = '.' -a \
|
||||
! "$box" = '..' -a \
|
||||
! "$box" = '.mbsyncstate' -a \
|
||||
! "$box" = '.uidvalidity' ]; then \
|
||||
echo -n "\"+$box\" "; \
|
||||
fi; \
|
||||
done; \
|
||||
`
|
||||
|
||||
set realname = "Jeremy Kaplan"
|
||||
set from = "$my_email"
|
||||
set envelope_from = yes
|
||||
set use_from = yes
|
||||
set smtp_url = "smtps://$my_email@metagram.net:465"
|
||||
set ssl_force_tls = yes
|
||||
set ssl_starttls = yes
|
||||
|
||||
color index default green ~N
|
||||
color index default green ~O
|
||||
Loading…
Add table
Add a link
Reference in a new issue