Per other people's quotes of it, Andrew Kelley has asked (I don't remember
his original post) how to get procmail to deliver into a partition on the
machine where he logs in that is not mounted on the machine where mail is
delivered. In particular, Andrew, it appears, wants spam filed in
/tmp/spam.box (though, just in case other users get the same idea, he might
want to make it /tmp/kelleya/smap.box or /tmp/spam-to-kelleya).
What happens if mail is specifically addressed to
user(_at_)shellmachine(_dot_)dimensional(_dot_)com? Is it delivered by the
shell machine?
And can the shell machine run procmail? If so, there is an out: when
procmail is running on the mail host and gets something for kelleya that
Andrew's .procmailrc deems to be spam,
:0 flags
* conditions
* $ ! ^X-Loop: $LOGNAME(_at_)$HOST
! formail -A "X-Loop: $LOGNAME(_at_)$HOST" -A "X-Spammy: yeah" | \
$SENDMAIL -oi $LOGNAME(_at_)shellmachine(_dot_)dimensional(_dot_)com
but much earlier in the .procmailrc, add this:
:0:
* HOST ?? ^^shellmachine\.
* ^X-Loop: $LOGNAME(_at_)mailhost\(_dot_)dimensional\(_dot_)com
* ^X-Spammy: yeah
/tmp/spam.box