# See logind.conf(5) for details.
[Login]
+# Note that with the standard Buster kernel this won't work due to
+# <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919227>.
HandleLidSwitch=hibernate
;; this only works if we use notmuch-mua-send instead of message-send
(setq notmuch-fcc-dirs '(("plom@plomlompom.com" . "maildir/Sent")))
+;; this gets rid of "i-did-not-set--mail-host-address--so-tickle-me"
+;; in the message ID
+(setq mail-host-address "plomlompom.com")
;; org mode
;; ========
Host core.plomlompom.com
User plom
# For some reason, mbsync doesn't accept a PassCmd output beyond 79 chars,
-# therefore ~/.imap_pass should not be longer than that.
+# therefore the pw in ~/.authinfo should not be longer than that.
PassCmd "cat ~/.authinfo | cut -d' ' -f8-"
SSLType IMAPS
AuthMechs LOGIN
#!/bin/sh
set -e
-# Ensure all "dir:*"-tagged mails are in proper directories.
-basedir="/home/plom/test_mbsync/maildir/"
+# Ensure all "dir:*"-tagged mails are in proper directories,
+# remove all "dir:*" tags.
+basedir="/home/plom/mail/maildir/"
for tag in $(notmuch search --output=tags '*'); do
if [ ! $(echo "${tag}" | cut -c-4) = "dir:" ]; then
continue
mv "${f}" "${target_path}"
fi
done
+ notmuch tag -"${tag}" tag:"${tag}"
done
# Remove all "deleted"-tagged files from maildirs.