瀏覽代碼

Update mail to use new mailinabox server #mail

Colin Powell 6 年之前
父節點
當前提交
d8565a3f3a
共有 4 個文件被更改,包括 87 次插入38 次删除
  1. 1 0
      git/.gitignore_global
  2. 76 30
      mail/.mbsyncrc
  3. 10 8
      mail/.msmtprc
  4. 0 0
      mail/.notmuch-config.example

+ 1 - 0
git/.gitignore_global

@@ -31,3 +31,4 @@ local-config.diff
 .tern-port
 .tern-port
 .mypy_cache
 .mypy_cache
 org-gcal
 org-gcal
+.tool-versions

+ 76 - 30
mail/.mbsyncrc

@@ -1,61 +1,107 @@
-IMAPAccount proton
-Host 127.0.0.1
+IMAPAccount onec
+Host box.onec.me
 User colin@onec.me
 User colin@onec.me
-PassCmd "pass personal/protonmail/bridges/$HOSTNAME"
-Port 1143
-SSLType none
-AuthMechs PLAIN
+PassCmd "pass personal/colin@onec.me"
+SSLType IMAPS
+Port 993
 
 
-IMAPStore proton-remote
-account proton
+IMAPStore onec-remote
+account onec
 
 
-MaildirStore proton-local
+MaildirStore onec-local
 # trailing "/" is important
 # trailing "/" is important
 Path ~/Mail/colin@onec.me/
 Path ~/Mail/colin@onec.me/
 Inbox ~/Mail/colin@onec.me/Inbox
 Inbox ~/Mail/colin@onec.me/Inbox
 Trash ~/Mail/colin@onec.me/Trash
 Trash ~/Mail/colin@onec.me/Trash
 SubFolders Verbatim
 SubFolders Verbatim
 
 
-Channel proton-all-mail
-Master :proton-remote:"All Mail"
-Slave :proton-local:"All Mail"
+Channel onec-inbox
+Master :onec-remote:"Inbox"
+Slave :onec-local:Inbox
 Create Both
 Create Both
+Expunge Both
 Patterns *
 Patterns *
 SyncState *
 SyncState *
 
 
-Channel proton-inbox
-Master :proton-remote:"Inbox"
-Slave :proton-local:Inbox
+Channel onec-archive
+Master :onec-remote:"Archive"
+Slave :onec-local:Archive
+Create Both
+Expunge Both
+SyncState *
+
+Channel onec-sent
+Master :onec-remote:"Sent"
+Slave :onec-local:Sent
+Create Both
+Expunge Both
+SyncState *
+
+Channel onec-trash
+Master :onec-remote:"Trash"
+Slave :onec-local:Trash
+Create Both
+Expunge Both
+SyncState *
+Expunge Both
+
+Group onec
+Channel onec-inbox
+Channel onec-archive
+Channel onec-sent
+Channel onec-drafts
+Channel onec-trash
+
+IMAPAccount timberwyck
+Host box.onec.me
+User colin@timberwyckfarm.com
+PassCmd "pass personal/colin@onec.me"
+SSLType IMAPS
+Port 993
+
+IMAPStore timberwyck-remote
+account timberwyck
+
+MaildirStore timberwyck-local
+# trailing "/" is important
+Path ~/Mail/colin@timberwyckfarm.com/
+Inbox ~/Mail/colin@timberwyckfarm.com/Inbox
+Trash ~/Mail/colin@timberwyckfarm.com/Trash
+SubFolders Verbatim
+
+Channel timberwyck-inbox
+Master :timberwyck-remote:"Inbox"
+Slave :timberwyck-local:Inbox
 Create Both
 Create Both
 Expunge Both
 Expunge Both
 Patterns *
 Patterns *
 SyncState *
 SyncState *
 
 
-Channel proton-archive
-Master :proton-remote:"Archive"
-Slave :proton-local:Archive
+Channel timberwyck-archive
+Master :timberwyck-remote:"Archive"
+Slave :timberwyck-local:Archive
 Create Both
 Create Both
 Expunge Both
 Expunge Both
 SyncState *
 SyncState *
 
 
-Channel proton-sent
-Master :proton-remote:"Sent"
-Slave :proton-local:Sent
+Channel timberwyck-sent
+Master :timberwyck-remote:"Sent"
+Slave :timberwyck-local:Sent
 Create Both
 Create Both
 Expunge Both
 Expunge Both
 SyncState *
 SyncState *
 
 
-Channel proton-trash
-Master :proton-remote:"Trash"
-Slave :proton-local:Trash
+Channel timberwyck-trash
+Master :timberwyck-remote:"Trash"
+Slave :timberwyck-local:Trash
 Create Both
 Create Both
 Expunge Both
 Expunge Both
 SyncState *
 SyncState *
 Expunge Both
 Expunge Both
 
 
-Group proton
-Channel proton-inbox
-Channel proton-archive
-Channel proton-sent
-Channel proton-drafts
-Channel proton-trash
+Group timberwyck
+Channel timberwyck-inbox
+Channel timberwyck-archive
+Channel timberwyck-sent
+Channel timberwyck-drafts
+Channel timberwyck-trash

+ 10 - 8
mail/.msmtprc

@@ -1,12 +1,14 @@
 defaults
 defaults
-auth           on
-tls            on
-tls_certcheck  off
-logfile        ~/.msmtp.log
+auth            on
+tls             on
+tls_fingerprint 72:9B:26:BC:91:8E:9A:9D:67:BA:79:4C:3B:B5:49:33:2E:DA:68:51
+logfile         ~/.msmtp.log
 
 
-account        proton
-host           127.0.0.1
-port           1025
+account        onec
+host           box.onec.me
+port           587
 from           colin@onec.me
 from           colin@onec.me
 user           colin@onec.me
 user           colin@onec.me
-passwordeval   pass personal/protonmail/bridges/$HOSTNAME
+passwordeval   pass personal/colin@onec.me
+
+account default : onec

+ 0 - 0
mail/.notmuch-config → mail/.notmuch-config.example