Subject: Re: 4.02 moves messages to mbox?

From: "Jonathan C. Davis" <[email-masked]>
Date: Thu, 20 Aug 1998 10:35:50 -0500 (CDT)

That's a function of imapd.  If $USER/mbox exists, it moves the INBOX
into it.  You can disable it by changing "EXTRADRIVERS=mbox" to
"EXTRADRIVERS=" in imap/Makefile and recompiling.

 Jonathan C. Davis                Computer Technology
 Senior Network Engineer          ACES / College of Agriculture / AAES
 334-844-9660                     Auburn University, Alabama, USA 36849

> From [email-masked]  Thu Aug 20 10:16:12 1998
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Since upgrading from 3.9x to 4.02, some users find that their messages
> are being moved from their normaal INBOX (/var/mail/$USER) to
> $USER/mbox. It doesn't happen to all users. I didn't spot anything
> obvious in the .pinerc files. Can anyone give me an idea why this
> happens to some users and not others? Our preference is the old
> behavior (using /var/mail/$USER).
> 
> - -- 
> Dougal Campbell, Systems Manager, ADViCOM        [email-masked]
> http://www.advicom.net/                 http://advicom.net/~dougal/
>            See my homepage for anti-spam information!
>        Public PGP key available at http://pgp5.ai.mit.edu/
>           or http://advicom.net/~dougal/dougal-pgp.txt
> QUOTE OF THE MOMENT:
> What if everything is an illusion and nothing exists?  In that case, I
> definitely overpaid for my carpet.
> 		-- Woody Allen, "Without Feathers"
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 5.0i for non-commercial use
> Charset: noconv
> 
> iQA/AwUBNdwu0fyNb6KzyWj6EQLPtgCeI8hV6XSS+Q04qA9v+YsHFFnjbd8An2DC
> rKsN8BXCbplvll+fSHqWWgZn
> =69H2
> -----END PGP SIGNATURE-----
> 
> 
> -----------------------------------------------------------------
>  For information about this mailing list, and its archives, see: 
>  http://www.washington.edu/pine/pine-info/
> -----------------------------------------------------------------
>

---

From: Dougal Campbell <[email-masked]>
Date: Thu, 20 Aug 1998 13:23:14 -0500 (CDT)

> "EXTRADRIVERS=" in imap/Makefile and recompiling.

Nope, that wasn't it (I know that at least one of these users was not
using IMAP). But I finally found the answer by grepping through my pine
source tree:

      Beginning with Pine 4.00 (but also with earlier versions of the
      University of Washington's imapd server), a new INBOX access method
      is available as part of the standard configuration. It is called
      the "mbox" driver and it works like this:

      If the file "mbox" exists in the user's home directory, and is in
      Unix mailbox format, then when INBOX is opened this file will be
      selected as INBOX instead of the mail spool file. Messages will be
      automatically transferred from the mail spool file into the mbox
      file. Beginning with Pine 4.01, a message is displayed whenever
      Pine copies messages from the system mail spool directory to the
      mbox file.

(this is part of the release notes for Pine 4.0)

- -- 
The one good thing about repeating your mistakes is that you know when
to cringe.

---

From: Dougal Campbell <[email-masked]>
Date: Thu, 20 Aug 1998 15:15:00 -0500 (CDT)

On Thu, 20 Aug 1998, Terry Gray wrote:

> Pressing "R" on the Main Menu would probably be easier than grepping the
> source tree :)

> On Thu, 20 Aug 1998, Dougal Campbell wrote:
> > 

Sure, but when I started hunting the info, I didn't know that was where
I would find the answer :)

Once I found it in helptext.c, I knew to use the built-in help, though.
(that's where I cut&pasted it from in my previous message)

- -- 
Experience is what causes a person to make new mistakes instead of old
ones.

---

From: Terry Gray <[email-masked]>
Date: Thu, 20 Aug 1998 13:09:49 -0700 (Pacific Daylight Time)

-teg

On Thu, 20 Aug 1998, Dougal Campbell wrote:

> iQA/AwUBNdxbgvyNb6KzyWj6EQKTAQCfYT9mO+nleZ47QTs41QKl7O6UhLQAnjL2
> R7rxSz9lQcUUNQWh+54s8JKY
> =1pck

---

From: Mike Brudenell <[email-masked]>
Date: Fri, 21 Aug 1998 09:29:57 +0100

Greetings -

Whilst it is true to an extent to say that the imapd can cause the move of
mail to $HOME/mbox it would be more accurate to say that it is really the
function of the library of mail folder format interface routines USED by
the imapd that is responsible for the move.

This distinction, whilst subtle, is important: unless things have changed
between 3.9x and 4.0x both pine and imapd are linked against this library
(known as the C-Client library).

This means that Pine, even when used to access mail folders directly from
disk rather than via the imapd, will cause mail to be ripped out of the
delivery area and transferred to $HOME/mbox IF AND ONLY IF $HOME/mbox
already exists and is a valid mailbox format (this includes being an empty
file).

So the advise is good: change the EXTRADRIVERS line and recompile.  However
if you aren't using IMAP to access your mail folder you should recompile
*Pine* instead of the imapd.  (Actually even if you use imapd I'd suggest
you did both anyway so that they are consistent.)

Cheers,

Mike B-)
--
The Computing Service, University of York, Heslington, York, Yo10 5DD, UK
Tel:+44-1904-433811   Fax:+44-1904-433740    http://www.york.ac.uk/~pmb1/
*******  Unsolicited commercial/bulk e-mail is NOT welcome here!  *******

---

From: Terry Gray <[email-masked]>
Date: Fri, 21 Aug 1998 08:30:11 -0700 (Pacific Daylight Time)

Mike is entirely correct that both Pine and IMAPD use the same c-client
libraries.  However, unlike imapd, it is not necessary to recompile Pine
to disable the mbox driver.  You can edit the pinerc file to add mbox to
the "disable-these-drivers" variable.

-teg