On Sat, Sep 30, 2000 at 06:05:56PM +0000, Subba Rao wrote:
> I am in the process of moving from maildrop to procmail. The MTA on my
> system is Qmail, therfore I chose to use Maildir format for my mail.
> Procmail has been compiled to point to my spool at $HOME/Maildir
> 
> The fetchmailrc is invoking procmail fine, but it does not write to the
> $HOME/Maildir/new directory. Instead it is dropping the mail in the literal
> $HOME/Maildir/ directory. The LOGFILE too is written to $HOME/Maildir/ 
> directory.

[snip...]

> How can I make Procmail deliver mail in maildir format? The version of
> procmail on my system is v3.15

You must specify a '/' at the end of the name of the maildir to alert
procmail that your desired delivery mailbox is, in fact, a maildir.

For example, my .procmailrc includes the following recipe to process
messages to this list:

:0
* ^TO_qmail
Qmail/

Qmail is the name of the maildir in MAILDIR ($HOME/Mail, in my case).
Procmail automatically delivers to the new/ directory within the
specified mailbox.

> Procmail variables are as follows,
> 
> PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
> MAILDIR=$HOME/Maildir
> DEFAULT=$MAILDIR
> LOGFILE=procmail.log
> LOCKFILE=$HOME/.lockmail
> VERBOSE=yes

You probably will need to change DEFAULT to say DEFAULT=$MAILDIR/ if you
plan on some mail falling off the end of your processing and getting
delivered to the default drop.

> Thanks for any pointers or info.

Hope this helped.

> Subba Rao
> [EMAIL PROTECTED]
> http://pws.prserv.net/truemax/

Tim
-- 
Timothy Legant
[EMAIL PROTECTED]

Reply via email to