pkgsrc/mail/qmail-run/files/qmail-isspam-rspamd.sh
schmonz 2454aac709 Add scripts to wrap spamc and rspamc, suitable for use in .qmail files
with e.g. condtomaildir(1). Bump version.
2018-09-10 09:07:49 +00:00

6 lines
148 B
Bash

#!@SH@
#
# example usage from .qmail:
# | condtomaildir ./Maildir/.Spam qmail-isspam-rspamd
@PREFIX@/bin/rspamc --mime | @GREP@ -q '^X-Spam: yes$'