31 lines
406 B
Plaintext
31 lines
406 B
Plaintext
# vim:ft=m4:
|
|
MAILDIR=$HOME/Maildir
|
|
SHELL=/bin/dash
|
|
#VERBOSE=on
|
|
|
|
define(`deliver', `ifelse(`$1', `INBOX', `./', `.$1/')')
|
|
|
|
# crm114
|
|
|
|
:0 f
|
|
| grep --text -v ^X-CRM114-Status:
|
|
|
|
:0 fw
|
|
| ~/bin/runcrm114 mailreaver.crm
|
|
|
|
:0
|
|
* ^X-CRM114-Status: SPAM
|
|
deliver(`spam')
|
|
|
|
:0
|
|
* ^X-CRM114-Status: UNSURE
|
|
deliver(`maybe-spam')
|
|
|
|
# Mailing lists
|
|
|
|
define(`md_target', `procmailrc')
|
|
include(`maildirs.m4')
|
|
|
|
:0
|
|
deliver(`INBOX')
|