Pegasus Mail Suggestions
Portable Pegasus Mail

Its late, maybe I will understand more in the morning.  I am not sure where to stick the -roam.  Maybe I should not have asked that ~!<input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden">

Its late, maybe I will understand more in the morning.&amp;nbsp; I am not sure where to stick the -roam.&amp;nbsp; Maybe I should not have asked that ~!&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot;&gt;&lt;!--Session data--&gt;&lt;input onclick=&quot;jsCall();&quot; id=&quot;jsProxy&quot; type=&quot;hidden&quot;&gt;&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;

Hi

Recently I decided to put my computing life on a USB stick.  Virtually everything I need to do can be done with PortableApps (see portableapps.com) and a few other little programs that do not use the registry.  No more lugging a laptop everywhere!

However, as a satisfied user and vigorous promoter of Pegasus Mail since 1993, I was saddened when I thought I would have to switch to something like Thunderbird.  With over 4 GB of backed up Pegasus Mail and a well-evolved set of rules, identities and accounts, I really did not relish this thought.

How delighted I was to see that other users have successfully made Pmail portable!  (see http://community.pmail.com/forums/thread/2763.aspx)

My wish is for a Portable release of Pmail, or at least a detailed set of instructions on what to edit so it works reliably from a USB stick on a Windows machine no matter what drive letter the stick is assigned.

I did search every forum here that I thought might remotely have these instruction already, but so far have not found them.

Thanks (and let me add my hearty THANKS to David for a great program.  I wonder how many hundreds - or thousands - of hours of my life have been spent as a user of your code!)

Mr Fair Go

(Australia) 

&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;Recently I decided to put my computing life on a USB stick.&amp;nbsp; Virtually everything I need to do can be done with PortableApps (see &lt;a href=&quot;http://portableapps.com/&quot; target=&quot;_blank&quot; mce_href=&quot;http://portableapps.com/&quot;&gt;portableapps.com&lt;/a&gt;) and a few other little programs that do not use the registry.&amp;nbsp; No more lugging a laptop everywhere! &lt;/p&gt;&lt;p&gt;However, as a satisfied user and vigorous promoter of Pegasus Mail since 1993, I was saddened when I thought I would have to switch to something like Thunderbird.&amp;nbsp; With over 4 GB of backed up Pegasus Mail and a well-evolved set of rules, identities and accounts, I really did not relish this thought. &lt;/p&gt;&lt;p&gt;How delighted I was to see that other users have successfully made Pmail portable!&amp;nbsp; (see &lt;a href=&quot;/forums/thread/2763.aspx&quot; target=&quot;_blank&quot; mce_href=&quot;/forums/thread/2763.aspx&quot;&gt;http://community.pmail.com/forums/thread/2763.aspx&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;My wish is for a Portable release of Pmail, or at least a detailed set of instructions on what to edit so it works reliably from a USB stick on a Windows machine no matter what drive letter the stick is assigned.&lt;/p&gt;&lt;p&gt;I did search every forum here that I thought might remotely have these instruction already, but so far have not found them. Thanks (and let me add my hearty THANKS to David for a great program.&amp;nbsp; I wonder how many hundreds - or thousands - of hours of my life have been spent as a user of your code!)&lt;/p&gt;&lt;p&gt;Mr Fair Go&lt;/p&gt;&lt;p&gt;(Australia)&amp;nbsp;&lt;/p&gt;

 

Hello!

 

To the best of my knowledge, the current version of Pegasus Mail is portable, provided "portable" simply means that you have Pegasus Mail run from a USB-stick (or another portable drive).

Myself, I do not have a USB-stick, but I can tell you the basic idea how to use Pegasus Mail and access your messages from a USB-stick.
The main idea is to have Pegasus Mail installed on the stick and to place the "home mailbox"- and the "New mailbox"-directory on that stick as well. Since the "home mailbox"- and the "New mailbox"-directory are usually the same directory, that is easy - it is simply the directory that contains your mail folders, the files with your settings and options etc. When starting Pegasus Mail from the USB-stick, add the commandline switch "-roam", so the commandline to start Pegasus Mail would basically look like this: "winpm-32.exe -roam" (without the quotes, of course).

Read what the help file says option that switch:

This option tells Pegasus Mail that it should ignore the configured drive letter when locating user mailboxes and mail files, and should instead use the drive letter of the drive from which WINPM-32.EXE was run. [...] This switch also allows you to install a complete, working copy of Pegasus Mail, complete with mailboxes, onto a memory stick, and to use that memory stick in any computer where it is subsequently plugged. You must not use this switch if Pegasus Mail and your mailbox directories cannot be accessed using the same drive letter.

 

Technically speaking, this has the following background: when started, Pegasus Mail has to know what directory your mail messages, your settings, your distribution lists, your addressbooks etc. are placed in (i.e., the "home mailbox"- and the "New mailbox"-directory I have mentioned). When started without "-roam", Pegasus Mail needs to know both the directory path and the drive letter of that directory.
Pegasus Mail internally saves where to find your mail information

(i.e., in what directory and on what drive), and it also saves the

drive letter where to find your personal mail information. The drive letter of that directory may be different from the drive letter of the directory "winpm-32.exe" is loacted in (i.e., if Pegasus Mail is installed on a drive different from the one your personal mail information is stored on).
However, the drive letter is obviously the same if you have both the program directory and your mail directory on a USB-stick. "-roam" makes Pegasus Mail ignore the drive letter it has internally saved for where to find your mail information; instead, it uses the drive letter of that drive from which Pegasus Mail was started.

An example: on your USB-stick, Pegasus Mail's program directory is "\pegmail\", and your user directory is "\pegmail\usr\". Your USB-stick may be assigned different drive letters to if you use it on different computers. Pegasus Mail is started via the commandline "winpm-32.exe -roam".
Pegasus Mail starts, and it is looking for your user directory. When started from drive E, Pegasus Mail uses "E:\pegmail\usr\" as your user directory; however, when started from drive H (on a different computer), Pegasus Mail uses "H:\pegmail\usr\". It does so because of the "-roam"-switch.

 

I hope I could make myself clear. If you are not sure about how to use "-roam", just ask again.

 

&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; Hello! &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To the best of my knowledge, the current version of Pegasus Mail &lt;i&gt;is&lt;/i&gt; portable, provided &quot;portable&quot; simply means that you have Pegasus Mail run from a USB-stick (or another portable drive).&lt;/p&gt;&lt;p&gt;Myself, I do not have a USB-stick, but I can tell you the basic idea how to use Pegasus Mail and access your messages from a USB-stick. The main idea is to have Pegasus Mail installed on the stick and to place the &quot;home mailbox&quot;- and the &quot;New mailbox&quot;-directory on that stick as well. Since the &quot;home mailbox&quot;- and the &quot;New mailbox&quot;-directory are usually the same directory, that is easy - it is simply the directory that contains your mail folders, the files with your settings and options etc. When starting Pegasus Mail from the USB-stick, add the commandline switch &quot;-roam&quot;, so the commandline to start Pegasus Mail would basically look like this: &quot;winpm-32.exe -roam&quot; (without the quotes, of course).&lt;/p&gt;&lt;p&gt;Read what the help file says option that switch: &lt;/p&gt;&lt;blockquote&gt;This option tells Pegasus Mail that it should ignore the configured drive letter when locating user mailboxes and mail files, and should instead use the drive letter of the drive from which WINPM-32.EXE was run. [...] This switch also allows you to install a complete, working copy of Pegasus Mail, complete with mailboxes, onto a memory stick, and to use that memory stick in any computer where it is subsequently plugged. You must not use this switch if Pegasus Mail and your mailbox directories cannot be accessed using the same drive letter.&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Technically speaking, this has the following background: when started, Pegasus Mail has to know what directory your mail messages, your settings, your distribution lists, your addressbooks etc. are placed in (i.e., the &quot;home mailbox&quot;- and the &quot;New mailbox&quot;-directory I have mentioned). When started without &quot;-roam&quot;, Pegasus Mail needs to know both the directory path and the drive letter of that directory. Pegasus Mail internally saves where to find your mail information (i.e., in what directory and on what drive), and it also saves the drive letter where to find your personal mail information. The drive letter of that directory may be different from the drive letter of the directory &quot;winpm-32.exe&quot; is loacted in (i.e., if Pegasus Mail is installed on a drive different from the one your personal mail information is stored on). However, the drive letter is obviously the same if you have both the program directory and your mail directory on a USB-stick. &quot;-roam&quot; makes Pegasus Mail ignore the drive letter it has internally saved for where to find your mail information; instead, it uses the drive letter of that drive from which Pegasus Mail was started.&lt;/p&gt;&lt;p&gt;An example: on your USB-stick, Pegasus Mail&#039;s program directory is &quot;\pegmail\&quot;, and your user directory is &quot;\pegmail\usr\&quot;. Your USB-stick may be assigned different drive letters to if you use it on different computers. Pegasus Mail is started via the commandline &quot;winpm-32.exe -roam&quot;. Pegasus Mail starts, and it is looking for your user directory. When started from drive E, Pegasus Mail uses &quot;E:\pegmail\usr\&quot; as your user directory; however, when started from drive H (on a different computer), Pegasus Mail uses &quot;H:\pegmail\usr\&quot;. It does so because of the &quot;-roam&quot;-switch.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope I could make myself clear. If you are not sure about how to use &quot;-roam&quot;, just ask again.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Hi Thomas

Thanks heaps for this.  I searched the help for "USB Drive" but didn't think of "Memory Stick".

My current Pegasus Mail start shortcut for the HDD instalation has the -A switch, which the Help file (at the page you quoted from above) says means "Forces Pegasus Mail to run in standalone mode, ignoring any NetWare connection." I have no Netware Connection, as this is a stand-alone computer on a home network,  so for the new shortcut on the USB drive, I assume I merely replace -A with -ROAM.  Or should I have BOTH controls there?

I have another issue that I'd like to solve at the same time as this move, but I will ask it in a separate thread.  :) 

Thanks

Lance

(MrFairGo, Australia)

&lt;p&gt;Hi Thomas&lt;/p&gt;&lt;p&gt;Thanks heaps for this.&amp;nbsp; I searched the help for &quot;USB Drive&quot; but didn&#039;t think of &quot;Memory Stick&quot;.&lt;/p&gt;&lt;p&gt;My current Pegasus Mail start shortcut for the HDD instalation has the -A switch, which the Help file (at the page you quoted from above) says means &quot;Forces Pegasus Mail to run in standalone mode, ignoring any NetWare connection.&quot; I have no Netware Connection, as this is a stand-alone computer on a home network,&amp;nbsp; so for the new shortcut on the USB drive, I assume I merely replace -A with -ROAM.&amp;nbsp; Or should I have BOTH controls there? &lt;/p&gt;&lt;p&gt;I have another issue that I&#039;d like to solve at the same time as this move, but I will ask it in a separate thread.&amp;nbsp; :)&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Lance&lt;/p&gt;&lt;p&gt;(MrFairGo, Australia)&lt;/p&gt;

 

Hello!

 

You can probably replace "-a" with "-roam". Given the installation you described, I do not think "-a" is needed.

 

&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hello!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can probably replace &quot;-a&quot; with &quot;-roam&quot;. Given the installation you described, I do not think &quot;-a&quot; is needed.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">

<title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Win32)"><style type="text/css"> <p> <!-- <p> @page { size: 21.59cm 27.94cm; margin: 2cm } <p> P { margin-bottom: 0.21cm } <p> --> <p> </style>

First I thank you for along time user I

have to admit My shame on two things one I have never donated any

money for this program, one day I will and a few others that I have

used for a very long time, and two I had stopped using this program

for a few years just because of lack of contact and calendar

functions but I have always told people my preference for standalone

e-mail program was always pmail


Now for almost 2 years I have been

using a portable sd card or now a usb stick and have had pegasus

portable since then and encrypted the last 8 months. From some

playing around to get it to work on a 3 computer house I learned to

move mail folder location


I just recently learned of the roam

switch which i'm glad I had never known about


Now at the begining it was unencrypted,

then I encrypted the program and mail, currently just mail, And I am

think of going back to full encryption


Now the steps I use to acomplish

portability


Required Programs:

  • Pegasus Mail

  • universal extractor

  • pspad

  • Truecrypt



This was last tested with w32-450-pb1


  • extract pegasus mail to folder on

    sd, usb card, or truecrypt drive ex E:\w32-450-pb1\

  • make folder in extracted folder

    called mail ex E:\w32-450-pb1\mail

  • run winpm32.exe ex E:\w32-450-pb1\

    winpm32.exe

  • Choose one person install

  • choose default mail setup

  • config email setup (I have 4

    pop3 email accounts which is good because they will not allow me to

    send from there smtp servers from different computers i use. 99% of

    all outbound are from one account there sent from the four smtp

    accounts)

  • in pmail click

      • tool

      • options

      • general setup

      • mail box location

  • enter in to path location of the

    mail folder location ex E:\w32-450-pb1\mail

  • check move mailbox contents to new

    location

  • click change now

  • close pegasus mail

  • move remaining files from

    C:\PMAIL\MAIL to E:\W32-450-PB1\MAIL

  • delete folder C:\PMAIL\MAIL

  • open pspad (***I use this program

    you can use whatever you want just know i have yet to get microsoft

    notepad to make change and work)

  • open file pmail.cfg ex

    E:\W32-450-PB1\pmail.cfg

  • change the following in both

    location very important without changing anything else in the file

    C:\PMAIL\MAIL to \w32-450-pb1\mail

  • close and save file

  • open file pmail.ini ex

    E:\W32-450-PB1\MAIL\pmail.ini

  • Make following 3 changes

    • Home mailbox location =

      E:\W32-450-PB1\MAIL (TO \W32-450-PB1\MAIL)

    • Working home mailbox location

      = E:\W32-450-PB1\MAIL (TO \W32-450-PB1\MAIL)

    • New mailbox location

      = C:\PMAIL\MAIL (TO \W32-450-PB1\MAIL)

  • Open pmail and all done


&lt;meta http-equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;title&gt;&lt;/title&gt;&lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 2.4 (Win32)&quot;&gt;&lt;style type=&quot;text/css&quot;&gt; &lt;!-- @page { size: 21.59cm 27.94cm; margin: 2cm } P { margin-bottom: 0.21cm } --&gt; &lt;/style&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;First I thank you for along time user I have to admit My shame on two things one I have never donated any money for this program, one day I will and a few others that I have used for a very long time, and two I had stopped using this program for a few years just because of lack of contact and calendar functions but I have always told people my preference for standalone e-mail program was always pmail&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Now for almost 2 years I have been using a portable sd card or now a usb stick and have had pegasus portable since then and encrypted the last 8 months. From some playing around to get it to work on a 3 computer house I learned to move mail folder location&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;I just recently learned of the roam switch which i&#039;m glad I had never known about&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Now at the begining it was unencrypted, then I encrypted the program and mail, currently just mail, And I am think of going back to full encryption&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Now the steps I use to acomplish portability&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Required Programs:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Pegasus Mail&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;universal extractor&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;pspad&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Truecrypt&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;This was last tested with w32-450-pb1&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;extract pegasus mail to folder on sd, usb card, or truecrypt drive ex E:\w32-450-pb1\&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;make folder in extracted folder called mail ex E:\w32-450-pb1\mail&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;run winpm32.exe ex E:\w32-450-pb1\ winpm32.exe&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Choose one person install&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;choose default mail setup&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;config email setup &lt;i&gt;(I have 4 pop3 email accounts which is good because they will not allow me to send from there smtp servers from different computers i use. 99% of all outbound are from one account there sent from the four smtp accounts)&lt;/i&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;in pmail click &lt;/p&gt; &lt;ul&gt;&lt;ul&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;tool&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;options &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;general setup &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;mail box location&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;enter in to path location of the mail folder location ex E:\w32-450-pb1\mail&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;check move mailbox contents to new location&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;click change now&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;close pegasus mail&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;move remaining files from C:\PMAIL\MAIL to E:\W32-450-PB1\MAIL&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;delete folder C:\PMAIL\MAIL&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;open pspad (***I use this program you can use whatever you want just know i have yet to get microsoft notepad to make change and work)&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;open file pmail.cfg ex E:\W32-450-PB1\pmail.cfg&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;change the following in both location very important without changing anything else in the file C:\PMAIL\MAIL to \w32-450-pb1\mail&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;close and save file&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;open file pmail.ini ex E:\W32-450-PB1\MAIL\pmail.ini&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Make following 3 changes&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Home mailbox location = E:\W32-450-PB1\MAIL (TO \W32-450-PB1\MAIL)&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Working home mailbox location = E:\W32-450-PB1\MAIL (TO \W32-450-PB1\MAIL)&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;New mailbox location = C:\PMAIL\MAIL (TO \W32-450-PB1\MAIL)&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Open pmail and all done&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; &lt;/p&gt;
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