Pegasus mail on Windows in 2023

Pegasus Mail still exists and is still being developed as donationware. (pmail.com) The current version for Windows (including 10) is version 4.80 and is at https://download-us.pmail.com/w32-480.exe. Here, I run through brief installation session. This is for GMX, but should be representative of various mail providers — but not all.

Pegasus Mail banner

First, downloaded and ran the installer. I unchecked desktop icon (I don’t like to have many apps on the desktop) and unchecked using it to open ‘mailto:’ links (since I am testing it out — I have not yet decided whether to use it regularly).

See the note at the end of this post on the architecture of pmail!

On first run, it opened the pmail (as it calls itself behind the scenes) main window, and started a configuration session (wizard) in which it asked for email address, then pop3 server.

Let’s use GMX, which supports application-specific passwords. This would also work for Gmail, using an app password.

For GMX, the pop server is: pop.gmx.com (on port 995)  (https://support.gmx.com/pop-imap/pop3/serverdata.html).

Then, it asks for user name (in my case, my email address (pmail might warn you about having an @ in your username; don’t worry) and password. (As noted, if your mail provider needs 2 factor authentication, that is not (yet) in pmail, so you go to the provider web interface and ask for an application-specific password, which is (on Gmail and AOL) a 16-character string.)

Note that the Tools > Internet Options menu also has an entry for IMAP profiles, which I later used to set up a Gmail account with no problems at all..

SMTP server: mail.gmx.com

The wizard does not do everything we want, so I then went Tools > Internet options > Receiving (POP3) and edited the entry in there.

  • Server host name: pop.gmx.com
  • User name: my email address (your username may be something else… but that’s unlikely these days)
  • Password: <Password>
  • Server TCP/IP port: 995

Set ‘Delete mail on server…’ to whatever you want

Now went to the Security tab and checked Via Direct SSL Connect (note on the GMX page that it says port 995 is the SSL port; this is the usual correspondence of port and protocol).

On the Download Controls tab, you may want to check Download Only Unread…, and review other settings.

Clicked OK until back to main page.

Now, clicked on the globe of the Earth with an arrow coming down from it. (‘Get your mail from the cloud.’) This grabbed email, and I could then do all the usual email-ish things. Reading, saving, etc; so now … sending.

Tools > Internet options > Sending (SMTP) > edit the entry:

  • Server host name: mail.gmx.com
  • Server TCP/IP port: 587

Then in Security tab, checked Via STARTTLS.

Checked ‘Login to the SMTP server…’ and gave username and password. Then reread the screen and instead checked ‘Login to the SMTP server using a POP3…’ (because in my case the details are the same — which is likely) and chose the POP profile established earlier.

(I left the rest alone… YMMV.)

On the front page of the Sending menu, you have options like ‘Send mail at once’ etc. I checked the middle 3 of the 5 boxes. Whatever.

Now, to send, clicked on the pencil and pad icon (top-left), or clicked on a message and clicked reply, and it was all much like you might expect, with a nice editor with a lot of features. I had not checked the send immediately option, so when I had assembled all my emails (that is, written them and clicked ‘Send’ within the editor), I clicked the up arrow and Earth icon to actually send my mail.

If you want to set up a second identity (email account), the simplest thing is to go Tools > Identities then clone the <Default> one and modify it. IMAP is added through a separate menu item (Tools > IMAP profiles), and you then Connect to it and it all seems to work. Although I found how you link a specific IMAP with a specific identity unclear. Managing several accounts I have found non-transparent. In the end I created separate users for the separate email accounts, so that you fire up pmail and it asks for your user ID, then drops you into the appropriate account. More strongly siloed the accounts, which I do not mind. Still learning. The beta version that allows OAUTH2 with Gmail also offers more hand-holding when it comes to user admin.

Note well: you do need to take a little care to make sure that you are sending mail from the identity that you think you are using. There is a drop-down on the default main menu that shows the current identity. All your mail folder for all identities will be visible in the left pane, which does allow for some confusion, in that you might be looking at (say) a gmail folder, but with an identity from another account. The advantages of this are that you can (if you get to know the menus) send from one account and put your copies to self in another, for example; a disadvantage is that you probably do need to think a little more when sending mail, and get in the habit of checking who you are. Pegasus mail does a little less hand-holding than some clients — something you might really like, or not.

In short, Pegasus Mail works perfectly well on Windows 10 as long as your provider can supply POP3 (or IMAP) and SMTP details and you are happy (and allowed) to forego 2-factor authentication, or your provider can supply an application-specific password. This may rule out systems using what is referred to as OAUTH2 methods or which do not provide app passwords. As I understand it, the pmail team is working on modern authentication protocols. But it is a small team! I intend to use the program for a little while, and if I keep it … well, the Pegasus mail front page has a Donate button (update; I decided to pay).

The Gmail OAUTH2 stuff seems to work pretty well, removing the need for an app password with Gmail.

The interface is a little old fashioned, which is to say all the functionality is not hidden behind sleek but meaningless menus. This may well be a feature for many users. I would say Pegasus Mail does put you a little closer to the underlying mail infrastructure, and puts more options in front of you. A regular user can still use it without worrying about all the extra information.

It is also very light and pretty fast. The download is like 13.5 MB. The documentation is very thorough, though some users might find it daunting in places, and frequent references to NetWare do make it look a bit dated. In summary, I guess you could say it is very capable and has a ‘classic’ look!

As I understand it, it is not open source. Forum at https://community.pmail.com/.

The architecture of pmail: A warning!

Pegasus mail, by default, installs to c:\PMAIL. That means that all users who can log into the computer can run it. It also means you need to take care when setting it up if you do not want everybody with a login to be able to read your email. You might need to install the mail folder into your own file space, or (given pmail is only a few MB) just install your own copy of pmail in your own folder.

This architecture is the result of its long history. Back in DOS and early Windows day, there was no logging in, and DOS gave you complete mastery of the whole computer, so it was very much ‘my’ computer. Pmail still works that way. It kind of assumes it’s your computer and no one else is going to use it. You can work around that, but you must choose to do so.

Also, apparently it runs well under wine.

And mail away!

 

FreeDOS and email (FLmail)

It works. What else can I say?

Step 1 was to get networking working. For that, I’ll write another post.

But for now:

The machine is a Compaq Armada E500 — an old laptop from a times when USB was coming in and floppy drives were going out. Powerful by DOS standards (Pentium III, 30 GB HDD, 300+ MB RAM). It uses an Intel(R) PRO/100 (e100) for wired networking, which makes setting it up as easy as DOS networking can be.

The mail client is FLmail — from Georg Potthast, here: https://sourceforge.net/projects/fltk-dos/files/Applications/Binary%20versions%20of%20FLTK%20applications/. It’s a very useful suite of stuff — this version of Dillo works well on DOS too. And muPDF, FLwriter and a-paint are all very nice. Georg’s work on FreeDOS is truly outstanding. See here: https://sourceforge.net/p/freedos/news/2013/09/flmail-email-client-for-dos/

The mail provider I tried it with was GMX. They provide free email access, and their app is not too bad. Getting FLMail to work was not too hard. The POP3 server is pop.gmx.com (port 995) and the SMTP is mail.gmx.com (port 587) And then I created a directory in C:\FLMAIL that matched my username. Then it worked! Ah… but I did edit the config file by hand. The file was in directory of C:\FLMAIL\XD640CFG\ETC and called FLMAIL.CFG. I deleted the section about yahoo and changed all instances of dosusb (the example account) to my username.

Here is FLMAIL.BAT — the batch file (shell script) to launch FLmail; my notes have stars (*).

@echo off
REM Customize these lines for your system:
REM --------------------------------------
set FLTK_SCHEME=grad1
set FLMAIL=C:\FLMAIL
rem set FLMAIL=G:\FLMAIL

REM * The wrong video option here and the computer will lock up, or
rem * errors will be thrown and the program will crash. YMMV

set NANOSCR=640 480 8888

REM -------------------------------------------
REM You shouldn't need to edit below this line.
REM -------------------------------------------

REM * -- but I did! REM * On my machine, I have a working wattcp.cfg in REM * c:\fdos\ and all config or batch files that need it are REM * edited to look there. And the WATTCP.CFG environment
REM * variable is already set, so I do NOT want to set it
REM * here, so I commented it out. rem set WATTCP.CFG=%FLMAIL%\xd640cfg\etc %FLMAIL%\bin\flmail.exe %1 >flmail.log

Some notes:

  • I am not using 2 factor auth on GMX. I set up a mail account completely separate from any sensitive or personal mail account. If using Gmail, you must use an app password (16 character combination). It works, but the password is stored in the clear, if you store it.
  • I found the video mode to use by trial and error. When setting up in DOS, you must be prepared to reboot the machine when something goes bad!
  • FLmail uses SSL and TLS, but if you ask it to store your password it will be stored on your computer in the clear.
  • Some screenshots can be found here: http://techbastards.com/get-your-emails-in-a-graphical-dos-client/
  • DOS networking is never really seamless — DOS is a one-thing-at-a-time experience, so you can’t ask FLmail to download your emails and then tab out to do something else — but while you wait a status line keeps you informed about what the program is doing.
  • It can cope with HTML emails.
  • It includes an address book and some other utilities.
  • You can have separate accounts and access them all, but they should have different user names (the bit before the @ in the email address, usually).
  • I have used it to send attachments no problems. For example, I emailed myself the FLMAIL.BAT file shown above.
  • It has not been updated since about 2014, but that does not seem to be an issue.

Conclusion: Quite usable!

DOS is dead, but lots of people won’t let it rest!

Adding GMX email to Alpine

I want to read a secondary account from Alpine. Below lets me do that — though not send email from it… If we go here, https://support.gmx.com/pop-imap, we can get the info.

First, activate it in account settings by logging on through the web portal at https://www.gmx.com/. To do that:

  1. Log in
  2. Go to email tab
  3. Click ‘Settings’ — bottom left of screen, at least on my version
  4. Click POP3 & IMAP on the menu on the left
  5. Check ‘Enable access to this account via POP3 and IMAP’ and hit ‘Save’

Open https://support.gmx.com/pop-imap/imap/index.html in another tab, and:

  1. Go to IMAP Server Data
  2. Keep this window open
  3. Open Alpine

Now, I have Alpine set up to send from Gmail, so I am only going to set up the extra collection. Other posts and resources on the internet talk about sending email from Alpine. This post includes some settings in the Config menu that you should use.

  1. In Alpine main menu, go (S)etup then co(L)lections then (A)dd collection
  2. Nickname — GMX, most likely
  3. Server details from the page we opened above — this is the incoming server: imap.gmx.com/ssl/user=username@gmx.com
  4. Hit Enter — it should ask for your password; it may or may ask if you want it saved, depending on whether you’ve set Alpine up to do so
  5. Leave other fields blank
  6. Ctrl+x to save, y to exit and save changes
  7. Use $ to shuffle collection order
  8. Exit to main menu
  9. Go to folder (L)ist
  10. Choose the mail account and folder you want and bingo!

Not bad.

Note that this only sets up to read email from GMX. If I go to send and email or reply to one in the GMX folder, Alpine uses the defined sending server, which I have set up to be Gmail. This can be overcome by using profiles, which I can’t be bothered with. If and when I set that up, that will be another post.

 

Another post