add posteo mail, use pass for mail and notmuch address
This commit is contained in:
parent
a801904fe4
commit
9058ea4a1d
@ -8,10 +8,26 @@ editor_cmd = "st -e vis"
|
|||||||
|
|
||||||
[accounts]
|
[accounts]
|
||||||
|
|
||||||
|
[[posteo]]
|
||||||
|
realname = Felix Van der Jeugt
|
||||||
|
address = felix.vanderjeugt@posteo.net
|
||||||
|
gpg_key = 68FF561137C38F9618E97339AF25A2C2862AA368
|
||||||
|
sendmail_command = /usr/bin/msmtp --account=posteo -t
|
||||||
|
sent_box = maildir:///data/mail/posteo/Sent
|
||||||
|
draft_box = maildir:///data/mail/posteo/Drafts
|
||||||
|
sent_tags = # none
|
||||||
|
sign_by_default = False
|
||||||
|
|
||||||
|
[[[abook]]]
|
||||||
|
type = shellcommand
|
||||||
|
command = 'notmuch address date:1Y..'
|
||||||
|
regexp = (?P<name>.*) <(?P<email>.+)>
|
||||||
|
shellcommand_external_filtering = False
|
||||||
|
|
||||||
[[gmail]]
|
[[gmail]]
|
||||||
realname = Felix Van der Jeugt
|
realname = Felix Van der Jeugt
|
||||||
address = felix.vanderjeugt@gmail.com
|
address = felix.vanderjeugt@gmail.com
|
||||||
aliases = Felix.Vanderjeugt@gmail.com,
|
aliases = felixvdj@zeus.ugent.be
|
||||||
alias_regexp = felix\.vanderjeugt\+.+@gmail.com
|
alias_regexp = felix\.vanderjeugt\+.+@gmail.com
|
||||||
gpg_key = 68FF561137C38F9618E97339AF25A2C2862AA368
|
gpg_key = 68FF561137C38F9618E97339AF25A2C2862AA368
|
||||||
sendmail_command = /usr/bin/msmtp --account=gmail -t
|
sendmail_command = /usr/bin/msmtp --account=gmail -t
|
||||||
@ -22,9 +38,9 @@ editor_cmd = "st -e vis"
|
|||||||
|
|
||||||
[[[abook]]]
|
[[[abook]]]
|
||||||
type = shellcommand
|
type = shellcommand
|
||||||
command = 'notmuch-abook.sh'
|
command = 'notmuch address date:1Y..'
|
||||||
regexp = (?P<name>.*) <(?P<email>.+)>
|
regexp = (?P<name>.*) <(?P<email>.+)>
|
||||||
shellcommand_external_filtering = True
|
shellcommand_external_filtering = False
|
||||||
|
|
||||||
|
|
||||||
[[ugent]]
|
[[ugent]]
|
||||||
@ -40,9 +56,9 @@ editor_cmd = "st -e vis"
|
|||||||
|
|
||||||
[[[abook]]]
|
[[[abook]]]
|
||||||
type = shellcommand
|
type = shellcommand
|
||||||
command = 'notmuch-abook.sh'
|
command = 'notmuch address date:1Y..'
|
||||||
regexp = (?P<name>.*) <(?P<email>.+)>
|
regexp = (?P<name>.*) <(?P<email>.+)>
|
||||||
shellcommand_external_filtering = True
|
shellcommand_external_filtering = False
|
||||||
|
|
||||||
[bindings]
|
[bindings]
|
||||||
|
|
||||||
|
47
mbsyncrc
47
mbsyncrc
@ -3,17 +3,23 @@
|
|||||||
IMAPAccount gmail
|
IMAPAccount gmail
|
||||||
Host "imap.gmail.com"
|
Host "imap.gmail.com"
|
||||||
User "felix.vanderjeugt@gmail.com"
|
User "felix.vanderjeugt@gmail.com"
|
||||||
PassCmd "gpg2 -u Noctua -q --no-secmem-warning --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/gmail=//p'"
|
PassCmd "pass show other/gmail"
|
||||||
SSLType "IMAPS"
|
SSLType "IMAPS"
|
||||||
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
|
||||||
IMAPAccount ugent
|
IMAPAccount ugent
|
||||||
Host "owa.ugent.be"
|
Host "owa.ugent.be"
|
||||||
User "felix.vanderjeugt@ugent.be"
|
User "felix.vanderjeugt@ugent.be"
|
||||||
PassCmd "gpg2 -u Noctua -q --no-secmem-warning --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/ugent=//p'"
|
PassCmd "pass show web/ugent.be | head -1"
|
||||||
AuthMechs "PLAIN"
|
AuthMechs "PLAIN"
|
||||||
SSLTYPE "IMAPS"
|
SSLTYPE "IMAPS"
|
||||||
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
|
||||||
|
IMAPAccount posteo
|
||||||
|
Host "posteo.de"
|
||||||
|
User "felix.vanderjeugt@posteo.net"
|
||||||
|
PassCmd "pass show other/posteo-mbsync"
|
||||||
|
SSLTYPE "IMAPS"
|
||||||
# }}} Accounts
|
# }}} Accounts
|
||||||
|
|
||||||
# Remote Stores {{{
|
# Remote Stores {{{
|
||||||
@ -22,6 +28,9 @@ Account "gmail"
|
|||||||
|
|
||||||
IMAPStore ugent-remote
|
IMAPStore ugent-remote
|
||||||
Account "ugent"
|
Account "ugent"
|
||||||
|
|
||||||
|
IMAPStore posteo-remote
|
||||||
|
Account "posteo"
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Local Stores {{{
|
# Local Stores {{{
|
||||||
@ -34,6 +43,10 @@ Path "/data/mail/ugent/"
|
|||||||
Inbox "/data/mail/ugent/Inbox"
|
Inbox "/data/mail/ugent/Inbox"
|
||||||
Trash "/data/mail/ugent/Trash"
|
Trash "/data/mail/ugent/Trash"
|
||||||
SubFolders "Verbatim"
|
SubFolders "Verbatim"
|
||||||
|
|
||||||
|
MaildirStore posteo-local
|
||||||
|
Path "/data/mail/posteo/"
|
||||||
|
Inbox "/data/mail/posteo/Inbox"
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Channels {{{
|
# Channels {{{
|
||||||
@ -73,6 +86,30 @@ Master ":ugent-remote:Verwijderde Items"
|
|||||||
Slave ":ugent-local:Trash"
|
Slave ":ugent-local:Trash"
|
||||||
Create "Slave"
|
Create "Slave"
|
||||||
SyncState "*"
|
SyncState "*"
|
||||||
|
|
||||||
|
Channel posteo-inbox
|
||||||
|
Master ":posteo-remote:Inbox"
|
||||||
|
Slave ":posteo-local:"
|
||||||
|
Create "Slave"
|
||||||
|
SyncState "*"
|
||||||
|
|
||||||
|
Channel posteo-sent
|
||||||
|
Master ":posteo-remote:Sent"
|
||||||
|
Slave ":posteo-local:Sent"
|
||||||
|
Create "Slave"
|
||||||
|
SyncState "*"
|
||||||
|
|
||||||
|
Channel posteo-trash
|
||||||
|
Master ":posteo-remote:Trash"
|
||||||
|
Slave ":posteo-local:Trash"
|
||||||
|
Create "Slave"
|
||||||
|
SyncState "*"
|
||||||
|
|
||||||
|
Channel posteo-draft
|
||||||
|
Master ":posteo-remote:Drafts"
|
||||||
|
Slave ":posteo-local:Drafts"
|
||||||
|
Create "Slave"
|
||||||
|
SyncState "*"
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Groups {{{
|
# Groups {{{
|
||||||
@ -85,6 +122,12 @@ Group ugent
|
|||||||
Channel "ugent-inbox"
|
Channel "ugent-inbox"
|
||||||
Channel "ugent-sent"
|
Channel "ugent-sent"
|
||||||
Channel "ugent-trash"
|
Channel "ugent-trash"
|
||||||
|
|
||||||
|
Group posteo
|
||||||
|
Channel "posteo-inbox"
|
||||||
|
Channel "posteo-sent"
|
||||||
|
Channel "posteo-trash"
|
||||||
|
Channel "posteo-draft"
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# vim: foldmethod=marker
|
# vim: foldmethod=marker
|
||||||
|
15
msmtprc
15
msmtprc
@ -6,21 +6,26 @@ tls on
|
|||||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
logfile ~/.local/share/msmtp.log
|
logfile ~/.local/share/msmtp.log
|
||||||
|
|
||||||
# Gmail
|
|
||||||
account gmail
|
account gmail
|
||||||
host smtp.gmail.com
|
host smtp.gmail.com
|
||||||
port 587
|
port 587
|
||||||
from felix.vanderjeugt@gmail.com
|
from felix.vanderjeugt@gmail.com
|
||||||
user felix.vanderjeugt
|
user felix.vanderjeugt
|
||||||
passwordeval "gpg2 -q --no-secmem-warning --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/gmail=//p'"
|
passwordeval "pass show other/gmail"
|
||||||
|
|
||||||
# UGent
|
|
||||||
account ugent
|
account ugent
|
||||||
host smtp.ugent.be
|
host smtp.ugent.be
|
||||||
port 587
|
port 587
|
||||||
from felix.vanderjeugt@ugent.be
|
from felix.vanderjeugt@ugent.be
|
||||||
user felix.vanderjeugt@ugent.be
|
user felix.vanderjeugt@ugent.be
|
||||||
passwordeval "gpg2 -q --no-secmem-warning --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/ugent=//p'"
|
passwordeval "pass show web/ugent.be | head -1"
|
||||||
|
|
||||||
|
account posteo
|
||||||
|
host posteo.de
|
||||||
|
port 587
|
||||||
|
from felix.vanderjeugt@posteo.net
|
||||||
|
user felix.vanderjeugt@posteo.net
|
||||||
|
passwordeval "pass show web/posteo.de | head -1"
|
||||||
|
|
||||||
# Set a default account
|
# Set a default account
|
||||||
account default : gmail
|
account default : posteo
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mbsync -qq ugent gmail
|
mbsync -qq -a
|
||||||
|
Loading…
Reference in New Issue
Block a user