mail: Initial commit
This commit is contained in:
parent
27728b07db
commit
7871442bcd
9 changed files with 458 additions and 0 deletions
37
mail/.config/isync/mbsyncrc
Normal file
37
mail/.config/isync/mbsyncrc
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# documentation: https://wiki.archlinux.org/index.php/isync
|
||||
|
||||
IMAPAccount gmail
|
||||
# Address to connect to
|
||||
Host imap.gmail.com
|
||||
UserCmd "pass show misc/aerc-gmail-app-password | grep username | cut -d: -f2"
|
||||
PassCmd "pass show misc/aerc-gmail-app-password | head -n1"
|
||||
# To store the password in an encrypted file use PassCmd instead of Pass
|
||||
# PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
|
||||
#
|
||||
# Use SSL
|
||||
SSLType IMAPS
|
||||
# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
#CertificateFile ~/.cert/imap.gmail.com.pem
|
||||
#CertificateFile ~/.cert/Equifax_Secure_CA.pem
|
||||
|
||||
IMAPStore gmail-remote
|
||||
Account gmail
|
||||
|
||||
MaildirStore gmail-local
|
||||
Subfolders Verbatim
|
||||
# The trailing "/" is important
|
||||
Path ~/documents/mail/
|
||||
Inbox ~/documents/mail/Inbox
|
||||
|
||||
Channel gmail
|
||||
Far :gmail-remote:
|
||||
Near :gmail-local:
|
||||
# Exclude everything under the internal [Gmail] folder, except the interesting folders
|
||||
Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
|
||||
# Or include everything
|
||||
#Patterns *
|
||||
# Automatically create missing mailboxes, both locally and on the server
|
||||
Create Both
|
||||
# Save the synchronization state files in the relevant directory
|
||||
SyncState *
|
||||
Loading…
Add table
Add a link
Reference in a new issue