mu4e: mbsync & mail auth files for emacs smtp

This commit is contained in:
Gabriel Ebner 2015-09-20 08:47:29 +02:00
parent 1d74e87999
commit 9a033f3c53
4 changed files with 30 additions and 1 deletions

2
.gitignore vendored

@ -5,3 +5,5 @@ procmailrc
gitconfig
ctags
i3/config
mbsyncrc
authinfo

@ -1,6 +1,6 @@
FILES = bashrc vimrc zshrc gitconfig screenrc commonshrc \
gnomerc gvimrc muttrc pentadactylrc mailcap latexmkrc ctags \
i3/config i3status.conf msmtprc spacemacs emacs.d
i3/config i3status.conf msmtprc spacemacs emacs.d mbsyncrc authinfo
.PHONY: install clean check
@ -38,6 +38,12 @@ install-vim-plug:
test -f $(VIM_DIR)/autoload/plug.vim || curl -fLo $(VIM_DIR)/autoload/plug.vim \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mbsyncrc: mbsyncrc.m4
umask 077; m4 $< >$@
authinfo: authinfo.m4
umask 077; m4 $< >$@
endif
clean:

1
authinfo.m4 Normal file

@ -0,0 +1 @@
machine mail.gebner.org login gebner password esyscmd(`pass 2b7e.org/mail.gebner.org | head -n1')

20
mbsyncrc.m4 Normal file

@ -0,0 +1,20 @@
IMAPAccount gebner_org
Host mail.gebner.org
User gebner
SSLType IMAPS
SSLVersions TLSv1.2
CertificateFile /etc/ssl/certs/ca-certificates.crt
Pass esyscmd(`pass 2b7e.org/mail.gebner.org | head -n1')
IMAPStore gebner_org-remote
Account gebner_org
MaildirStore local
Path ~/Maildir/
Channel ge
Master :gebner_org-remote:
Slave :local:
Pattern *
Create Both
Expunge Both