maildrop mailfilter syntax
I am switching from Gnus to Mutt, and am using maildrop to provide the
sorting which I previously was doing with Gnus. The processing chain
pop3.isp.com -> getmail4 -> maildrop -> [ maildir structures ] -> mutt
is handling incoming mail, but maildrop is delivering all messages to
the default maildir "~/mail/nondescript"; so it appears that there is an
error in the syntax of "~/.mailfilter". At first, I suspected that the
characters '[' and ']' were causing a problem, but even mail which
SpamAssassin (running at my ISP) flags with the word "SPAM" in the
subject line is being delivered to "~/mail/nondescript".
Here are my mailfilter instructions:
DEFAULT=$HOME/mail/nondescript
# spam is flagged by SpamAssassin at the ISP
if ( /^"Subject:".*"SPAM"/ )
to spam
if ( /^("To"||"Cc")":".*"debian-user"/ )
to computer/debian
if ( /^("To"||"Cc")":".*"mutt-users"/ )
to computer/mutt
if ( /^"Subject:".*"[alsa-user]"/ )
to computer/alsa
to $DEFAULT
RLH