summaryrefslogtreecommitdiff
path: root/integrations/maildir-rank-addr.md
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/maildir-rank-addr.md')
-rw-r--r--integrations/maildir-rank-addr.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/integrations/maildir-rank-addr.md b/integrations/maildir-rank-addr.md
new file mode 100644
index 00000000..463e968b
--- /dev/null
+++ b/integrations/maildir-rank-addr.md
@@ -0,0 +1,20 @@
+---
+title: "aerc-wiki: Integrations/maildir-rank-addr"
+---
+
+# maildir-rank-addr
+
+To use [maildir-rank-addr](https://github.com/ferdinandyb/maildir-rank-addr)
+with aerc, you need to first run `maildir-rank-addr` at least once, but likely,
+you want to run it periodically, like every 12 hours. You can either set up
+a cronjob, or systemd timer.
+
+Once you have the generated `addressbook.tsv` set up your favourite grep in
+`aerc.conf` as your address book command, e.g.:
+
+```ini
+address-book-cmd=grep -i -m 100 %s /home/[myuser]/.cache/maildir-rank-addr/addressbook.tsv
+```
+
+Note, that aerc only displays the first 100 entries for the completion so no
+point in giving it more.