Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to: Create a cgpro mailstore from a pile of message files?

1 view
Skip to first unread message

James Moe

unread,
Nov 12, 2009, 6:33:10 PM11/12/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
We have an ancient mail program that stores its messages using the
filesystem's directory to store the messages, i.e., the directory
structure is the mail's hierarchy as well. Each message is a separate file.
What are some ways to transfer the message files into an existing CGpro
account or folder?
Is there an import mechanism to do this?

- --
jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFK/Js1zTcr8Prq0ZMRAozJAKC0GEOKfA4cp8kUXPUTvximXsw3YACfWGwF
tuybcaD5ohgAkWwCTktuFlA=
=UMxw
-----END PGP SIGNATURE-----

#############################################################
This message is sent to you because you are subscribed to
the mailing list <CGat...@mail.stalker.com>.
To unsubscribe, E-mail to: <CGateP...@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePr...@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePr...@mail.stalker.com>
Send administrative queries to <CGatePro...@mail.stalker.com>

Karl

unread,
Nov 12, 2009, 6:37:03 PM11/12/09
to
Have you been sleeping for the past decade?

Storing things separately is good...unless you have millions of users. Is that the issue?

James Moe

unread,
Nov 12, 2009, 8:25:09 PM11/12/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/09 04:37 pm, Karl wrote:
>
> Storing things separately is good...unless you have millions of users. Is that the issue?
>

Clearly I was not clear.
I wish to import the message files currently administered by some other
mail user agent into CGpro. I have no problem manually creating the users'
folder hierarchy, there are only a few users; I just do not know how to
get the message files into CGpro's users' folders.

- --
jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFK/LV1zTcr8Prq0ZMRAmdvAJ9Hh6JKe5ndHZYpj4shMSlmnziMowCaA32m
DyuJhZRgD7E9Houaep0iWIk=
=nlb5

Technical Support, Stalker Labs

unread,
Nov 12, 2009, 9:14:55 PM11/12/09
to
Hello,

James Moe on 13.11.2009 4:25 wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/12/09 04:37 pm, Karl wrote:
>> Storing things separately is good...unless you have millions of users. Is that the issue?
>>
> Clearly I was not clear.
> I wish to import the message files currently administered by some other
> mail user agent into CGpro.

If that mail agent is still alive and supports IMAP - it would be best
to use MoveIMAPMail program to transfer those messages with mail folder
hierarchy
<http://www.communigate.com/CommuniGatePro/Migration.html#IMAPMove>


> I have no problem manually creating the users'
> folder hierarchy, there are only a few users; I just do not know how to
> get the message files into CGpro's users' folders.

Messages must be in rfc822 format and with names in format described in
<http://www.communigate.com/CommuniGatePro/Mailboxes.html#mdir>

>
> - --
> jimoe (at) sohnen-moe (dot) com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (OS/2)
>
> iD8DBQFK/LV1zTcr8Prq0ZMRAmdvAJ9Hh6JKe5ndHZYpj4shMSlmnziMowCaA32m
> DyuJhZRgD7E9Houaep0iWIk=
> =nlb5
> -----END PGP SIGNATURE-----
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <CGat...@mail.stalker.com>.
> To unsubscribe, E-mail to: <CGateP...@mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <CGatePr...@mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePr...@mail.stalker.com>
> Send administrative queries to <CGatePro...@mail.stalker.com>


--
Sincerely,
Roman

=======================================================================
When answering to letters sent to you by the tech.support staff, make
sure the original message you have received is included into your reply.

James Moe

unread,
Nov 13, 2009, 1:10:38 PM11/13/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/09 07:14 pm, Technical Support, Stalker Labs wrote:
> I wish to import the message files currently administered by some other
> mail user agent into CGpro.
>
>> If that mail agent is still alive and supports IMAP - it would be best
>> to use MoveIMAPMail program to transfer those messages with mail folder
>> hierarchy
>> <http://www.communigate.com/CommuniGatePro/Migration.html#IMAPMove>
>

