"Mark E. Drummond" <[EMAIL PROTECTED]> writes:

> I just finished DLing and installing procmail with the necessary
> patches and tested it out. Part way there ... The incoming message
> _was_ picked out by procmail but a) it was dumped into a file called
> ~/Maildir/trash instead of a directory ~/Maildir/trash/...

It's not clear what you want, here. Maildir delivery doesn't involve
any directory called "trash", unless you created a directory
confusingly "Maildir" which isn't one, but which contains a maildir
called "trash", having subdirectories "cur", "new", and "tmp".

What recipe did you try in your procmailrc? What is ~/Maildir/trash?
What did you desire to accomplish?

> and b) it was _also_ delivered to ~/Maildir/new/.

As you deduced, that was probably because of the "./Maildir/" line in
your .qmail file.

By the way, you can also get the job done using normal procmail, and
my "safecat" utility. The recipe in your procmailrc should look like:

        :0w
        <criteria here>
        | safecat $HOME/Maildir/trash/tmp $HOME/Maildir/trash/new

That assumes, of course, that ~/Maildir/trash is a maildir into which
you want your messages delivered. Otherwise, delete the text "/trash"
globally from the above example.

You can find safecat at
<http://www.pobox.com/~lbudney/linux/software/safeact.html>.

Len.

-- 
The king's heart is in the hand of the LORD, as the rivers of water:
he turneth it whithersoever he will. --Proverbs 21:1

Reply via email to