tir, 06.09.2005 kl. 17.07 skrev Will Maier:
On Mon, Sep 05, 2005 at 11:51:31AM +0200, Andrew Gargan wrote:
can anyone point me to some docs that give solid examples of out
of office replies and filtering using maildrop.
Ironically, your mail got caught in *my* maildrop OOTO filter net.
Still, I retrieved it. Here's the relevant section from my setup:
# --[ CATCH VACATION NOTICES
if ( /^Subject:.*(autoreply|out of (the)?[\t ]*office|ist au..?er
haus|abwesenheitsnotiz|har semester|est absent)/ )
{
to $SPAM
}
It's no fun having to tweak (and re-tweak) my settings every time
some nut forgets to turn their notice off for mailinglists, but this
is the best solution I've come up with. I wonder, though, if a
bayesian filter could learn something as specific as vacation
notices...
"Well," he answered cautiously, "you might try directing messages with
(be careful, this is PCRE, now):"
if ( /^Precedence:\s+bulk/ )
{
to "Maildir"
}
and then catching the rest. I use this for vacation messages (and a
whole lot more) and was going to post my whole routine, but then it got
to beer time, so I didn't ...
--Tonni