-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/08/08 17:41, Chris Bannister wrote: > On Mon, Feb 04, 2008 at 03:34:01AM -0600, Ron Johnson wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 02/04/08 01:54, Chris Bannister wrote: >> [snip] >>> example from .mailfilter: >>> >>> DEFAULT=$HOME/Mail/IN-personal/ >>> >>> if (/^X-Loop: [EMAIL PROTECTED]/) >>> { >>> to "$HOME/Mail/IN-debian-user/" >>> } >>> >>> Notice the slash after IN-debian-user and IN-personal >> Are you using Maildir? > > Yep. > > >> This is how it has to look when you drop email into Maildir: > > Has to?
You're right. >> if ( /^Subject: \-\- Spam \-\-/ ) > ^^^^^^^^^^^^^[1] >> { >> to "Maildir/.Spam" >> } > > The Directory is immaterial, I have mine in $HOME/Mail/ > > also: > ls -al Mail/IN-debian-user/ > total 132 > drwx------ 5 chrisb staff 4096 2007-09-23 08:30 . > drwx------ 117 chrisb staff 4096 2008-02-03 19:54 .. > drwx------ 2 chrisb staff 45056 2008-02-05 02:15 cur > drwx------ 2 chrisb staff 73728 2008-02-08 22:59 new > drwx------ 2 chrisb staff 4096 2008-02-08 22:59 tmp More assuming on my part. It's been 3 years since I started using Maildir and courier-imap, but IIRC, maildirmake defaults to Maildir as the "main" location. Or the web page that I based my work off of did... > And since "Mail/IN-debian-user/" is a directory and not a file then I see > "Mail/IN-debian-user/" rather than "Mail/IN-debian-user" being more > correct. > >> if ( /^X-Mailing-List:.*<debian-user@lists.debian.org>*/ ) > ^^^^^^^^^^^^^^^^^^^^^[2] > >> { >> to "Maildir/.Lists.Debian.User.2008q1" > ^^^^^^^^^^^^^^^^^^^^^^^^^ > Is that a nested directory structure, or one directory? >> } Yes. According to /man maildirmake/, Maildir doesn't "do" sub- directories, but it emulates them with these dotted directory names all in Maildir/. Similarly, if from an MUA I create a nested IMAP folder, courier-imap also creates this kind of dotted directory name. > > My setup is working perfectly. > > [1] Why are you escaping the '-' here but ... > [2] not here? For some reason, maildrop multiple dashes didn't seem to like multiple dashes. - -- Ron Johnson, Jr. Jefferson LA USA PETA - People Eating Tasty Animals -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHrb8dS9HxQb37XmcRAiG8AJ9t84SZYkVfzEXzTWUnpmGPNyTdAQCffmBM VLBSym+IZ203F5nsRLuNvns= =Bo9g -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]