Subject: pine moves messages

From: "Michael J. Rensing" <[email-masked]>
Date: Fri, 20 Nov 1998 09:49:24 -0800 (PST)

I've just installed pine 4.05 for HPUX 10.20 using the pre-compiled
binaries. Can anyone explain the following behaviour? I cannot find
any configuration options which seem to relate.

When one user starts pine, their new mail stays in the inbox.

When another user starts pine, the new mail gets moved from the
inbox to ~/mbox. There is a message in the debug file "IMAP 15:06:01
11/19 mm_log warn: Moved 6834 bytes of new mail to /home/michael/mbox
from /var/mail/michael"

Both users had the first behaviour under Pine 3.96, and we are not
(yet) running an imap server.

I prefer that the users have their mail automatically moved to their
home directories, but I can't figure out why it does (or does not) do
it. 
                                  Michael

------------------------------------------------------------
Dr. Michael J. Rensing | http://wwwhep.phys.uvic.ca/~michael
                       |             mailto:[email-masked]
Physics and Astronomy  |                 phone: 250-721-7741 
University of Victoria |                   fax: 250-721-7752
------------------------------------------------------------

-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Martin Mokrejs <[email-masked]>
Date: Fri, 20 Nov 1998 22:03:49 +0100 (MET)

> inbox to ~/mbox. There is a message in the debug file "IMAP 15:06:01

That shouldn't be by default enabled. Pine claims to support IMAP indexing
messages. It's fine that it doesn't show IMAP index messages to the user
(can be seen by Mail or mail). But I hope it's shouldn't create the
message itself. It's fine when this message is created when user uses
IMAP, otherwise there's no reason to create this index message.

It's quell-folder-internal-msg option - another which should be enabled by
default (see below). 

> 11/19 mm_log warn: Moved 6834 bytes of new mail to /home/michael/mbox >
from /var/mail/michael"

The mbox-driver moves first mails from /var/spool/mail/username to
$HOME/mbox, while quitting pine mails are moved to $HOME/mail/read-messages 
by default.

Try to change your settings in /usr/local/lib/pine.conf
	read-message-folder=mbox
This will moved read--but-undeleted-messages to $HOME/mail/mbox

Change the 'mail-directory' variable to $HOME if you want to move
messages to ~username/mbox. I hope this should be the default pine
behavior (for backwards compatibility with mail or Mail)! Also, I hope by
default should be disabled the mbox-driver, which generates unnecessary
I/O. To disable mbox-driver, place in pine.conf this line:

disable-these-drivers=mbox

>From technical notes:

#
#          The mbox driver enables the following behavior: if there is a file called mbox in your
#          home directory, and if that file is either empty or in Unix mailbox format, then every
#          time you open INBOX the mbox driver will automatically transfer mail from the system mail
#          spool directory into the mbox file and delete it from the spool directory. If you disable
#          the mbox driver, this will not happen.
#          It is not recommended to disable the driver which supports the system default mailbox
#          format. On most non-SCO systems, that driver is the unix driver. On most SCO systems, it
#          is the mmdf driver. The system default driver may be configured to something else on your
#          system; check with your system manager for additional information.
#          It is most likely not very useful for you to disable any of the drivers other than
#          possibly mbox. You could disable some of the others if you know for certain that you don't
#          need them but the performance gain in doing so is very modest.
#

Also the feature-list options were difficult for me to set up - it's well 
hidden in the documentation. I thought I should list them one line by line
.... No. This is the proper way:

feature-list=delete-skips-deleted, uto-open-next-unread, quell-folder-internal-msg

Sorry for wasting the bandwidth.
--
Martin Mokrejs - PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs
<[email-masked]> Faculty of Science, The Charles University

---

From: Terry Gray <[email-masked]>
Date: Sat, 21 Nov 1998 19:13:03 -0800 (Pacific Standard Time)

For better or worse, Pine 4.xx has the "mbox" driver enabled by default,
The mbox driver looks for a file in one's home directory named "mbox" and
if it finds one (and it is in a valid mailbox format), automatically moves
mail from the spool directory.

This is discussed in the Release Notes and the Pine tech notes.

-teg