> It's not clear what you want, here. Maildir delivery doesn't involve

I'll explain my goal in detail. We run a NIS+ environment here but my
machine (Linux box) is standalone. I make it as autonomous as possible
like running a secondary DNS server etc. No I want to move my mail off
of our hub and onto my machine.

I am running qmail 1.03 and want to use Maildir. The idea is this: My
mail gets forwarded from the hub to my local machine. procmail filters
my mail into various mail boxes (two words so I don't lead anyone to
believe I am referring to a particular format) like inbox (mail that
doesn't fit any other category), linux, mutt, qmail, security etc
(various mailing lists). When I start up mutt I want it to go straight
to the "inbox". I also want to use Maildir which means (to me) that
_each_ of the above mentioned mail boxes will be a Maildir with a cur
new and tmp subdir, like so:

~/Mail
        /inbox
                /cur
                /new
                /tmp
        /linux
                /cur
                /new
                /tmp
        /security
                /cur
                /new
                /tmp

Finally, if possible, I want deleted messages moved to a trash mail box.

Here are some of my configs:

/var/qmail/rc:
        exec env - PATH="/var/qmail/bin:$PATH" \
        qmail-start ./Mailbox sh -c 'accustamp | \
        cyclog -s 500000 -n 10 /var/log/qmail'

~/.qmail:
        |preline /usr/local/bin/procmail

~/.procmailrc:
        PATH=/bin:/usr/bin:/usr/local/bin
        MAILDIR=$HOME/Mail
        LOGFILE=$MAILDIR/log/log.`date +%y-%m-%d`
        SHELL=/bin/sh

        :0:
        * ^(From|Cc|To).*mutt.*@mutt.org
        mutt/

        :0:
        * ^(Subject).*test
        test/

~/.muttrc:
        set folder=~/Mail
        set mbox=+inbox/
        set mbox_type=Maildir
        set spoolfile=~/Maildir

I have been screwing around so much now that my configs are probably all
screwed up. Right now, if I send mail to myself, it gets delivered to
~/Mail/mark/ (a Maildir) _and_ /var/spool/mail/mark. If I attempt to use
a procmail recipe like the one for a Subject of "test", it does not
work. The message still gets delivered to ~/Mail/mark/.

-- 
___________________________________________________________________
Mark E Drummond                    Royal Military College of Canada
[EMAIL PROTECTED]                                Computing Services
Linux Uber Alles                                        perl || die

       ...there are two types of command interfaces in the world of
                    computing: good interfaces and user interfaces.
                                   - Dan Bernstein, Author of qmail

PGP Fingerprint = 503D A72D AF41 2AD1 D433 C514 98D9 9A39 B25A 2405

Reply via email to