procmail
[Top] [All Lists]

Re: Procmail and MBX question

1999-05-06 04:08:59
Harvey Hou <hou(_at_)claire(_dot_)hsrc(_dot_)unc(_dot_)edu> writes:
My mail system that I have set up for my department is running on a
Solaris 2.6 box using Sendmail 8.9.3, Procmail 3.11pre7, UW IMAP 4.5,
and the clients on everyone's PC is Netscape 4.5 or 4.51.

Initially the mail folders were your standard berkeley mbox format, but
I've recently changed over to mbx format because of file locking and
synchronization problems with mbox.

Now I discover that having procmail deliver to these mbx folders that
Netscape cannot open them. I receive the following error message: The
current command did not succeed. The mail server responded: SELECT
failed: Unable to find CRLF at 2048 in 64 bytes. It looks like from the
procmail log that procmail delivers the message o.k. but doesn't place
it in the correct format, so Netscape and IMAP can parse that mbx mail
folder.

Is there a fix in the newer versions of procmail? Or do I just go back
to using mbox format folders for the mail folders that procmail delivers
to?

Procmail does not know how to write mbx format mailboxes.  It only
understands unix/mbox, MH, and "directory-style" (I think this was a
procmail creation).  Maildir support will be in the next version.  To
deliver to other mailbox formats, you'll need to use the "dmail"
program, availible in UW's IMAP repository.  It would be invoked from
a user's .procmailrc as:

        :0 w
        | dmail 
or
        :0 w
        | dmail +folder-name

Doing this for _all_ users is much more tricky; setting DEFAULT won't
work.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>