###############################################################################
# GMAIL

IMAPAccount gmail
# Address to connect to
Host imap.gmail.com
User najera.oscar@gmail.com
PassCmd "pass show google/googlemail.com/najera.oscar"
AuthMechs LOGIN
# Use SSL
TLSType 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
# The trailing "/" is important
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox
SubFolders Legacy

Channel gmail
Far :gmail-remote:
Near :gmail-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
Patterns * ![Gmail]* "[Gmail]/Sent 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 *
Expunge Both

###############################################################################
# Personal
IMAPAccount hi_pers
Host mail.oscarnajera.com
User hi@oscarnajera.com
PassCmd "pass show Correos/mail.oscarnajera.com"
AuthMechs LOGIN
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore hi_pers-remote
Account hi_pers

MaildirStore hi_pers-local
Path ~/.mail/hi_pers/
Inbox ~/.mail/hi_pers/Inbox
SubFolders Verbatim

Channel hi_pers
Far :hi_pers-remote:
Near :hi_pers-local:
Patterns *
Create Both
SyncState *
Expunge Both

###############################################################################
# AMZbooks
IMAPAccount kindle
Host mail.oscarnajera.com
User kindle@oscarnajera.com
PassCmd "pass show Correos/kindle@oscarnajera.com"
AuthMechs LOGIN
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore kindle-remote
Account kindle

MaildirStore kindle-local
Path ~/.mail/kindle/
Inbox ~/.mail/kindle/Inbox
SubFolders Verbatim

Channel kindle
Far :kindle-remote:
Near :kindle-local:
Patterns *
Create Both
SyncState *
Expunge Both

###############################################################################
# Startup
IMAPAccount delightfuldying
Host mail.oscarnajera.com
User oscar.najera@delightfuldying.com
PassCmd "pass show WebSites/delightfuldying.com/mailbox/julie"
AuthMechs LOGIN
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore dd-remote
Account delightfuldying

MaildirStore dd-local
Path ~/.mail/dd/
Inbox ~/.mail/dd/Inbox
SubFolders Verbatim

Channel delightfuldying
Far :dd-remote:
Near :dd-local:
Patterns *
Create Both
SyncState *
Expunge Both

###############################################################################
# Startup
IMAPAccount fallforward
Host mail.oscarnajera.com
User sarah@fallforward.space
PassCmd "pass show WebSites/fallforward.space/mailbox/sarah"
AuthMechs LOGIN
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore ff-remote
Account fallforward

MaildirStore ff-local
Path ~/.mail/ff/
Inbox ~/.mail/ff/Inbox
SubFolders Verbatim

Channel fallforward
Far :ff-remote:
Near :ff-local:
Patterns *
Create Both
SyncState *
Expunge Both

###############################################################################
# Startup
IMAPAccount hi_arsmagna
Host mail.oscarnajera.com
User hi@arsmagna.xyz
PassCmd "pass show WebSites/arsmagna.xyz/mailbox/hello"
AuthMechs LOGIN
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore am-remote
Account hi_arsmagna

MaildirStore am-local
Path ~/.mail/am/
Inbox ~/.mail/am/Inbox
SubFolders Verbatim

Channel hi_arsmagna
Far :am-remote:
Near :am-local:
Patterns *
Create Both
SyncState *
Expunge Both

###############################################################################
# GMAIL for Nuremberg Toastmasters

IMAPAccount nbgtm
# Address to connect to
Host imap.gmail.com
User nuremberg.toastmasters@googlemail.com
PassCmd "pass show orgs/NBG-TM/smtp.googlemail.com"
AuthMechs LOGIN
# Use SSL
TLSType 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

IMAPStore nbgtm-remote
Account nbgtm

MaildirStore nbgtm-local
# The trailing "/" is important
Path ~/.mail/nbgtm/
Inbox ~/.mail/nbgtm/Inbox
SubFolders Verbatim

Channel nbgtm
Far :nbgtm-remote:
Near :nbgtm-local:
Patterns "INBOX" "[Google Mail]/Sent Mail"
Create Both
Expunge Both
SyncState *

# Local Variables:
# mode: conf-unix
# End: