aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-08-03 10:54:31 +0300
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-08-03 10:54:31 +0300
commit90e567e09a24e124a585174dd49a0298c7f42369 (patch)
tree936a29bba0ad3908f1d5b438abf87adc4c00e3e2
parentde12ddd5802b56445672589e467ff0eac98447f3 (diff)
downloaddotfiles-90e567e09a24e124a585174dd49a0298c7f42369.tar.gz
dotfiles-90e567e09a24e124a585174dd49a0298c7f42369.tar.bz2
dotfiles-90e567e09a24e124a585174dd49a0298c7f42369.zip
reconfiguring for bitmessage.ch
-rw-r--r--msmtprc11
-rw-r--r--muttrc22
-rw-r--r--offlineimaprc28
3 files changed, 36 insertions, 25 deletions
diff --git a/msmtprc b/msmtprc
index bed2f15..51ceb11 100644
--- a/msmtprc
+++ b/msmtprc
@@ -1,10 +1,11 @@
account default
-host smtp.gmail.com
-port 587
+host mail.bitmessage.ch
+port 465
protocol smtp
auth on
-from vasil.zlatanov@gmail.com
-user vasil.zlatanov@gmail.com
-password ****
+from vasco@bitmessage.ch
+user BM-2cT677uioXaWcyyGPoLeS1t7fSoYbmFscj@bitmessage.ch
tls on
+tls_starttls off
tls_nocertcheck
+
diff --git a/muttrc b/muttrc
index 1ebb758..334d649 100644
--- a/muttrc
+++ b/muttrc
@@ -15,9 +15,9 @@ set mbox_type = Maildir
set sendmail = /usr/bin/msmtp
set folder = ~/.mail/
-set spoolfile = "+Gmail/INBOX"
-set mbox = "+Gmail/archive"
-set postponed = "+Gmail/drafts"
+set spoolfile = "+Swiss/INBOX"
+#set mbox = "+Swiss/archive"
+set postponed = "+Swiss/INBOX.Drafts"
unset record
mailboxes +INBOX
@@ -32,15 +32,14 @@ macro index S \
# Gmail conf
-set from = "vasil.zlatanov@gmail.com"
+set from = "vasco@bitmessage.ch"
set realname = "Vasil Zlatanov"
# Change the following line to a different editor you prefer.
set editor = "vim"
# Basic config, you can leave this as is
-#set hostname = gmail.com
-set mail_check = 5
+set mail_check = 20
set timeout = 15
unset imap_passive
set header_cache=~/.muttlocal/cache/headers
@@ -59,13 +58,10 @@ alternative_order text/plain text/html *
auto_view text/html
# Gmail-style keyboard shortcuts
-macro index,pager gi "<change-folder>=Gmail/INBOX<enter>" "Go to inbox"
-macro index,pager ga "<change-folder>=Gmail/archive<tab><enter>" "Go to all mail"
-macro index,pager gs "<change-folder>=Gmail/sent<tab><enter>" "Go to sent mail"
-macro index,pager gr "<change-folder>=Gmail/flagged<enter>" "Go to starred messages"
-macro index,pager gj "<change-folder>=Gmail/spam<enter>" "Go to spam"
-macro index,pager gt "<change-folder>=Gmail/trash<enter>" "Go to trash"
-macro index,pager gd "<change-folder>=Gmail/drafts<enter>" "Go to drafts"
+macro index,pager gi "<change-folder>=Swiss/INBOX<enter>" "Go to inbox"
+macro index,pager gs "<change-folder>=Swiss/INBOX.Sent<tab><enter>" "Go to sent mail"
+macro index,pager gt "<change-folder>=Swiss/INBOX.Trash<enter>" "Go to trash"
+macro index,pager gd "<change-folder>=Swiss/INBOX.Drafts<enter>" "Go to drafts"
# Other config
set delete
diff --git a/offlineimaprc b/offlineimaprc
index 209cb7d..4445f6a 100644
--- a/offlineimaprc
+++ b/offlineimaprc
@@ -1,18 +1,16 @@
[general]
ui = ttyui
-accounts = Gmail
+accounts = BitMessage
# This will suppress anything but errors
-ui = quiet
+#ui = quiet
[Account Gmail]
localrepository = Gmail-Local
remoterepository = Gmail-Remote
# Minutes between syncs
-autorefresh = 5
# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the
# only changes were to IMAP flags
-quick = 10
[Repository Gmail-Local]
type = Maildir
@@ -29,9 +27,9 @@ nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
[Repository Gmail-Remote]
type = Gmail
remoteuser = vasil.zlatanov@gmail.com
-remotepass = ****
-realdelete = no
-maxconnections = 1
+#remotepass = youwish
+realdelete = yes
+maxconnections = 4
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
'[Gmail]/Sent Mail': 'sent',
@@ -41,4 +39,20 @@ nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
'[Gmail]/All Mail': 'archive',
}.get(folder, folder)
+[Account BitMessage]
+localrepository = BitMessage-Local
+remoterepository = BitMessage-Remote
+autorefresh = 5
+quick = 20
+
+[Repository BitMessage-Local]
+type = Maildir
+localfolders = ~/.mail/Swiss
+[Repository BitMessage-Remote]
+type = IMAP
+remotehost = mail.bitmessage.ch
+remoteuser = BM-2cT677uioXaWcyyGPoLeS1t7fSoYbmFscj@bitmessage.ch
+#remotepass = youwish
+ssl = yes
+cert_fingerprint = f7dbaf99a66bdcc4fcf0cc7ca76b812d5e4bbb59