[4795] in RedHat Linux List
Re: Sharing Mailboxes between DOS/Win95 and Linux
daemon@ATHENA.MIT.EDU (Subhas C. Roy)
Sun Nov 17 15:22:00 1996
To: redhat-list@redhat.com
From: "Subhas C. Roy" <subhas@pobox.com>
Reply-to: subhas@pobox.com
cc: ntcollie@midway.uchicago.edu
In-reply-to: Message from Nick Collier <ntcollie@midway.uchicago.edu>
of "Sun, 17 Nov 1996 11:26:08 CST."
Date: Sun, 17 Nov 1996 15:19:27 -0500
Resent-From: redhat-list@redhat.com
> Is it possible to share mailboxes between two different mailreaders?
> I use netscape to read my mail in Win95 and want access to these
> mailboxes in Linux. I tried settting up netscape in Linux which
> works fine, but refuses to see the mailboxes on the dos disk,
> although it can see the directory fine and will write its own
> mailboxes there. I'd rather use a different mailreader (exhm?) in
> Linux, but want access to these mailboxes.
>
> So can I get netscape (Linux) or a different mailreader to recognize
> these mailboxes?
Linux/Unix being very flexible, it is not difficult to do what you
want.
Assuming your emailer in Linux is exmh (which is a GUI for MH).
suppose you netscape mailbox in Win95 is C:\netscape\mail\Inbox.
Here are the steps to do inside Linux.
. first mount the win95 partition (as read only). change the command
as appropriate.
mount -r -t vfat /dev/hda1 /mnt/win95/
here I am assuming that /dev/hda1 is your win95 partition and
you have created the directory /mnt/win95/ already.
create a MH folder directory ~/Mail/win95_nsmail :
folder -create +win95_nsmail
. Now each time you invoke exmh, you should do these steps (in a shell
script for example):
- delete all previous messages from the win95 folder:
rmm +win95_nsmail all
- make a temp file containing the messages at win95:
tr -d '\r' < /mnt/win95/ns3.0/mail/Inbox > /tmp/win95.inbox
Here tr command removes the stupid control-M characters.
- import all messages from win95 ibox to exmh's win95 folder:
inc +win95_nsmail -file /tmp/win95.inbox
rm -f /tmp/win95.inbox
- do something to force exmh to recompute the list of its folders:
rm -f ~/Mail/.folders
- now fire up your emailer:
exmh
You will see that exmh is showing all your win95 emails in the folder
win95_nsmail.
I tested this setup. It works.
--
Subhas Roy subhas@pobox.com
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null