I'm trying to get procmail to filter my email messages into appropriate IMAP 
folders so that this is done serverside.  I'm running into some problems 
though, and am not sure how to track it down.

When I use KMail to connect to an IMAP mailbox, then tell it to check mail, I 
get an error message with the following:

Could Not Determine Resource Status
An attempt to determine information about the status of the resource Unable to 
get information about folder INBOX.procmailrc. The server replied: Mailbox 
does not exist, or must be subscribed to., such as the resource name, type, 
size, etc., was unsuccessful.
Technical reason: Could Not Stat Resource

The obvious problem is the INBOX.procmailrc bit.  But I'm not sure how to fix 
this.  It would appear that it's not even reading my .procmailrc file, so I 
don't think the problem is in there.  I have a .qmail file set up under the 
appropriate user directory, and this file has the following line:

|/usr/bin/qmail-procmail

Then the /usr/bin/qmail-procmail file looks like so:

#!/bin/sh
# Copyright (c) 1998 Software in the Public Interest <http://www.debian.org/>
# Written by Philip Hands <[EMAIL PROTECTED]>. Distributed under the GNU GPL
# $Id: qmail-procmail,v 1.2 1998/03/24 19:31:27 phil Exp $

/usr/bin/preline /usr/bin/procmail && exit 0

# check if procmail returned EX_TEMPFAIL (75)
[ $? = 75 ] && exit 111

# otherwise return a permanent error
exit 100

If it helps any here's my current .procmailrc file:

PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/.maildir
DEFAULT=$MAILDIR/Inbox
LOGFILE=$HOME/Procmail/log

LOGFILE=procmail.log

#Test recipe
:0:
* [EMAIL PROTECTED]
TEST


The only remaining part I'm not sure on is the directory structure and where 
the .qmail and .procmailrc file should reside.  I have them both currently 
in /var/vpopmail/domains/open2space/sgrover/.maildir.  Maybe the problem is 
here somehow?  But the .qmail file seems to be getting read, otherwise I 
don't think I'd be getting this error...

Any tips are greatly appreciated.

Shawn

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to