The C:\PMAIL\MAIL directory should have a PMAIL.USR file?
If you did a clean install, it might not have been created yet, since first login process prompts for you to setup the user.
On my Single-User setup my C:\PMAIL\MAIL\PMAIL.USR file has the following.
; PMAIL.USR Pegasus Mail user database.
A;Admin;Mail Administrator
C:\PMAIL\MAIL has total of 319 files that include 110 PMI and 110 PMM files.
The C:\PMAIL\Program\PMAIL.CFG shows this went typed.
type C:\PMAIL\Program\PMAIL.CFG
C:\PMAIL\MAILC:\PMAIL\MAIL
But that isn't real contents of file, since it has null termanated strings.
Hexedit of PMAIL.CFG
00000000 43 3A 5C 50 4D 41 49 4C 5C 4D 41 49 4C 00 00 00 00 00 00 00 00 00 00 00 C:\PMAIL\MAIL...........
00000018 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 3A 5C 50 4D 41 ..................C:\PMA
00000048 49 4C 5C 4D 41 49 4C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 IL\MAIL.................
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................
Running PCONFIG32.EXE sets directory to C:\PMAIL\MAIL for mail directory.
On my setup with newer multi user setup.
C:\PMAIL\MAIL has 4 directores and the PMAIL.USR File only.
ADMIN
Jack
Jill
JILL2
PMAIL.USR
Contents of PMAIL.USR.
type PMAIL.USR
A;Admin;Mail Administrator
U;Jack;Jack Hill
U;Jill;Jill Hill
That setup , is the Default Admin user with all its files in subdirectory ADMIN.
Two other test users Jack and Jill
Jack is a test user with his mail in Jack sub Directory.
Jill was another test user that originally had all Mail in the subdirectory JILL,
but later had it move mail folders to JILL2.
This setup is not actually, used for any real mail. Just testing.
du . | sort -n
4 ./Jack/RmtFiles
8 ./ADMIN/RmtFiles
8 ./JILL2/RmtFiles
8 ./Jill/RmtFiles
12 ./ADMIN/OAUTH2
12 ./ADMIN/PND
16 ./JILL2/TCPLogs
56 ./Jill
184 ./JILL2
196 ./Jack
248 ./ADMIN/save
612 ./ADMIN
1056 .
The C:\PMAIL\Programs\PMAIL.CFG has
C:\PMAIL\MAIL~NC:\PMAIL\MAIL~N
with PCONFIG32.exe that would be to user C:\PMAIL\MAIL~N
which would be to use ~N as user name (Admin is default).
To Fix it (But of course make full backup of everything)
To conclude. I believe you original setup was an older single user setup, and your backup of the MAIL directory should have had a PMAIL.USR file in it. If not, create one with
Make file C:\PMAIL\MAIL\PMAIL.USR with these two lines.
; PMAIL.USR Pegasus Mail user database.
A;Admin;Mail Administrator
Then run C:\PMAIL\Programs\PCONFIG32.EXE
It should prompt for Config directory C:\PMAIL\Programs
then set user directory C:\PMAIL\MAIL
Save and exit.
Then run Pegasus, and it should open in single user mode, and would have all the mail folders, and the PND files should also work fine.
It is possible to change from single user mode to multi-user. One needs to copy all files from the C:\PMAIL\MAIL directory except PMAIL.USR to C:\PMAIL\MAIL\ADMIN but will have to manually change lines in PMAIL.INI that have C:\PMAIL\MAIL to C:\PMAIL\MAIL\ADMIN.
Working home mailbox location = C:\PMAIL\MAIL
New mailbox location = C:\PMAIL\MAIL
I generally backup C:\PMAIL directory as a whole, since isn't much bigger than just backing up MAIL
change to the Linux .wine/cdrive directory and backup all.
7zz a /home/msetzerii/pmsave-"$(date +%F)".7z PMAIL/*
So, issue is making sure the C:\PMAIL\Programs\PMAIL.CFG and C:\PMAIL\MAIL\PMAIL.USR files are set to match with setup.
Hope that helps. Been Using Pegasus since the old DOS version on Novell 2.2 server.
Good Luck.
The C:\PMAIL\MAIL directory should have a PMAIL.USR file?
If you did a clean install, it might not have been created yet, since first login process prompts for you to setup the user.
On my Single-User setup my C:\PMAIL\MAIL\PMAIL.USR file has the following.
; PMAIL.USR Pegasus Mail user database.
A;Admin;Mail Administrator
C:\PMAIL\MAIL has total of 319 files that include 110 PMI and 110 PMM files.
The C:\PMAIL\Program\PMAIL.CFG shows this went typed.
type C:\PMAIL\Program\PMAIL.CFG
C:\PMAIL\MAILC:\PMAIL\MAIL
But that isn't real contents of file, since it has null termanated strings.
Hexedit of PMAIL.CFG
00000000 43 3A 5C 50 4D 41 49 4C 5C 4D 41 49 4C 00 00 00 00 00 00 00 00 00 00 00 C:\PMAIL\MAIL...........
00000018 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 3A 5C 50 4D 41 ..................C:\PMA
00000048 49 4C 5C 4D 41 49 4C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 IL\MAIL.................
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................
Running PCONFIG32.EXE sets directory to C:\PMAIL\MAIL for mail directory.
On my setup with newer multi user setup.
C:\PMAIL\MAIL has 4 directores and the PMAIL.USR File only.
ADMIN
Jack
Jill
JILL2
PMAIL.USR
Contents of PMAIL.USR.
type PMAIL.USR
A;Admin;Mail Administrator
U;Jack;Jack Hill
U;Jill;Jill Hill
That setup , is the Default Admin user with all its files in subdirectory ADMIN.
Two other test users Jack and Jill
Jack is a test user with his mail in Jack sub Directory.
Jill was another test user that originally had all Mail in the subdirectory JILL,
but later had it move mail folders to JILL2.
This setup is not actually, used for any real mail. Just testing.
du . | sort -n
4 ./Jack/RmtFiles
8 ./ADMIN/RmtFiles
8 ./JILL2/RmtFiles
8 ./Jill/RmtFiles
12 ./ADMIN/OAUTH2
12 ./ADMIN/PND
16 ./JILL2/TCPLogs
56 ./Jill
184 ./JILL2
196 ./Jack
248 ./ADMIN/save
612 ./ADMIN
1056 .
The C:\PMAIL\Programs\PMAIL.CFG has
C:\PMAIL\MAIL\~NC:\PMAIL\MAIL\~N
with PCONFIG32.exe that would be to user C:\PMAIL\MAIL\~N
which would be to use ~N as user name (Admin is default).
To Fix it (But of course make full backup of everything)
To conclude. I believe you original setup was an older single user setup, and your backup of the MAIL directory should have had a PMAIL.USR file in it. If not, create one with
Make file C:\PMAIL\MAIL\PMAIL.USR with these two lines.
; PMAIL.USR Pegasus Mail user database.
A;Admin;Mail Administrator
Then run C:\PMAIL\Programs\PCONFIG32.EXE
It should prompt for Config directory C:\PMAIL\Programs
then set user directory C:\PMAIL\MAIL
Save and exit.
Then run Pegasus, and it should open in single user mode, and would have all the mail folders, and the PND files should also work fine.
It is possible to change from single user mode to multi-user. One needs to copy all files from the C:\PMAIL\MAIL directory except PMAIL.USR to C:\PMAIL\MAIL\ADMIN but will have to manually change lines in PMAIL.INI that have C:\PMAIL\MAIL to C:\PMAIL\MAIL\ADMIN.
Working home mailbox location = C:\PMAIL\MAIL
New mailbox location = C:\PMAIL\MAIL
I generally backup C:\PMAIL directory as a whole, since isn't much bigger than just backing up MAIL
change to the Linux .wine/cdrive directory and backup all.
7zz a /home/msetzerii/pmsave-"$(date +%F)".7z PMAIL/*
So, issue is making sure the C:\PMAIL\Programs\PMAIL.CFG and C:\PMAIL\MAIL\PMAIL.USR files are set to match with setup.
Hope that helps. Been Using Pegasus since the old DOS version on Novell 2.2 server.
Good Luck.