Add spotify email to mu4e/mbsync/msmtp setup
This commit is contained in:
parent
d6db37a85d
commit
1f12c85912
@ -67,7 +67,22 @@
|
|||||||
(mu4e-refile-folder . "/jeremy-dormitzer-gmail-com/Archive")
|
(mu4e-refile-folder . "/jeremy-dormitzer-gmail-com/Archive")
|
||||||
(mu4e-trash-folder . "/jeremy-dormitzer-gmail-com/Trash")
|
(mu4e-trash-folder . "/jeremy-dormitzer-gmail-com/Trash")
|
||||||
(message-sendmail-extra-arguments
|
(message-sendmail-extra-arguments
|
||||||
. ("-a" "jeremy-dormitzer-gmail-com"))))))
|
. ("-a" "jeremy-dormitzer-gmail-com"))))
|
||||||
|
,(make-mu4e-context
|
||||||
|
:name "Spotify Gmail"
|
||||||
|
:match-func (lambda (msg)
|
||||||
|
(when msg
|
||||||
|
(string-match-p
|
||||||
|
"jdormitzer-spotify-com"
|
||||||
|
(mu4e-message-field msg :path))))
|
||||||
|
:vars '((user-mail-address . "jdormitzer@spotify.com")
|
||||||
|
(mu4e-compose-signature . nil)
|
||||||
|
(mu4e-sent-folder . "/jdormitzer-spotify-com/Sent")
|
||||||
|
(mu4e-drafts-folder . "/jdormitzer-spotify-com/Drafts")
|
||||||
|
(mu4e-refile-folder . "/jdormitzer-spotify-com/Archive")
|
||||||
|
(mu4e-trash-folder . "/jdormitzer-spotify-com/Trash")
|
||||||
|
(message-sendmail-extra-arguments
|
||||||
|
. ("-a" "jdormitzer-spotify-com"))))))
|
||||||
;; Custom mark function to mark messages matching the current message
|
;; Custom mark function to mark messages matching the current message
|
||||||
(defun mu4e-mark-matching-pred (msg from)
|
(defun mu4e-mark-matching-pred (msg from)
|
||||||
(mu4e-message-contact-field-matches msg :from from))
|
(mu4e-message-contact-field-matches msg :from from))
|
||||||
|
@ -51,4 +51,55 @@ Channel jeremy-dormitzer-gmail-com-inbox
|
|||||||
Channel jeremy-dormitzer-gmail-com-all
|
Channel jeremy-dormitzer-gmail-com-all
|
||||||
Channel jeremy-dormitzer-gmail-com-drafts
|
Channel jeremy-dormitzer-gmail-com-drafts
|
||||||
Channel jeremy-dormitzer-gmail-com-sent
|
Channel jeremy-dormitzer-gmail-com-sent
|
||||||
Channel jeremy-dormitzer-gmail-com-archive
|
Channel jeremy-dormitzer-gmail-com-archive
|
||||||
|
|
||||||
|
IMAPAccount jdormitzer-spotify-com
|
||||||
|
Host imap.gmail.com
|
||||||
|
User jdormitzer@spotify.com
|
||||||
|
PassCmd "pass show spotify-google-app-password | head -n 1"
|
||||||
|
SSLType IMAPS
|
||||||
|
CertificateFile ~/cert.pem
|
||||||
|
AuthMechs LOGIN
|
||||||
|
PipelineDepth 50
|
||||||
|
|
||||||
|
IMAPStore jdormitzer-spotify-com-remote
|
||||||
|
Account jdormitzer-spotify-com
|
||||||
|
MaxSize 25M
|
||||||
|
|
||||||
|
MaildirStore jdormitzer-spotify-com-local
|
||||||
|
Path ~/.mail/jdormitzer-spotify-com/
|
||||||
|
Inbox ~/.mail/jdormitzer-spotify-com/Inbox
|
||||||
|
SubFolders Verbatim
|
||||||
|
|
||||||
|
Channel jdormitzer-spotify-com-inbox
|
||||||
|
Master :jdormitzer-spotify-com-remote:INBOX
|
||||||
|
Slave :jdormitzer-spotify-com-local:Inbox
|
||||||
|
|
||||||
|
Channel jdormitzer-spotify-com-all
|
||||||
|
Master :jdormitzer-spotify-com-remote:
|
||||||
|
Slave :jdormitzer-spotify-com-local:
|
||||||
|
Patterns * ![Gmail]* !"[Google Mail]*" !INBOX !Inbox !Archive !Trash !Sent !Drafts
|
||||||
|
|
||||||
|
Channel jdormitzer-spotify-com-trash
|
||||||
|
Master :jdormitzer-spotify-com-remote:"[Gmail]/Trash"
|
||||||
|
Slave :jdormitzer-spotify-com-local:"Trash"
|
||||||
|
|
||||||
|
Channel jdormitzer-spotify-com-sent
|
||||||
|
Master :jdormitzer-spotify-com-remote:"[Gmail]/Sent Mail"
|
||||||
|
Slave :jdormitzer-spotify-com-local:"Sent"
|
||||||
|
|
||||||
|
Channel jdormitzer-spotify-com-drafts
|
||||||
|
Master :jdormitzer-spotify-com-remote:"[Gmail]/Drafts"
|
||||||
|
Slave :jdormitzer-spotify-com-local:"Drafts"
|
||||||
|
|
||||||
|
Channel jdormitzer-spotify-com-archive
|
||||||
|
Master :jdormitzer-spotify-com-remote:"[Gmail]/All Mail"
|
||||||
|
Slave :jdormitzer-spotify-com-local:"Archive"
|
||||||
|
|
||||||
|
Group jdormitzer-spotify-com
|
||||||
|
Channel jdormitzer-spotify-com-trash
|
||||||
|
Channel jdormitzer-spotify-com-inbox
|
||||||
|
Channel jdormitzer-spotify-com-all
|
||||||
|
Channel jdormitzer-spotify-com-drafts
|
||||||
|
Channel jdormitzer-spotify-com-sent
|
||||||
|
Channel jdormitzer-spotify-com-archive
|
@ -11,9 +11,9 @@ from jeremy.dormitzer@gmail.com
|
|||||||
user jeremy.dormitzer@gmail.com
|
user jeremy.dormitzer@gmail.com
|
||||||
passwordeval pass show imap.gmail.com | head -n 1
|
passwordeval pass show imap.gmail.com | head -n 1
|
||||||
|
|
||||||
account jeremydormitzer-lola-com
|
account jdormitzer-spotify-com
|
||||||
from jeremydormitzer@lola.com
|
from jdormitzer@spotify.com
|
||||||
user jeremydormitzer@lola.com
|
user jdormitzer@spotify.com
|
||||||
passwordeval pass show jeremydormitzer@lola.com-app-password | head -n 1
|
passwordeval pass show spotify-google-app-password | head -n 1
|
||||||
|
|
||||||
account default : jeremy-dormitzer-gmail-com
|
account default : jeremy-dormitzer-gmail-com
|
Loading…
Reference in New Issue
Block a user