Community Discussions and Support
How to install Pegasusmail on Linux + Wine_here by using PayOnLinux_

After various failing efforts to install Pmail on Wine,  I was now effortless  successful  by using PlayOn Linux, offered for g.e.Linux Mint 19 Efce, which is primarily used for games, but allows to install other programs, as Pmail, as well. As described above,  IErenderer.fff file  in the pmail folder should be enabled. Previous Windows pmail installations can be easily transferred by replacing  new created  pmail/Mail folder in the virtual Linux/pmail folder system  by the old Window pmail/MAIL folder.

<p>After various failing efforts to install Pmail on Wine,  I was now effortless  successful  by using PlayOn Linux, offered for g.e.Linux Mint 19 Efce, which is primarily used for games, but allows to install other programs, as Pmail, as well. As described above,  IErenderer.fff file  in the pmail folder should be enabled. Previous Windows pmail installations can be easily transferred by replacing  new created  pmail/Mail folder in the virtual Linux/pmail folder system  by the old Window pmail/MAIL folder. </p>

Prerequisites: Linux + Wine (suggestion: prepare the software and open a bottle too)

Detailed instructions:
1. Launch terminal, run Wine with Pegasus installer. You can also set the locales different way than your system locales, if needed (in my case, I want Pegasus to run with Czech locale so that I can use Czech diacritical sings. I also put Pegasus into a separate Wineprefix: env LANG="cs_CZ.UTF-8" WINEPREFIX="/home/david/.winetest-pegasus/" /home/david/D/dev/prog/linux/wine/1.7.54/wine-build/wine /home/david/D/download/Pegasus/w32-470.exe


2. Click "Setup" (WinZip Self-Extractor)
3. Click "Next >" (Pegasus Mail Installation)
4. Fill in the path wherever you want Pegasus to be installed to (Install the Pegasus Mail program files in:). For example C:\Program Files\E-mail clients\Pegasus (does not matter much, put it wherever you like, C:\PMAIL will do well too). Click "Next >"
5. Decide if you want to uncheck "Create Start menu shortcut for Pegasus" (this doesn't seem to work in Wine), and "Pre-configure a user mailbox" (not needed if you want to place your email folder on a specific place, this will be done later). Click "Next >"
6. Click "Finish"
7. Click "Exit" (Pegasus installation is now complete)
8. Open IERenderer.fff in any text editor (vi, Mousepad etc.). The .fff file is in the folder where you installed Pegasus to (e.g. /home/david/.winetest-pegasus/drive_c/Program Files/E-mail clients/Pegasus/Programs/IERenderer.fff)
9. Change "Form flags = 31" to "Form flags = 2", save, close.
10. Launch Pegasus for the first time (in my case env LANG="cs_CZ.UTF-8" WINEPREFIX="/home/david/.winetest-pegasus/" /home/david/D/dev/prog/linux/wine/1.7.54/wine-build/wine C:\\Program\ Files\\E-mail\ clients\\Pegasus\\Programs\\winpm-32.exe)
11. Select the first option for Pegasus running mode (I do not think other options are useful with Wine)
12. Type in the path of your choice for the mail to be kept in, click "OK" (e.g. C:\users\david\My email folder  or if you want to put it somewhere else than in the wine folder (.winetest-pegasus in my case), you can use drive Z: which automaticaly points to the root of your linux filesystem, so e.g. Z:\home\david\whatever)
Now you have a running Pegasus. Setup the internet, email account, email outgoing server etc. the same way as in Windows.

It will be also wise to install the latest version of BearHTML and libtidy.
You may also want to make a desktop icon and/or menu item to launch Pegasus. The command to be run will be something like that on line 10 above.

If you want to transfer existing Pegasus installation from Windows to Linux, it is easier:
First, either install Pegasus from scratch as per steps 1-9, or copy the Pegasus folders from Windows to the WINEPREFIX of your choice and edit the IERenderer.fff file as per steps 8-9.
Second, copy the email folder from Windows. Either put it in WINEPREFIX/drive_c/ in the same subdirectory where it was on Windows, or put it somewhere else and delete PMAIL.CFG in the Pegasus "Programs" folder and then set it as per steps 10-12.

<p>Prerequisites: Linux + Wine (suggestion: prepare the software and open a bottle too) Detailed instructions: 1. Launch terminal, run Wine with Pegasus installer. You can also set the locales different way than your system locales, if needed (in my case, I want Pegasus to run with Czech locale so that I can use Czech diacritical sings. I also put Pegasus into a separate Wineprefix: env LANG="cs_CZ.UTF-8" WINEPREFIX="/home/david/.winetest-pegasus/" /home/david/D/dev/prog/linux/wine/1.7.54/wine-build/wine /home/david/D/download/Pegasus/w32-470.exe 2. Click "Setup" (WinZip Self-Extractor) 3. Click "Next >" (Pegasus Mail Installation) 4. Fill in the path wherever you want Pegasus to be installed to (Install the Pegasus Mail program files in:). For example C:\Program Files\E-mail clients\Pegasus (does not matter much, put it wherever you like, C:\PMAIL will do well too). Click "Next >" 5. Decide if you want to uncheck "Create Start menu shortcut for Pegasus" (this doesn't seem to work in Wine), and "Pre-configure a user mailbox" (not needed if you want to place your email folder on a specific place, this will be done later). Click "Next >" 6. Click "Finish" 7. Click "Exit" (Pegasus installation is now complete) 8. Open IERenderer.fff in any text editor (vi, Mousepad etc.). The .fff file is in the folder where you installed Pegasus to (e.g. /home/david/.winetest-pegasus/drive_c/Program Files/E-mail clients/Pegasus/Programs/IERenderer.fff) 9. Change "Form flags = 31" to "Form flags = 2", save, close. 10. Launch Pegasus for the first time (in my case env LANG="cs_CZ.UTF-8" WINEPREFIX="/home/david/.winetest-pegasus/" /home/david/D/dev/prog/linux/wine/1.7.54/wine-build/wine C:\\Program\ Files\\E-mail\ clients\\Pegasus\\Programs\\winpm-32.exe) 11. Select the first option for Pegasus running mode (I do not think other options are useful with Wine) 12. Type in the path of your choice for the mail to be kept in, click "OK" (e.g. C:\users\david\My email folder  or if you want to put it somewhere else than in the wine folder (.winetest-pegasus in my case), you can use drive Z: which automaticaly points to the root of your linux filesystem, so e.g. Z:\home\david\whatever) Now you have a running Pegasus. Setup the internet, email account, email outgoing server etc. the same way as in Windows. </p> <p>It will be also wise to install the latest version of BearHTML and libtidy. You may also want to make a desktop icon and/or menu item to launch Pegasus. The command to be run will be something like that on line 10 above. If you want to transfer existing Pegasus installation from Windows to Linux, it is easier: First, either install Pegasus from scratch as per steps 1-9, or copy the Pegasus folders from Windows to the WINEPREFIX of your choice and edit the IERenderer.fff file as per steps 8-9. Second, copy the email folder from Windows. Either put it in WINEPREFIX/drive_c/ in the same subdirectory where it was on Windows, or put it somewhere else and delete PMAIL.CFG in the Pegasus "Programs" folder and then set it as per steps 10-12. </p>

Hi David,

can you help me? I don't want to install Pegasus by new, but want to use the installation I did about 20 years ago on a parallel Windows-Disk. (I very newly changed to Ubuntu-Linux on another partition.)

I tried it with wine, but it doesn't work.  In fact PM starts - but then it freezes.

What do I make wrong with my pegasus.desktop?

[Desktop Entry]
Type=Application
Name=Wine Pegasus Program Loader
Name[de]=Wine Pegasus-Programmstarter
Exec=wine start /Unix "/media/sme/PROGRAMME/DFUE/MAIL/PMail/Programs/winpm-32.exe -a -i sme -Z 128"
MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut;
Icon=/media/sme/PROGRAMME/DFUE/MAIL/PMail/Programs/winpt.bmp
NoDisplay=true
StartupNotify=true
GenericName[de_DE]=PegasusMail starten
Comment[de_DE]=PegasusMail starten

Greetings from Berlin

<p>Hi David,</p><p>can you help me? I don't want to install Pegasus by new, but want to use the installation I did about 20 years ago on a parallel Windows-Disk. (I very newly changed to Ubuntu-Linux on another partition.) </p><p>I tried it with wine, but it doesn't work.  In fact PM starts - but then it freezes.</p><p>What do I make wrong with my pegasus.desktop?</p><p>[Desktop Entry] Type=Application Name=Wine Pegasus Program Loader Name[de]=Wine Pegasus-Programmstarter Exec=wine start /Unix "/media/sme/PROGRAMME/DFUE/MAIL/PMail/Programs/winpm-32.exe -a -i sme -Z 128" MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut; Icon=/media/sme/PROGRAMME/DFUE/MAIL/PMail/Programs/winpt.bmp NoDisplay=true StartupNotify=true GenericName[de_DE]=PegasusMail starten Comment[de_DE]=PegasusMail starten </p><p>Greetings from Berlin </p>

How did you install it? As for my installation, I don't have any commandline parameters for Pegasus in the launcher. The -a and -i should not do any harm, but the -Z 128 looks suspicious for me (blind load winsock.dll - I don't know what that could mean in wine), I'd try it without that. Secondly, if you copied the mail folder, it might happen that the desktop geometry/resolution is different from the Windows instance and Pegasus launches OK but is off screen. Try to check the "Application window rectangle" value in PMAIL.INI and try to set it e.g. 100 100 100 100 or so so that it is for sure within t\he visible coordinates.

This is what my Exec line in launcher looks like:

Exec=env LANG="cs_CZ.UTF-8" WINEPREFIX="/home/david/.wine-pegasus471" wine C:\\\\Program\\ Files\\\\CONNECTIVITY\\\\Pegasus\\\\Programs\\\\WINPM-32.EXE
(but I use non-default wineprefix and language settings which is the env ... part, probably not applicable for you)

<p>How did you install it? As for my installation, I don't have any commandline parameters for Pegasus in the launcher. The -a and -i should not do any harm, but the -Z 128 looks suspicious for me (blind load winsock.dll - I don't know what that could mean in wine), I'd try it without that. Secondly, if you copied the mail folder, it might happen that the desktop geometry/resolution is different from the Windows instance and Pegasus launches OK but is off screen. Try to check the "Application window rectangle" value in PMAIL.INI and try to set it e.g. 100 100 100 100 or so so that it is for sure within t\he visible coordinates.</p><p>This is what my Exec line in launcher looks like:</p><p>Exec=env LANG="cs_CZ.UTF-8" WINEPREFIX="/home/david/.wine-pegasus471" wine C:\\\\Program\\ Files\\\\CONNECTIVITY\\\\Pegasus\\\\Programs\\\\WINPM-32.EXE (but I use non-default wineprefix and language settings which is the env ... part, probably not applicable for you) </p>

I started from terminal with

 wine start D:\\DFUE\\MAIL\\PMail\\Programs\\winpm-32.exe

This was the result

fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView
err:seh:setup_exception_record stack overflow 944 bytes in thread 003f eip 7e96369d esp 00240f80 stack 0x240000-0x241000-0x340000

I think, there are some problems with the registry. What did you do with that.

 

 

<p>I started from terminal with</p><p> wine start D:\\DFUE\\MAIL\\PMail\\Programs\\winpm-32.exe</p><p>This was the result </p><p>fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView err:seh:setup_exception_record stack overflow 944 bytes in thread 003f eip 7e96369d esp 00240f80 stack 0x240000-0x241000-0x340000</p><p>I think, there are some problems with the registry. What did you do with that. </p><p> </p><p> </p>

[quote user="schuwe1"]

fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView
err:seh:setup_exception_record stack overflow 944 bytes in thread 003f eip 7e96369d esp 00240f80 stack 0x240000-0x241000-0x340000[/quote]

WINE has issues with everything related to Internet Explorer. This is why you need to disable IERenderer. It should be enough to rename or remove every file named IERenderer.xyz (where xyz stands for any file extension). If PM was installed using its installer you should be able to uninstall IERenderer using its own uninstaller, but I have no idea how to do this on WINE.
[quote user="schuwe1"]<p>fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 67 of CGID_ShellDocView err:seh:setup_exception_record stack overflow 944 bytes in thread 003f eip 7e96369d esp 00240f80 stack 0x240000-0x241000-0x340000[/quote]</p>WINE has issues with everything related to Internet Explorer. This is why you need to disable IERenderer. It should be enough to rename or remove every file named IERenderer.xyz (where xyz stands for any file extension). If PM was installed using its installer you should be able to uninstall IERenderer using its own uninstaller, but I have no idea how to do this on WINE.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

To disable IERenderer: follow steps 8-9 as written in my first post

To uninstall IERenderer: open terminal in Ubuntu and run 'wine uninstaller' and then select the IERenderer and uninstall it (this is "the standard way how to uninstall an application in wine")

If you transferred the Pegasus files from Windows installation (i.e. not install it freshly in wine), then you would probably have to use the second first (sorry) option and disable IERenderer. This is mentioned in the last paragraph of my installation post above.

I have also put the info in the WineHQ AppDB.

<p>To disable IERenderer: follow steps 8-9 as written in my first post </p><p>To uninstall IERenderer: open terminal in Ubuntu and run 'wine uninstaller' and then select the IERenderer and uninstall it (this is "the standard way how to uninstall an application in wine") </p><p>If you transferred the Pegasus files from Windows installation (i.e. not install it freshly in wine), then you would probably have to use the <strike>second</strike> first (sorry) option and disable IERenderer. This is mentioned in the last paragraph of my installation post above. </p><p>I have also put the info in the <a href="https://appdb.winehq.org/objectManager.php?sClass=version&iId=31132 " title="WineHQ AppDB" mce_href="https://appdb.winehq.org/objectManager.php?sClass=version&iId=31132 ">WineHQ AppDB</a>. </p>

I got it. It realy was the IERenderer that blocked starting Pegasus. I uninstalled it and copied the bear instead of it.

Now I just have to start the old Pegasus-Installation on the Windows-HD.

This is the Wine-Pegasus.desktop-file:

[Desktop Entry]
Type=Application
Name=Wine Pegasus Program Loader
Name[de]=Wine Pegasus-Programmstarter
Exec=wine start /Unix /media/sme/PROGRAMME/DFUE/MAIL/PMail/Programs/winpm-32.exe
MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut;
Icon=/media/sme/PROGRAMME/DFUE/MAIL/PMail/Pegasus.ICO
NoDisplay=true
StartupNotify=true
GenericName[de_DE]=PegasusMail starten
Comment[de_DE]=PegasusMail starten

Thanks for helping.

By the way: Does some of you know how to act with PMPGP or qdpgp and Linux-Pegasus?

<p>I got it. It realy was the IERenderer that blocked starting Pegasus. I uninstalled it and copied the bear instead of it.</p><p>Now I just have to start the old Pegasus-Installation on the Windows-HD.</p><p>This is the Wine-Pegasus.desktop-file: </p><p>[Desktop Entry] Type=Application Name=Wine Pegasus Program Loader Name[de]=Wine Pegasus-Programmstarter Exec=wine start /Unix /media/sme/PROGRAMME/DFUE/MAIL/PMail/Programs/winpm-32.exe MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut; Icon=/media/sme/PROGRAMME/DFUE/MAIL/PMail/Pegasus.ICO NoDisplay=true StartupNotify=true GenericName[de_DE]=PegasusMail starten Comment[de_DE]=PegasusMail starten</p><p>Thanks for helping.</p><p>By the way: Does some of you know how to act with PMPGP or qdpgp and Linux-Pegasus? </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft