On Tue, 23 Apr 2002 22:15:57 +0700, Simon J. Hubbard wrote:
> I'm using UW IMAP + procmail + sendmail.  Procmail has been implemented at
> the local mailer level.  I am therefore able to filter messages at the
> server level.  For each of my user's I've created a junkmail folder.  So
> what I'd like to do is get procmail to filter messages according to subject
> and deliver them to the user's junkmail folder.  I'm using the standard mbox
> mailbox format and I've tested the above and although the message physically
> gets delivered to the folder I'm unable to view the messages through my
> email client (tried Outlook Express, Netscape and IMP).

What error message(s) are you getting from the email client?

What happens when you try to use Pine to access "junkmail"?

>From your description, it is unclear whether the problem is in your usage of
the client, or if you're doing something wrong in procmail when delivering to
"junkmail".

> I saw some mention on another list that a message must first pass through
> the /cur and /new directories inside the users home directory for formatting
> by UW IMAP  before it can be viewed.  Is this is the case?

"/cur" and "/new" are maildir artifacts, and thus are only relevant if you use
maildir.  UW IMAP is not distributed with maildir, so you would have to use
third-party maildir software (either a maildir driver for UW IMAP, or another
IMAP server) for "/cur" and "/new" to be an issue on your system.

> I've also seen an alternative solution whereby you use mbx format mail
> folders and use dmail to deliver those folders, however as I'm doing this at
> the local mailer level (UID root), I'm unable to go down this road as dmail
> won't run under UID root.

This is only if you want to use non-mbox mailbox format.  Although use of mbx
may be desirable for other reasons, it is not directly relevant to your
problem.

If you went down this route, instead of having procmail deliver directly it
would pipe to dmail.  When procmail calls dmail in this way, it automatically
runs dmail in the destination user's UID.

There is a companion tool to dmail called tmail which is intended to run as
root.  However, you do not normally use tmail in a filtering configuration.

In any case, the first step is to figure out why your existing "junkmail" is
not working, and to help on that there needs to be more detailed information.

Please move any further follow-ups to the [EMAIL PROTECTED] mailing
list.  The IMAP mailing list is for discussions about the design and
specification of the IMAP protocol.  Specific software questions about UW IMAP
software belong on the c-client list.  You can also use the comp.mail.imap
newsgroup for a wider audience.  Thanks!

Reply via email to