Sadly, no. It is primitive and only supports SMTP and POP3.


>
>> > I have no problem manually creating the users'
> folder hierarchy, there are only a few users; I just do not know how to
> get the message files into CGpro's users' folders.
>
>> Messages must be in rfc822 format and with names in format described in
>> <http://www.communigate.com/CommuniGatePro/Mailboxes.html#mdir>
>

All of the accounts on CGpro currently use the mbox format; it is the
default choice.

- --
jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFK/aEezTcr8Prq0ZMRAldZAJ983WMY8/vF8MVIgK54H5IHG5gfXgCeLenJ
u/SBsiVJ2QKZG9+VjDV8ja8=
=tYmu

Brian Gibson

unread,
Nov 13, 2009, 1:13:42 PM11/13/09
to
We ran into a similar situation with our old mail server, we just pulled down a copy of Washington Universities free IMAP server and ran it.

James Moe

unread,
Nov 13, 2009, 1:38:41 PM11/13/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/13/09 11:13 am, Brian Gibson wrote:
> We ran into a similar situation with our old mail server, we just pulled
> down a copy of Washington Universities free IMAP server and ran it.
>

I do not understand how this would help.
After installing the server, is there an option to point it at some
arbitrary mailstore and it does things to it?

- --
jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFK/aewzTcr8Prq0ZMRAlg8AKCpCu2dtDrrj/zhX+cVQNcXDkweYACfTq7e
GJzPrWdenBwNlz6VtF+/lh0=
=vG/i

Nicolas Hatier

unread,
Nov 13, 2009, 3:29:42 PM11/13/09
to
Hello

If you need direct help solving this issue, I can examine your configuration and come up with a simple solution or a script.

Just contact me offlist if you want.

Regards
Nicolas Hatier


James Moe wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/13/09 11:13 am, Brian Gibson wrote:
  
We ran into a similar situation with our old mail server, we just pulled
down a copy of Washington Universities free IMAP server and ran it.

    
  I do not understand how this would help.
  After installing the server, is there an option to point it at some
arbitrary mailstore and it does things to it?

  

--

Nicolas Hatier <nicolas...@niversoft.com>
Niversoft idées logicielles - http://www.niversoft.com

Jakob Peterhänsel

unread,
Nov 15, 2009, 2:59:32 PM11/15/09
to

So, download all the mails in an application like Apple Mail, and drag them to the CGP IMAP account.

Anyhow, how can there be a hierarchy if it only supports POP3? POP only supports a single INBOX..  

-- 

    Jakob Peterhänsel

"Be a part of the Love Generation - carry a smile, not a gun."
- JP, May 2006

Email:     ja...@hjemme.dk
AIM:         Marook
Phone:     +45 30787715

James Moe

unread,
Nov 16, 2009, 10:20:46 AM11/16/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/15/09 12:59 pm, Jakob Peterh�nsel wrote:
>
> So, download all the mails in an application like Apple Mail, and drag
> them to the CGP IMAP account.
>
> Anyhow, how can there be a hierarchy if it only supports POP3? POP only
> supports a single INBOX..
>

There is no server. The messages have been transferred to each user's
host and deleted from the server.
The "hierarchy" is how the MUA organizes its mailstore on the local
host. It creates a (sub)directory for each (sub)folder, and moves the
message files into each (sub)directory as requested by the user.

- --
jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFLAW3OzTcr8Prq0ZMRAu8bAJ0eGl8t/Shq2An2lRPe1I/nwJ64RQCgjGKu
8ZSKrGYeYxTp6loMxPCnFRQ=
=Np+r

James Moe

unread,
Nov 19, 2009, 1:17:04 PM11/19/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/09 04:33 pm, James Moe wrote:
> Hello,
> We have an ancient mail program that stores its messages using the
> filesystem's directory to store the messages, i.e., the directory
> structure is the mail's hierarchy as well. Each message is a separate file.
> What are some ways to transfer the message files into an existing CGpro
> account or folder?
> Is there an import mechanism to do this?
>

