Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

SOLVED: Is "Identities" what I need? Other solutions?

Last post 05-07-2020, 14:42 by Shades. 2 replies.
Sort Posts: Previous Next
  •  05-07-2020, 10:48

    • Sheepdog is not online. Last active: 05-18-2020, 10:38 Sheepdog
    • Top 500 Contributor
    • Joined on 11-17-2014
    • Member
    • Points 325

    SOLVED: Is "Identities" what I need? Other solutions?

    PS- Thank you.. everyone here, and also in a similar tread that I started called "Can I run multiple instances". (I wouldn't ordinarily have come so close to cross posting, but I thought I'd learned years ago that the answer to the simple question was "no". Glad I checked!)

    I remain slightly unclear on proper terminology, and underlying concepts. For those struggling with questions along the lines of mine, be very careful about these words: user, identity, folder, directory, mailbox, mailbox location. Note in addition that your whole hard disk is organized by your operating system (Windows), with an every-day, across-the-board hierarchical structure of folders and folders within folders to many levels. These folders are also known as directories. Here, I will call them "OS-folders" (or OS-directories). In addition to THOSE folders/ directories, INSIDE PMail, there's another, a different folder/directory hierarchy. I'll call those folders/ directories PMail-mail-folders. They do not map in any simple way to the OS-folders. Your saved messages go into PMail-mail-folders... which is, of course, enormously helpful if you use your email beyond the most rudimentary way. The PMail-mail-folders are all contained within one "parent" PMail-mail-folder, called "MyMailbox".

    A lot of my problems revolve around not always being entirely clear about which sort of folder something I'm reading about is connected to.

    I gather from help received here, and at the other thread mentioned a moment ago, that either of the approaches I sketched in the original post approach can work, each with it's own pros and cons, of course.

    For my purposes, I am going with "two separate instances of PMail running concurrently, independently, on one computer". Inefficient probably. But I like Simple. I like to "divide and conquer". I'm also switching back and forth a lot between my two "presences", and I know that (for me) just changing from one PMail-mail-folder to another can be a tediously slow process. (I have far too many emails in my "New Mail" PMail-mail-folder, and that is populated differently than are the others... and, unavoidably, does take a bit of time to reload each time I switch into it.)

    So maybe, for me, the inefficiencies of having two separate instances running concurrently will be worth it, in time saved.

    So! It is early days, and the following hasn't had much testing yet, but what seems to work for me is as follows....

    In the next paragraph I am speaking only of OS-folders

    Somewhere in the distant past, I managed to get my PMail "going" with one PMAIL folder. Inside that JUST two more folders. No files at this level. The folders are: MAIL and Programs. I always STAY OUT of the "Programs" folder. (I LOVE the way PMAIL is set up, behind the scenes, by the way!) In MAIL: A text file called PMAIL.USR, and three more folders:ADMIN, MyPrivate and MyPublic. (Not really. Actually my system has folders with names relevant to my actual use, CORRESPONDING TO those I said I will use to frame this discussion. I DO have a folder there ACTUALLY called "ADMIN"... it was set up for me when I installed PMail. I'm not entirely sure how the other folders arose! I doubt I tried to create them "by hand", outside of PMAIL, and then trick it into using them. (I believe that PMail has to establish an initial "skeleton" of various things inside any new folder of this sort, and I doubt I'd get that right.) One of them would have arisen during a fresh install of PMail. (I've used it on many generations of hardware, and still have messagess from 2004 in my current installation.) I suspect I invoked "Addresses/Users/UserManagement" at some stage to create the other. (I've been struggling with these issues for many years!)

    PMAIL.USR is a pretty simple text file...

    A;Admin;Mail Administrator

    Not a lot to go wrong there! More good underlying design. (One of the duplicated items can probably be tweaked, it is probably a human-friendly label for what the other one, the computer-friendly ID, specifies.   But I'm not messing with something I don't need to mess with!

    How I got there during an initial install on a "virgin" machine will have to be a story for another day. I THINK you can get there with a "normal" install, followed by using "Addresses/ User Management".

    I start by doing the install as if I am going to be starting a new MyPrivate" "presence" on the new machine. This establishes an adequate "shell", with the same NAME as the presence that I am moving to the new machine. I then copy the whole of the "MyPrivate" OS-folder from the old machine to the "MyPrivate" OS-folder already existing on the being-set-up machine, over-writing anything previously in the OS-folder. (I would delete any contents by hand beforehand, if I remembered to take that precaution.)


    So! How did I make "it" work? How did I get my two instances sharing my screen?


    I should mention... 

    1) I am using a stand-alone system. Yes, it is on a LAN, but all the software and all of the stuff held in OS-folders is on the same machine I'm using.

    2) A general "thing" about Windows 10. The items in the "Start" menu come from plain old had-them-forever shortcuts in...

    %AppData%\Microsoft\Windows\Start Menu\Programs.

    (Just use the ordinary Windows File Explorer to go there.)


    I already had a shortcut to invoke Pegasus. The only command line option present was "-A". And it remains.

    I made two copies of my old shortcut, which was named "Psus". (When that launched, I was asked for the User I wanted, and I answered MyPrivate. (MyPublic was present in the system, but I hadn't used it for a while, because that meant, before today, shutting sown the active instance of PMail and restarting the application.

    I named one of the copies Psus MyPriv, and the other Psus MuPub.

    I then edited the "targets" of the two new shortcuts.

    To the -A command line parameter that was already there, I added...

    -ms and -i  MyPrivate

    ... to the first new shortcut, and...

    -ms and -i  MyPublic

    ... to the other new shortcut.


    First use!...

    I made sure no instance of PMail was currently running, and tried the two shortcuts... WHOOSH! I was in! Two instances running smoothly, one for each presence!

    (I then deleted the old "tell it which User on invocation" shortcut.)


    So... as I said... THANK YOU! I am now back to where I was a few years ago. I don't know how I got "lost" in between. But this mode of working is Just Fine for my wants. I hope all of that may be useful to someone else one day.



    ======= Original post

    For years, I've had two entirely separate Windows PCs on my wooden worktop (That which my grandfather called a "desk" long before "desktop" came along, meaning something else.)

    And I had an instance of Pegasus running one each, because I have two email addresses in constant use. I want everything at each separate from everything at that. (More on this in footnote)

     At one point, I had two separate instances of Pegasus running on a single computer, but I believe that is no longer possible. (True?)


    I would like to be able to work as two "separate" "people" on one (Windows) computer, and having done some R'ing of TFM, and past posts, think that maybe using two "Identities" (in the Pegasus sense) is what I need to do? I won't be clever, and teach it to pass any mail between the identities. The whole point, my wants, is to keep them separate.

    If I do this, would each identity have it's own sub-folder in my PMAIL directory (folder)? With everything relating to that identity (apart from a line or so in PMAIL/PMAIL.USR) in that folder?

    Can anyone see any questions I am failing to ask before I risk rocking my quite happy, quite stable "boat"?


    Footnote: Why do I WANT the two accounts entirely separate? One is for "important" things, like conversations with my bank, and friends and commercial contacts I trust not to be selling or compromising my email address. The other is for things like trying a new supplier, who may turn out to be less scrupulous that one would wish about helping me avoid spam. // If a child under my roof were to have his/her own email account, wants similar to the ones I've tried to describe would arise. Think of my wants in those terms, if it helps.

  •  05-07-2020, 13:28

    • Brian Fluet is not online. Last active: 05-31-2020, 20:41 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 31,040

    Re: Is "Identities" what I need? Other solutions?

    I would like to be able to work as two "separate" "people" on one (Windows) computer,

    This desire is key, and based on it, I suggest  having two instances of Pegasus Mail on the same PC.  You can run them simultaneously by adding the -ms option to their command line.  The only problem with multiple instances running is that you can't control which instance is invoked by a Mailto: link or Sendto action.

    Identities are ideal for someone who has multiple mailboxes but wants all that mail under one roof.  You can filter the incoming messages into designated folders and can easily change identities so the sent messages appear to come from a different person but this can be challenging to always remember to do.

  •  05-07-2020, 14:42

    • Shades is not online. Last active: 05-18-2020, 13:09 Shades
    • Top 100 Contributor
    • Joined on 06-16-2007
    • Member
    • Points 910

    Re: Is "Identities" what I need? Other solutions?

    The advantage of Identities is most of the hard work (not that it is that hard) is only done once

    I run 21 ID's across multiple ISP's, mail is filtered (AutoFilter) to a folder for that ID, any reply is sent from that ID (ID attached to folders), some times I "may" forget when starting a new mail to change to the correct ID, but that's user error (senior moments)

    You can start Pegasus with the -ID switch, which sets the initial ID used

View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page