aboutsummaryrefslogtreecommitdiff
path: root/Mail
diff options
context:
space:
mode:
Diffstat (limited to 'Mail')
-rw-r--r--Mail/README.md2
-rw-r--r--Mail/mbsyncrc25
-rw-r--r--Mail/msmtprc32
-rw-r--r--Mail/offlineimaprc73
4 files changed, 132 insertions, 0 deletions
diff --git a/Mail/README.md b/Mail/README.md
index 860e759..18d52e6 100644
--- a/Mail/README.md
+++ b/Mail/README.md
@@ -1,4 +1,6 @@
```
ln -s ~/dotfiles/Mail/muttrc ~/.muttrc
ln -s ~/dotfiles/Mail/mutt ~/.mutt
+ln -s ~/dotfiles/Mail/msmtprc ~/.msmtprc
+ln -s ~/dotfiles/Mail/offlineimaprc ~/.offlineimaprc
```
diff --git a/Mail/mbsyncrc b/Mail/mbsyncrc
new file mode 100644
index 0000000..9e9bc65
--- /dev/null
+++ b/Mail/mbsyncrc
@@ -0,0 +1,25 @@
+IMAPAccount dove
+Host skozl.com
+User v@skozl.com
+Pass youwish
+UseIMAPS yes
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+
+IMAPStore dove-remote
+Account dove
+
+MaildirStore dove-local
+# The trailing "/" is important
+Path ~/.mail/dove/
+Inbox ~/.mail/dove/Inbox
+
+Channel gmail
+Master :dove-remote:
+Slave :dove-local:
+Patterns *
+# Automatically create missing mailboxes, both locally and on the server
+Create Both
+# Save the synchronization state files in the relevant directory
+SyncState *
+
diff --git a/Mail/msmtprc b/Mail/msmtprc
new file mode 100644
index 0000000..297afde
--- /dev/null
+++ b/Mail/msmtprc
@@ -0,0 +1,32 @@
+account default
+host skozl.com
+port 587
+protocol smtp
+auth on
+from v@skozl.com
+user v@skozl.com
+tls on
+tls_trust_file /etc/ssl/certs/ca-certificates.crt
+
+
+account bitmessage
+host mail.bitmessage.ch
+port 465
+protocol smtp
+auth on
+from vasco@bitmessage.ch
+user BM-2cT677uioXaWcyyGPoLeS1t7fSoYbmFscj@bitmessage.ch
+tls on
+tls_starttls off
+tls_nocertcheck
+
+account gmail
+host smtp.gmail.com
+port 587
+protocol smtp
+auth on
+from vasil.zlatanov@gmail.com
+user vasil.zlatanov@gmail.com
+tls on
+tls_trust_file ~/.mutt/ca-certificates.crt
+
diff --git a/Mail/offlineimaprc b/Mail/offlineimaprc
new file mode 100644
index 0000000..a54e9f5
--- /dev/null
+++ b/Mail/offlineimaprc
@@ -0,0 +1,73 @@
+[general]
+ui = ttyui
+accounts = Dovecot
+# This will suppress anything but errors
+ui = quiet
+
+[Account Dovecot]
+localrepository = Dovecot-Local
+remoterepository = Dovecot-Remote
+autorefresh = 15
+
+[Repository Dovecot-Local]
+type = Maildir
+localfolders = ~/.mail/dove
+
+[Repository Dovecot-Remote]
+type = IMAP
+idlefolders = ['INBOX']
+remotehost = skozl.com
+remoteuser = v@skozl.com
+#remotepass = youwish
+ssl = yes
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+[Account Gmail]
+localrepository = Gmail-Local
+remoterepository = Gmail-Remote
+
+[Repository Gmail-Local]
+type = Maildir
+localfolders = ~/.mail/Gmail
+nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
+ 'sent': '[Gmail]/Sent Mail',
+ 'flagged': '[Gmail]/Starred',
+ 'trash': '[Gmail]/Trash',
+ 'spam': '[Gmail]/Spam',
+ 'archive': '[Gmail]/All Mail',
+ }.get(folder, folder)
+
+
+[Repository Gmail-Remote]
+type = Gmail
+#idlefolders = ['INBOX']
+remoteuser = vasil.zlatanov@gmail.com
+#remotepass = youwish
+realdelete = yes
+maxconnections = 2
+sslcacertfile = ~/.mutt/ca-certificates.crt
+nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
+ '[Gmail]/Sent Mail': 'sent',
+ '[Gmail]/Starred': 'flagged',
+ '[Gmail]/Trash': 'trash',
+ '[Gmail]/Spam': 'spam',
+ '[Gmail]/All Mail': 'archive',
+ }.get(folder, folder)
+
+[Account BitMessage]
+localrepository = BitMessage-Local
+remoterepository = BitMessage-Remote
+autorefresh = 15
+
+[Repository BitMessage-Local]
+type = Maildir
+localfolders = ~/.mail/Swiss
+
+[Repository BitMessage-Remote]
+type = IMAP
+idlefolders = ['INBOX']
+remotehost = mail.bitmessage.ch
+remoteuser = BM-2cT677uioXaWcyyGPoLeS1t7fSoYbmFscj@bitmessage.ch
+#remotepass = youwish
+ssl = yes
+cert_fingerprint = f7dbaf99a66bdcc4fcf0cc7ca76b812d5e4bbb59