On Wed, Sep 12, 2001 at 06:45:06PM +0200, Leonard Cooper wrote:
> The problem is that the directory structure that is used for mail boxes id
> NOT of the "qmail" maildir format. I belive it is based on "cwmail"(??). 
> 
> What I would like to know, it how to get qmail to deliver to the directory
> structure, or even where to start looking.

You will want to write a program that accepts a mail message on stdin and
writes to the cwmail format. (Sorry, I've never heard of cwmail.)

Then specify that as your default delivery option. If you install according
to Life With qmail, you'll have a /var/qmail/rc like:

#!/bin/sh

# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by default

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"

So you'll need to change the contents of /var/qmail/control/defaultdelivery
to your program.

-dsr-

Reply via email to