diff options
author | 2018-11-07 20:34:46 -0500 | |
---|---|---|
committer | 2018-11-07 20:34:46 -0500 | |
commit | 6b6a22a2abb645496bf7d896c0113452ca29b12d (patch) | |
tree | 5af495a088733e961a46a25db07e7ae26470b5a1 /rc.org | |
parent | f7f392c7cd4960eee6769b8c2310ffb78898e3f1 (diff) | |
download | configs-6b6a22a2abb645496bf7d896c0113452ca29b12d.tar.gz configs-6b6a22a2abb645496bf7d896c0113452ca29b12d.tar.xz configs-6b6a22a2abb645496bf7d896c0113452ca29b12d.zip |
[emacs,rc] Gnus + Isync + Dovecot configs, notmuch-emacs phase out
TODO: look into full-text search, using either notmuch or (c)lucene
https://ericabrahamsen.net/tech/2014/oct/gnus-dovecot-lucene.html
https://web.archive.org/web/20160713091633/http://roland.entierement.nu:80/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html
Diffstat (limited to '')
-rw-r--r-- | rc.org | 85 |
1 files changed, 69 insertions, 16 deletions
@@ -389,6 +389,52 @@ wintypes: }; #+end_src +** dovecot +:PROPERTIES: +:header-args+: :tangle "/sudo::/etc/dovecot/dovecot.conf" +:END: + +#+begin_src conf +protocols = imap + +listen = 127.0.0.1 +log_path = /var/log/dovecot.log +info_log_path = /var/log/dovecot-info.log + +ssl = no +disable_plaintext_auth = no + +auth_verbose = yes +auth_mechanisms = plain + +passdb { + driver = passwd-file + args = /etc/dovecot/passwd +} + +userdb { + driver = static + args = uid=amin gid=amin home=/home/amin/mail/%d/%n + default_fields = mail=maildir:/home/amin/mail/%d/%n/mail +} + +# mail_home = /home/amin/mail/%d/%n +# mail_location = maildir:/home/amin/mail/%d/%n/mail:LAYOUT=fs:INBOX=/home/amin/mail/%d/%n/mail/Inbox + +# namespace { +# inbox = yes +# separator = / +# } + +# mail_plugins = $mail_plugins fts fts_lucene + +# plugin { +# fts = lucene +# fts_lucene = whitespace_chars=@. +# fts_autoindex = yes +# } +#+end_src + ** Dunst :PROPERTIES: :header-args+: :tangle ~/.config/dunst/dunstrc @@ -988,6 +1034,7 @@ disk "/data" { #+begin_src conf # Global defaults CopyArrivalDate yes +Create Both ###### IMAPAccount amin @@ -999,17 +1046,20 @@ SSLType IMAPS IMAPStore amin-remote Account amin -MaildirStore amin-local -Path ~/mail/amin/ -Inbox ~/mail/amin/Inbox -SubFolders Verbatim +IMAPAccount amin-dovecot +Host 127.0.0.1 +Port 143 +User amin@aminb.org +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin-dovecot.gpg" +SSLType None + +IMAPStore amin-local +Account amin-dovecot Channel amin Master :amin-remote: Slave :amin-local: -Patterns * !dovecot* -Create Both -SyncState * +Patterns * ###### IMAPAccount uwaterloo @@ -1021,17 +1071,20 @@ SSLType IMAPS IMAPStore uwaterloo-remote Account uwaterloo -MaildirStore uwaterloo-local -Path ~/mail/uwaterloo/ -Inbox ~/mail/uwaterloo/Inbox -SubFolders Verbatim +IMAPAccount uwaterloo-dovecot +Host 127.0.0.1 +Port 143 +User abandali@uwaterloo.ca +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/uwaterloo-dovecot.gpg" +SSLType None + +IMAPStore uwaterloo-local +Account uwaterloo-dovecot Channel uwaterloo Master :uwaterloo-remote: Slave :uwaterloo-local: -Patterns * !dovecot* -Create Both -SyncState * +Patterns * #+end_src *** mbsync.service @@ -2172,7 +2225,7 @@ def_key "K" # configured here named ".notmuch". # [database] -path=/home/amin/mail +path=/home/amin/oldmail # User configuration # @@ -5389,7 +5442,7 @@ alias mv="mv -iv" alias cp="cp -iv" alias scl=systemctl alias jcl=journalctl -alias m="mbsync -a; notmuch new" +alias m="mbsync -a" alias best="youtube-dl -f best" alias sd="ssh deb" alias sf="ssh fp" |