26 lines
405 B
Plaintext

LOGFILE=/opt/fetch/mail/procmail.log
:0 fhw
| formail -I "X-Keyword: 0"
:0 fBW
* ? grep -iqf /opt/fetch/mail/keywords/full-disclosure
| formail -I "X-Keyword: 1"
:0
* ^X-Keyword: 0
/dev/null
:0c
| formail -I "" >> /opt/fetch/mail/mail.bodies
:0
| formail -I "" | /usr/bin/mosquitto_pub -h mqtt.lxc.br0tkasten.de -i seeker -t notify/full-disclosure -s
:0
/dev/null
#:0
#/opt/fetch/mail/mail.mbox