Compare commits

...

2 commits

Author SHA1 Message Date
a7d02ca428
update readme 2022-10-18 17:38:28 +02:00
31113dc9a9
fix xml2text path 2022-10-18 17:38:19 +02:00
2 changed files with 3 additions and 4 deletions

View file

@ -4,6 +4,6 @@ DOVECOT
rescan index: https://doc.dovecot.org/configuration_manual/fts/#rescan rescan index: https://doc.dovecot.org/configuration_manual/fts/#rescan
``` ```
sudo -u vmail doveadm fts rescan -u 'test@mail2.sublimity.de' doveadm fts rescan -u 'i@ckn.li'
sudo -u vmail doveadm index -u 'test@mail2.sublimity.de' -q '*' doveadm index -u 'i@ckn.li' -q '*'
``` ```

View file

@ -66,8 +66,7 @@ xmlunzip() {
trap "rm -rf $path $tempdir" 0 1 2 3 14 15 trap "rm -rf $path $tempdir" 0 1 2 3 14 15
cd $tempdir || exit 1 cd $tempdir || exit 1
unzip -q "$path" 2>/dev/null || exit 0 unzip -q "$path" 2>/dev/null || exit 0
find . -name "$name" -print0 | xargs -0 cat | find . -name "$name" -print0 | xargs -0 cat | /usr/lib/dovecot/xml2text
$libexec_dir/xml2text
} }
wait_timeout() { wait_timeout() {