<<< Date Index >>>     <<< Thread Index >>>

Re: maildrop mailfilter syntax



* Russell L. Harris <rlharris@xxxxxxxxxx>:
> 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:

Take a look at the following examples at
<http://www.dotfiles.com/index.php?app_id=18>:

1. maildrop .mailfilter supporting user+extension@xxxxxxxxxxx
2. My ~/.mailfilterrc !, October 23rd 2003, 09:10:31 PM
3. Basic .mailfilter file for maildrop (incl. PGP stuff)
4. Maildrop .mailfilter file


Here's an example from my stuff:

DEFAULT="/var/spool/mail/p"
SHELL="/bin/bash"
logfile $HOME/maildrop.log


    if (/^(From|Cc):.*mutt-users@mutt\.org/)
    {
      to "$DEFAULT/.ml.mutt/"
    }

HTH,

p@rick

-- 
Das Postfix-Buch
<http://www.postfix-buch.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>