[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mailfilter (was Re: missing /var/mail)



Am 2008-02-04 03:34:01, schrieb Ron Johnson:
> On 02/04/08 01:54, Chris Bannister wrote:
> > example from .mailfilter:
> > 
> > DEFAULT=$HOME/Mail/IN-personal/
> > 
> > if (/^X-Loop: debian-user@lists\.debian\.org$/)
> > {
> > 	  to "$HOME/Mail/IN-debian-user/"
> > }

This is working, but...

> > Notice the slash after IN-debian-user and IN-personal
               ^^^^^
> Are you using Maildir?

He use it and you have cute the sentence where he has written it

> This is how it has to look when you drop email into Maildir:
> 
> if ( /^Subject: \-\- Spam \-\-/ )
> {
>     to "Maildir/.Spam"
                      ^^
> }
> 
> if ( /^X-Mailing-List:.*<debian-user@lists.debian.org>*/ )
> {
>     to "Maildir/.Lists.Debian.User.2008q1"
                                          ^^
> }

This is producing a Mailbox here instead of a Maildir.  :-)


Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: