"Mark E. Drummond" <[EMAIL PROTECTED]> wrote:
>
>I now have mail being forwarded to my machine from our hub. However it
>is being spooled on /var/spool/mail/mark. Here is my /var/qmail/rc:
>
>exec env - PATH="/var/qmail/bin:$PATH" \
>qmail-start ./Mailbox sh -c 'accustamp | cyclog -s 500000 -n 10
>/var/log/qmail'
>
>Which would normally deliver to ~/Mailbox only my ~/.qmail:
>
>|preline /usr/local/bin/procmail
>
>runs it through procmail. My procmail is the Maildir capable version and
>my ~/.procmailrc is (shorted for clarity):
>
>PATH=/bin:/usr/bin:/usr/local/bin
>MAILDIR=$HOME/Maildir
>LOGFILE=$MAILDIR/log/log.`date +%y-%m-%d`
>SHELL=/bin/sh
>
>:0:
>* ^(From|Cc|To).*mutt.*@mutt.org
>mutt/

Try adding:

    LOGFILE =       $MAILDIR/from
    LOGABSTRACT=all
    VERBOSE=on

then examine $MAILDIR/from after a delivery.

>So mail from the mutt list(s) should get dumped into ~/Maildir/mutt/, a
>Maildir format mail box which should be created by procmail as needed
>no?

I doubt it, but I don't know "the Maildir capable version" of
procmail.

>Mail still being spooled on /var/spool/mail/mark. Wasn't there something
>about procmail delivering to there regardless of the .procmailrc?

You need a catch-all recipe like:

    :0:
    $HOME/Mailbox

at the bottom of your .procmailrc to prevent /var/spool/mail
deliveries.

>Would I be better off just going to maildrop?

No doubt.

Also, see:

    http://Web.InfoAve.Net/~dsill/lwq.html#procmail

for more qmail/procmail tips, although it's still not 100% complete.

-Dave

Reply via email to