Subject: Getting exported mail back on mail server?

From: Matt Ackeret <[email-masked]>
Date: Tue, 22 Feb 2005 11:27:53 -0800 (PST)

If I export some of my old sent-mail folders to local files, is there
any way I could get them back on the mail server in the future if I 
wanted to?  That is, getting them back as separate messages that I could
deal with that way, and would be indistinguishible from how they are now.

BTW, I probably knew this in the past, because it looks like I tried this once
long ago, but you can export at the folder list screen to export a whole
folder at a time.

I'm using IMAP BTW, though I'm not sure if it's relevant.
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Jacob Wegelin <[email-masked]>
Date: Tue, 22 Feb 2005 13:00:06 -0800 (PST)

How about simply hitting "s" when you're at a message that's in (for
instance) your "saved-messages" folder.  Then you can save it to inbox.
It will beep in as an incoming message.

But if you use this strategy to move a message from saved-messages to
postponed-msgs and then send it, it probably won't show up in your
sent-mail after it's sent and you won't know if it actually got sent
out.

Jake

---

From: Matt Ackeret <[email-masked]>
Date: Tue, 22 Feb 2005 14:49:27 -0800 (PST)

>It will beep in as an incoming message.

I guess I wasn't too clear.

What I'm trying to do is get stuff off of my mail server.  I'm already
technically over quota, and usually battling to stay close to the quota.
(It's not a hard quota yet, but we get nag mails about being over quota.. Since
it involves business, I wonder if they'll ever be able to turn on a hard 
quota, but I'm trying to be good anyway..)

So I'm thinking I could just nuke a whole TON of my old sent-mail folders,
but I could throw them on my iPod or burn them to a CD or something just
to keep..  and I would like some way to get them BACK on the server if
I ever had a need to use them that way again in the future.  (Mostly I'm
envisioning putting them back there to then import into some OTHER mail 
program as "offline mailboxes" which has been an idea I've heard people
talk of in various places -- i.e. be able to have this old stuff on a CD
I can insert and then the currently nonexistant mail feature would see them
there and then automagically use them when I did searches for mail for
example..)

But for now I'm just trying to get it off of the mail server in a way
that I can reverse if necessary.

-- 
top-posting: It's just a bad idea.  Please don't respond to a message and
change the subject to start a new topic -- it messes up threaded email viewing.

---

From: Ron Wickersham <[email-masked]>
Date: Tue, 22 Feb 2005 15:08:08 -0800 (PST)

> there and then automagically use them when I did searches for mail for

if you've used the default sent-mail folders identified by month, then you'll
have 12 of them in your home/mail directory for each year.   you can just
scp say "sent-mail-jul-2003" which will be a single file with all the sent
mail for that month.  keep it with the same file name on your local storage
and if you ever want to use it again on the server, just copy it back to
the home/mail directory and it will show up in the "L" list and just work.

another approach to conserving space on the server is to gzip the files for
earlier years and that way the'll take up less space.   you'll have to
gunzip them to read again, but they will show up in the list of folder
names like "sent-mail-apr-1997.gz" which will remind you that you can't
read them until they are uncompressed.

-ron

---

From: Matt Ackeret <[email-masked]>
Date: Tue, 22 Feb 2005 16:25:38 -0800 (PST)

>the home/mail directory and it will show up in the "L" list and just work.

I have no home/mail directory.

I am using IMAP, the mail is all on the server.  That's the point.

This is *mail server* quota I'm talking about.

Sorry for being brusque, I guess I'm not explaining myself well.

---

From: Steve Hubert <[email-masked]>
Date: Tue, 22 Feb 2005 16:35:16 -0800 (PST)

Go to the FOLDER LIST screen. Highlight the folder you want to get off of 
the mail server. There is a command "E Export" which will prompt you for a 
local file name to export the folder to. Later if you want to undo that 
there is a command "U Import" to go the other direction. Then you can 
delete the folder or delete all of the messages in the folder to remove 
the data from the server. The file is saved on your local computer. Of 
course, you could write that to a CD if you wanted.

Steve Hubert
Univ. of Washington: Computing and Communications, Seattle

---

From: Matt Ackeret <[email-masked]>
Date: Tue, 22 Feb 2005 17:39:32 -0800 (PST)

On Tue, 22 Feb 2005, Steve Hubert wrote:
> Later if you want to undo that there is a command "U Import" to go the other
> direction. 

Awesome, I hadn't realized there was an Import command.

Though now I'm having a different problem.

The first time I tried to delete one of the folders I exported, it said it
failed.. I *think* it said it didn't exist.

I tried again and succeeded in deleting the folder.

I exported another folder, and tried to delete it.  Now I'm seeing:

Folder by the same name *MAY* get deleted as well.  Continue?                  

I hit Y, then it asks me if I want to delete the folder, I say Y.

It says "folder does not exist".. But I just successfully exported it.

This is with pine 4.62.

I wonder if this is related to my ongoing problem of a tab showing up
at the end when I try to tab-complete folder names.

Would turning on the debugging stuff help?  If so, could you give me a primer
again on how to do that?

---

From: Nicolas Kowalski <[email-masked]>
Date: Wed, 23 Feb 2005 09:36:16 +0100 (MET)

> It says "folder does not exist".. But I just successfully exported it.

I also see these errors when I use an IMAP server which supports 
dual-use mailboxes.

In your configuration check this:

             [X]  separate-folder-and-directory-entries

With this, you will be able to delete the "offending" folder.

-- 
Nicolas

---

From: Matt Ackeret <[email-masked]>
Date: Wed, 23 Feb 2005 12:11:28 -0800 (PST)

On Wed, 23 Feb 2005, Nicolas Kowalski wrote:
> I also see these errors when I use an IMAP server which supports dual-use
> mailboxes.
>

Thanks.  After turning this on, now I see that I have mail folders (that have
messages in them) AND empty directories for each of my sent-mail items.

e.g. I see
sent-mail-jan-2005	sent-mail-jan-2005/
(and a whole bunch more)

in the folder list.

I don't understand why I have both a mail folder and an empty directory for
each item.  If I try to delete the empty directory, I get the 'does not exist'
error.  But I was able to successfully delete a mail folder after exporting,
which removed the directory and the folder from the list.

---

From: Nicolas Kowalski <[email-masked]>
Date: Thu, 24 Feb 2005 11:10:41 +0100 (MET)

> which removed the directory and the folder from the list.

This is the normal behaviour of Pine when the remote IMAP server 
provides dual-use mailboxes. I also was disturbed by this at the 
beginning, but now it looks just fine to me.

-- 
Nicolas

---

From: NM Public <[email-masked]>
Date: Thu, 24 Feb 2005 10:41:31 +0000 (GMT)

On 24 Feb 2005 Nicolas Kowalski ([email-masked]) wrote:
>> I don't understand why I have both a mail folder and an empty
>> directory for each item.  If I try to delete the empty
>> directory, I get the 'does not exist' error.  But I was able
>> to successfully delete a mail folder after exporting, which
>> removed the directory and the folder from the list.
>
> This is the normal behaviour of Pine when the remote IMAP server provides 
> dual-use mailboxes. I also was disturbed by this at the beginning, but now it 
> looks just fine to me.

I also was disturbed by this and I actually think that the Pine
default should include these:

  [X]  quell-empty-directories
  [X]  separate-folder-and-directory-entries

I can't imagine anyone *not* wanting these features set,
especially separate-folder-and-directory-entries -- is there
anyone who prefers one or the other of these to be UNset?

BTW, I talk about these features in this section of my Power Pine
page:

  <http://www.ii.com/internet/messaging/pine/pc/#folderTips>

Nancy

-- 
Infinite Ink: <http://www.ii.com/>
All About Pine: <http://www.ii.com/internet/messaging/pine/>
Power Pine: <http://www.ii.com/internet/messaging/pine/pc/>

---

From: Nicolas Kowalski <[email-masked]>
Date: Thu, 24 Feb 2005 13:11:37 +0100 (MET)

On Thu, 24 Feb 2005, NM Public wrote:

>> >  directory for each item.  If I try to delete the empty directory, 
>> >  I get the 'does not exist' error.  But I was able to successfully 
>> >  delete a mail folder after exporting, which removed the directory 
>> >  and the folder from the list.
>> 

I think the 'quell-empty-directories' is a little bit dangerous, as 
written in the pine documentation. However, if the user does not create 
folders/subfolders everytime, it works well, yes.

-- 
Nicolas

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 24 Feb 2005 08:18:41 -0800 (PST)

*** NM Public ([email-masked]) wrote in the pine-info list today:

:) > dual-use mailboxes. I also was disturbed by this at the beginning, 
:) > but now it looks just fine to me.
:) 
:) I also was disturbed by this and I actually think that the Pine default 
:) should include these:
:) 
:)  [X]  quell-empty-directories
:)  [X]  separate-folder-and-directory-entries
:) 
:) I can't imagine anyone *not* wanting these features set,
:) especially separate-folder-and-directory-entries -- is there
:) anyone who prefers one or the other of these to be UNset?

Since you ask, I can tell you my opinion. I like both options unset. The 
second option disabled is very informative (much more than the same 
feature enabled). The first option tells me that I have something there, 
and if I don't want to keep it I just remove it. 

In any case, those are my preferences. We seem to like opposite things.

-- 
Eduardo
Patches/Help: http://www.math.washington.edu/~chappa/pine/
XML/RSS feed: http://www.math.washington.edu/~chappa/pine/pine.xml
Please send spam to webmaster@localhost