On 19/07/00 10:08 +0530, Anand Raman spewed into the LI bitstream:

>*******
>ourserv procmail[21174]: Couldn't rename bogus "/var/spool/mail/anand" into
>"/var/spool/mail/BOGUS.Y5eB"
>*******

Because there's no /var/spool/mail/anand I suppose.  See what $MAIL is set
to - most likely $HOME/Mailbox

Plus, procmail doesn't do maildir very well.

Try this -

PATH=/bin:/usr/bin:/usr/bin:$PATH
ORGMAIL=$HOME/Mailbox
MAILDIR=$HOME/mail
DEFAULT=$HOME/Mailbox   #completely optional
LOGFILE=$MAILDIR/procmail.log

:0 Wh: msgid.lock
| formail -D 8192 msgid.cache

:0:
* ^From.*user*
/home/user/users_mailbox

In .qmail put |preline procmail -m ~/.procmailrc

Or try safecat http://www.nb.net/~lbudney/linux/software/safecat.html
which copies stdin to a specified directory.  Better than procmail for
maildirs at least ;)

Or you could try another procmail replacement - maildrop - at
http://www.flounder.net/~mrsam/maildrop (works out of the box with qmail,
and for sendmail use this ruleset below)

Mlocal,  P=/usr/local/bin/maildrop, F=lsAw5:/|@SPfhn, S=10/30,R=20/40,
         T=DNS/RFC822/X-Unix,
         A=maildrop -d $u


-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
It has been said that man is a rational animal.  All my life I have
been searching for evidence which could support this.
                -- Bertrand Russell

-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to