Subject: info on EXTRADRIVERS=mbox

From: [email-masked] (Matthew Black)
Date: 9 Aug 1996 15:04:56 GMT

Where can I get further information on building PINE with the mbox driver?
PINE behaves in an peculiar manner:

1. PINE is started by a user who has a file ~/mbox.
   All mail from the NFS-mounted spool is appended to the end of ~/mbox
   which serves as the INBOX folder.  When exiting from PINE, the mail
   spool file (/usr/spool/mail/<user>) is empty while all undeleted 
   messages remain in ~/mbox.

2. PINE is started by a user without an ~/mbox file
   Messages from /usr/spool/mail/<user> are used as the INBOX folder.
   When exiting from PINE, undeleted messages remain in the NFS-mounted
   mail spool rather than being copied to ~/mbox.

Can anyone shed some light on how to make PINE behave as in #1 eventhough
a user doesn't have an "mbox" file?

--matt
============================================================================
matthew black                   | the opinions expressed herein are mine and
network & systems administrator | may not reflect those of my employer.
california state university     |
cecs department                 |          e-mail: [email-masked]
1250 bellflower boulevard       | PGP fingerprint: 98 4E DF BE 49 A8 DF 99
long beach, ca 90840            |                  6A 7A 1B F1 3E 50 E5 D2
=============================(c) 1996 by Matthew Black, all rights reserved=

---

From: Mark Crispin <[email-masked]>
Date: Sat, 10 Aug 1996 00:54:27 -0700

>    mail spool rather than being copied to ~/mbox.

This is how the code was designed; ~/mbox is used only if there is one.

> a user doesn't have an "mbox" file?

Modify mbox.c so that it unconditionally creates an ~/mbox file in
mbox_valid() instead of only going through if one exists.

-- Mark --	Read http://www.imap.org for the "best kept secret in email"

DoD #0105, R90/6 pilot, FAX: (206) 685-4045  ICBM: N 47 39'35" W 122 18'39"
Science does not emerge from voting, party politics, or public debate.