There is no server to access the message files. Only the files
themselves exist separated into directories.

Is there a CLI function that can add a message to a folder?
There are a lot of account and folder functions but I did not see one
that would actually add a message.

- --
jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFLBYugzTcr8Prq0ZMRAjZqAJoDww3EljRME/LhYz1ostKFuKgPVwCfecHa
p7vxvGSU+7cJFZ3Zzui6VBQ=
=9f/H

Karl Zander

unread,
Nov 19, 2009, 5:49:24 PM11/19/09
to
Does this software have any type of name? And its version? If you can share that someone may recognize it and be able offer some help.

Or maybe post a sample message.

You are not giving us much to go on.

--Karl

Nicolas Hatier

unread,
Nov 19, 2009, 5:50:58 PM11/19/09
to


James Moe wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/09 04:33 pm, James Moe wrote:
  
Hello,
  We have an ancient mail program that stores its messages using the
filesystem's directory to store the messages, i.e., the directory
structure is the mail's hierarchy as well. Each message is a separate file.
  What are some ways to transfer the message files into an existing CGpro
account or folder?
  Is there an import mechanism to do this?

    
  There is no server to access the message files. Only the files
themselves exist separated into directories.

  Is there a CLI function that can add a message to a folder?
  There are a lot of account and folder functions but I did not see one
that would actually add a message.
  
No, CLI is not meant for that. You can use IMAP and the APPEND commend, or do it via the filesystem (you just have to name the files correctly, then restart CGP, and the server will see the new messages)

Regards
Nicolas Hatier

- --
jimoe (at) sohnen-moe (dot) com
  

James Moe

unread,
Nov 19, 2009, 8:16:36 PM11/19/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/19/09 03:50 pm, Nicolas Hatier wrote:
>>>
>> There is no server to access the message files. Only the files
>> themselves exist separated into directories.
>>
>> Is there a CLI function that can add a message to a folder?
>> There are a lot of account and folder functions but I did not see one
>> that would actually add a message.
>>
> No, CLI is not meant for that. You can use IMAP and the APPEND commend,
> or do it via the filesystem (you just have to name the files correctly,
> then restart CGP, and the server will see the new messages)
>

There is no source server.
Could you expand on the filesystem concept? Do you mean I just copy the
message files into an account folder, fire up CGPro and it imports them,
and I could remove the files later? Even if the folders are mbox's?

- --
jimoe (at) sohnen-moe (dot) com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFLBe30zTcr8Prq0ZMRAtuoAJ9naISMPisJoHj9xS13BljhFP6OmwCgpmK+
AUv+1Sd4j+4UawK0pj4QVAU=
=MtSQ

James Moe

unread,
Nov 19, 2009, 9:02:05 PM11/19/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/19/09 03:49 pm, Karl Zander wrote:
> Does this software have any type of name? And its version? If you can share that someone may recognize it and be able offer some help.
>

PMMail for os/2, currently at version 3.0.

> Or maybe post a sample message.
>

Each message file is the RFC822 message almost exactly as it was
received. "Almost" meaning spam filter headers may have been added. No
mbox, no mdir, just the bare naked message. Each file is an email message.

> You are not giving us much to go on.
>

There is not much to say about a pile of files.
There is no server involved.

- --
jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)

iD8DBQFLBfidzTcr8Prq0ZMRAikwAKCyI81MFuS0aHO1CsyC0jB2PVyZJQCdHtXU
6WByCrwSjsMNIGaXXfdQLvE=
=NvQg

Nicolas Hatier

unread,
Nov 19, 2009, 10:24:30 PM11/19/09
to


James Moe wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/19/09 03:50 pm, Nicolas Hatier wrote:
  
    
        
  There is no server to access the message files. Only the files
