Ok, updates. I tried a simple test in the mailfilter file:
log("it is now: $D")
what gets printed is:
it is now: this is only a pop email account
What's going on here? I really, really, really don't want to go back to using procmail, if I can at all avoid it.