[REBOL] pop filtering
From: balayo:mindspring at: 14-Feb-2001 6:53
I'd like to filter my mail, according to address, as it comes
off of the server. Jeff posted this script some time ago, but
it's for use with something like sendmail or exim, and I've
never been able to get it working. How easy would it be to
convert this thing to pop?
; #!/usr/local/bin/rebol -qws
; REBOL [
; Title: "Mail filter"
; stdin: copy system/ports/input
; message: import-email stdin
; foreach [item file][
; "[list--rebol--com]" %rebol-box
; "[docbook--lists--oasis-open--org]" %doc-box
; if find item message/to [
; write/append file stdin
; write/append %default-box stdin
Loving every minute of it.