themselves exist separated into directories.

  Is there a CLI function that can add a message to a folder?
  There are a lot of account and folder functions but I did not see one
that would actually add a message.
  
      
No, CLI is not meant for that. You can use IMAP and the APPEND commend,
or do it via the filesystem (you just have to name the files correctly,
then restart CGP, and the server will see the new messages)

    
  There is no source server.
  Could you expand on the filesystem concept? Do you mean I just copy the
message files into an account folder, fire up CGPro and it imports them,
and I could remove the files later? Even if the folders are mbox's?
  
No, that's not what I said.

Say you have a mailstore:
mailstore/account/mailbox/message1
mailstore/account/mailbox/message2
mailstore/account/mailbox/message3...

You go into cgp, you make sure "account" is created. Then, you shut it down.

Then, you move the three files above to the CGP base directory (/var/Communigate/...) so they look like this:

/var/Communigate/Accounts/account.macnt/mailbox.mdir/IIII-S_______-YYYYMMDDHHMMSS-LLL

where IIII is a unique, increasing ID
YYYYMMDDHHMMSS is a timestamp, ideally created from the message's Date: header
and LLL is the number of lines in the file.

You make sure the file content is valid RFC-822 message, with the proper EOL character (LF or CRLF depending on the platform), and when you'll restart CGP they will appear in the account as if CGP put them there by itself.

NH

David Brookfield

unread,
Nov 20, 2009, 4:02:53 AM11/20/09
to

Hello there again guys, I've not seen anything on getting Blackberry
desktop syncing in a while, is it still broken? I've got a user who is
running Win 7 with office 2007 (Latest MAPI) they downloaded BB desktop
4.7 installed it and it wiped out the Mail client completely. By this I
mean they couldn't open outlook afetr the install and received a
couldn't open mail store error ( I can't give the exact error I'm afraid
as I can't get access to the machine yet)

Anyone have a best practice for getting BB desktop working? Using
astrasync isn't an option simply due to price.

Many thanks

David

Hannes Hromadka

unread,
Nov 21, 2009, 10:48:43 AM11/21/09
to
James Moe wrote:

Hello:

> On 11/19/09 03:49 pm, Karl Zander wrote:
>> Does this software have any type of name? And its version? If you can share that someone may recognize it and be able offer some help.
>
> PMMail for os/2, currently at version 3.0.

I'm also using this program. I have version 2.x on Warp and Win.
Migrating to a new mailer and storing the mails on CGPro is on my to do
list.

There exist some Rexx scripts that convert PMMail messages to a
thunderbid mailbox on your client PC.

With thunderbird you can move the mails to your CGPro IMAP store.

There are 3 tools on hobbes. All need Rexx, so you should have a PC with
OS/2 at hand.

pmm2moz

http://www.os2site.com/sw/internet/mail/convert/pmm2moz.zip

Convert PMMail *.msg files to Mozilla / Thunderbird format. This version
corrects a glitch that caused an error when the converted.msgs file was
indexed. Requires OS/2 4.0 & later or eCS 1.0 & later, REXXLIB.DLL
(included in distribution); REXX must be enabled (use Classic REXX).
>From David W. Eckman.

pmm2tb

http://www.os2site.com/sw/internet/mail/convert/pmm2tb.zip

A small tool named PMM2TB to convert all PMMail messages and the address
book to a format Thunderbird (and Mozilla) can import. From Robert.

and pmm_tbird

http://www.os2site.com/sw/internet/mail/convert/pmm_tbird.zip

Migrate mail from PMMail to Thunderbird. Two Rexx scripts, one to copy
all of your PMMail mail folders to Thunderbird mail folders (requires
some manual post-processing), and one to migrate your address books.
Requires OS/2 v3.x or higher, PMMail, Thunderbird. From Peter Moylan. -

There are also some tools to convert the address books.

I did not try any of them yet.


Please let me know if the tools work for you.

Hannes

0 new messages