- C++ 49.6%
- Ada 40.7%
- C 7.7%
- Shell 1.2%
- Python 0.5%
- Other 0.3%
|
All checks were successful
continuous-integration/drone/tag Build is passing
litehtml placed a middle- or bottom-aligned cell's content from the height of its in-flow children only, so a float nested in a block was pushed down over the next row (Quora digests, WordPress footers). apply_vertical_align now counts those floats; VERSION lists the change. |
||
|---|---|---|
| changelog | ||
| icons | ||
| packaging | ||
| src | ||
| tests | ||
| third_party/litehtml | ||
| tools | ||
| .drone.yml | ||
| .gitignore | ||
| grumpydove.gpr | ||
| LICENSE.md | ||
| Makefile | ||
| README.md | ||
GrumpyDove
A mail client in the manner of Eudora Pro for Windows, written in Ada and Qt 6.
Mailboxes are Maildir folders under ~/Mail. It reads and writes IMAP
or JMAP, sends with SMTP or JMAP, keeps CardDAV address books, signs and encrypts with
OpenPGP or S/MIME (through gpgsm), checks spelling with Hunspell, and
shows HTML mail without scripts or remote styles, remote images only when
asked.
To enjoy the whole program, have bogofilter installed: the junk mail
filter and the filters that file your mail rest on it, and without it
both stay off. The packages pull it in; if you build GrumpyDove yourself,
install it as well.
This is a release candidate: version 1.0.0-rc24.
Getting a package
Ready-made packages for Debian 13, Ubuntu 24.04 and Fedora 45 are on the releases page:
sudo apt install ./grumpydove_*_debian13_amd64.deb # or the ubuntu24.04 one
sudo dnf install ./grumpydove-*.fc45.x86_64.rpm
On any other Linux for x86_64 as new as Debian 12 (2023), such as Arch, openSUSE or Linux Mint, take the AppImage from the same page: one file, with Qt and bogofilter inside, that runs without installing anything but GnuPG, which you already have for your keys:
chmod +x grumpydove-*-x86_64.AppImage
./grumpydove-*-x86_64.AppImage
Your system's own bogofilter, if it has one, is preferred to the one inside, so the word lists keep their format.
Otherwise build the package on the machine that will use it, which takes a few minutes. A package fits the release it was built on, so build it on the same Debian, Ubuntu or Fedora where you will install it.
Building
What building needs
On Debian and Ubuntu:
sudo apt install gnat gprbuild g++ make dpkg-dev binutils qt6-base-dev \
libetpan-dev libgpgme-dev libcurl4-gnutls-dev libgnutls28-dev \
libxml2-dev libhunspell-dev libjansson-dev
On Fedora:
sudo dnf install gcc-gnat gprbuild gcc-c++ make rpm-build binutils \
qt6-qtbase-devel libetpan-devel gpgme-devel libcurl-devel \
gnutls-devel libxml2-devel hunspell-devel jansson-devel
That is: the GNAT Ada compiler with gprbuild, a C++ compiler, Qt 6 (Core, DBus,
Gui, Widgets, PrintSupport), libetpan for IMAP, gpgme for OpenPGP and
S/MIME, libcurl with GnuTLS for SMTP, JMAP and CardDAV, GnuTLS, libxml2,
Hunspell and jansson for JMAP's JSON. litehtml, which shows HTML mail, comes with the sources in
third_party, at the upstream commit its VERSION file names, with the one fix
that file lists; it moves only with a release of GrumpyDove. With these installed, make builds bin/grumpydove,
which runs from where it is.
At run time it also wants gnupg and bogofilter (junk mail and
filters), both required, and, if you want them, pinentry-qt, gpgsm
(S/MIME), a Hunspell dictionary and, on Wayland, qt6-wayland
(qt6-qtwayland on Fedora); the packages pull them in.
make deb and make rpm install the packages above by themselves with
apt or dnf, asking for your password through sudo.
Debian and Ubuntu
sudo apt install git make
git clone https://git.keinpfusch.net/loweel/grumpydove.git
cd grumpydove
make deb
sudo apt install ./bin/grumpydove_*.deb
Fedora
sudo dnf install git make
git clone https://git.keinpfusch.net/loweel/grumpydove.git
cd grumpydove
make rpm
sudo dnf install ./bin/grumpydove-*.rpm
A package made once can be copied to other machines running the same release and installed there with the same last command.
The AppImage
make appimage, on Debian 12, makes bin/grumpydove-<version>-x86_64.AppImage
with linuxdeploy and appimagetool, which it downloads at fixed versions
and checks. Built on a newer system, it runs only on systems as new.
Void Linux
There is no package for Void, but the program builds and runs there. Void has every library and the Ada compiler, not gprbuild, which is made first from AdaCore's sources:
sudo xbps-install -S gcc-ada make git qt6-base-devel libetpan-devel \
gpgme-devel libcurl-devel gnutls-devel libxml2-devel hunspell-devel \
jansson-devel gnupg bogofilter
for r in gprbuild xmlada gprconfig_kb; do
git clone --depth 1 --branch v25.0.0 https://github.com/AdaCore/$r.git
done
(cd gprbuild && ./bootstrap.sh --with-xmlada=../xmlada \
--with-kb=../gprconfig_kb --prefix=$HOME/.local)
export PATH=$HOME/.local/bin:$PATH
git clone https://git.keinpfusch.net/loweel/grumpydove.git
cd grumpydove
make
make desktop
bin/grumpydove runs from where it is; make desktop puts it in your
applications menu.
Running
Start GrumpyDove from the applications menu, or with grumpydove in a
terminal.
Account passwords are kept in a file encrypted to your own PGP key, the one for your own address, so you need it before adding an account. If you have none, make it with PGP > Generate Key Pair... or with:
gpg --full-generate-key
Mail lives in ~/Mail, the log in ~/.local/state/GrumpyDove/grumpydove.log.
File > Import copies the mail of Thunderbird, found by itself, or of mbox files, Maildirs and Eudora folders into new mailboxes under Local > Imported, and vCard files into the Address Book; the originals stay as they are.
The mailboxes open when you exit open again at the next start, each where it was and at its size, maximized if it was, the one on top on top; the main window too comes back where it was.
Local mail, the system's mailbox for you (/var/mail/ and your user
name, where programs on this machine deliver), comes into Local > In at
each Check Mail, with or without a personality: it is locked as mail
programs lock it, its messages placed in ~/Mail, then emptied.
A personality's incoming server is IMAP or JMAP (its Configuration, in Tools > Personalities). For JMAP the server is a host name, or the https address of the server's JMAP session, and mail goes out through that server too, with no SMTP. Leave the login name empty to use the password as an API token, as Fastmail's.
A personality may have no incoming server: it only sends, Check Mail
passes it by. Its outgoing server's Encryption may then be None (this
machine only), plain SMTP to a server on 127.0.0.1, ::1 or
localhost, such as a local relay or mordor's
127.0.0.1:2525; any other server is refused, so nothing goes in the clear
over a network.
Junk mail is filtered with bogofilter (Tools > Options > Junk Mail, off
at first): what arrives in an account's In is scored, the score shown in
the Junk column, and junk goes to the account's junk mailbox on the
server. It learns from that mailbox and from the messages read in In, and
from Message > Junk and Not Junk; its word list is in
~/.local/share/GrumpyDove/bogofilter.
Filters have no rules to write: they learn by watching you, with bogofilter too (Tools > Filters > Active, on at first). At first you file your mail by hand, moving messages from In into your mailboxes as you always did. Each mailbox learns from the messages you keep in it: what they are about, who sends them, the words they use. Once a mailbox has learnt enough, new mail like its messages goes there by itself, as you would have moved it; so the program files more and more of your mail, imitating you. Enough is ten messages: a mailbox takes part once it holds at least ten of its own, and the account has at least ten elsewhere (in its other mailboxes, or read in In) to tell it what is not its own. Make a mailbox, move ten messages into it by hand, and from the next one on it fills itself. It acts only when it is sure: while it has learnt too little, or when a message is like two mailboxes or none, the message stays in In for you to file, and filing it teaches the program again. Moving a message it filed somewhere else corrects it too.
It files only into the subscribed mailboxes of the account the message
came to, on the same server, never into In, Out, Sent, Drafts, Junk or
Trash. Tools > Filter Report shows each move, with Undo; Special > Filter
Messages, or a mailbox's context menu, files messages already there. The
word lists are in ~/.local/share/GrumpyDove/filing.
The Address Book takes nicknames and groups, as Eudora's did: a nickname written in To, Cc or Bcc becomes its addresses when the message is queued, and the entries on the Recipient List are at hand in Message > New Message To, Forward To, Redirect To and Edit > Insert Recipient.
The tool windows, Mailboxes, Personalities, Task Status, Filter Report and the Address Book, are Wazoo windows as Eudora's were. They live in groups: a group is one window of tabs, one per tool, and it is the group that is docked on a side of the main window, floats, or is an ordinary window inside the main one. Right-click a title bar or a tab for Eudora's menu: Docked, Floating, MDI Child and Hide act on the whole group, Tab Location chooses where its tabs go, and Show Single Tab whether a group of one tool shows its tab. Drag a tab onto another group's tab or window and the tool joins it; along its own tabs, it moves among them; onto the free part of the main window's area or onto the status bar, it becomes a window of its own. A group left with no tool goes. Closing a group hides all its tools; the Tools menu brings each back where it was. The groups are kept from one run to the next. The first arrangement is Eudora 7's: Mailboxes, File Browser, Stationery, Signatures and Personalities docked on the left, Task Status and Task Errors docked at the bottom with their tabs on the left, the Address Book, Filter Report and Link History as tabs of one window inside the main one.
Message > Change > Status sets a message's status by hand, as Eudora's: Unread, Read, Replied or Forwarded for a message received; Queued, Unsendable (kept as a draft) or Sent for one written here, in Out. The two kinds never mix: a message received cannot be queued, so it can never be sent by mistake, and a message being sent is left as it is. Read and Unread reach the server too; Replied and Forwarded stay here.
Content Concentrator, as Eudora's (Tools > Options > Viewing Mail), shows in the preview pane only what the writer added: the quotation with its "wrote:" line, and the signature, each become one line telling how many lines were there. The message itself is not changed, and its window shows it whole.
MoodWatch is Eudora's too (Tools > Options > MoodWatch): before a message
is queued it reads how it may be read, from calm to a flame (0 to 3),
from words that wound, in English and Italian, and from shouting in
capitals or with runs of !; from the level you choose it asks first.
Quoted lines and the signature are not yours and do not count. Message >
Mood tells the reading of any message, written or received.
Tools > Options > BossWatch is Eudora's: before a message is queued, it
asks when the message goes to an address on your BossWatch list, outside
the domains you name, inside the ones you watch, to more recipients than
you allow, or is a Reply to All, as you choose. Tools > Statistics counts
by day what came, went, was replied to, forwarded, redirected and
deleted, for today, the last week, the month, the year and since the
start; the counts stay in ~/.local/share/GrumpyDove/statistics.ini.
Mailbox > New... and Transfer > New... make a mailbox (or, from Mailbox, a folder) wherever you choose; from Transfer, the messages chosen go into it. Message > Reply to All With replies to everyone with a stationery. Window has Eudora's Tile Horizontal and Tile Vertical, Arrange Icons for the minimized windows and Send to Back. Help has Tip of the Day (also at start, until you turn it off), Report a Bug and Insert System Configuration, which writes GrumpyDove's version, Qt's and the system's into the message being written.
Link History (Tools > Link History, a tab beside the Address Book) keeps
the web addresses you opened from GrumpyDove, newest first, at most 500:
double-click one to open it again, after the same question as any link;
right-click for Copy Address, Delete and Clear All. It stays on this
machine, in ~/.local/share/GrumpyDove/link-history.tsv.
The File Browser (Tools > File Browser, a tab beside Mailboxes) shows the files of your home folder: double-click a text file to open it in a text window, any other to open it with the desktop's program once you agree; right-click one to attach it to the message being written. File > New Text File and Open File make the same text windows, which File > Save writes back, asking before a window with changes closes. File > Print Setup chooses the printer and the page for Print and for Print One, which prints at once, without asking.
Edit > Find > Find Messages looks through the mailboxes, a folder taking in every mailbox inside it, with one or two conditions on From, To, Cc, Subject, the body or anywhere. Its Save Search keeps the conditions and the place by a name, and Edit > Find > Find Messages Using runs one again (or deletes it). Search Mailbox and Search Mailfolder look for the text chosen in the mailbox in front, or in the folder that holds it; Search Web looks for it on the web, once you agree to the address.
Deleting moves a message to Trash, and GrumpyDove notes where it came
from: Message > Undelete puts the messages chosen in Trash back there.
Special > Purge Messages removes the ones chosen in Trash for good, as
Empty Trash removes them all. Special > Compact Mailboxes is Eudora's, for
Maildir: there are no gaps to close, so it removes what a program that
died left half-written in a mailbox's tmp/ for more than 36 hours.
Special > Forget Passwords takes the personalities' passwords out of
memory and makes gpg-agent forget the passphrase of the accounts file:
the next task that needs them asks for it again.
Message > Change > Queueing chooses when queued messages go, as Eudora's: with the next Send Queued, or on or after a date and time. A message queued for later stays in Out through every Send Queued until its time; then, while GrumpyDove is open and online, it goes by itself, alone, within the minute. The time is kept in a private header that never goes out.
Task Errors (Tools > Task Errors) keeps what went wrong in the background, checking mail, sending, the address books: when, in which task, about what, and why, until you delete it (right-click: Copy, Delete, Clear All). It comes to the front when something fails, unless Tools > Options > Background Tasks says otherwise.
A message may be written with styles, from the formatting toolbar or Edit
Text: fonts, sizes, colours, alignment, indents, bulleted lists, links and horizontal lines. A styled message goes out as plain text and HTML together, or as one of them (Tools > Options > Styled Text); one without styles goes as plain text, as always. A reply to a styled message quotes it as an excerpt with a bar, as Eudora did. Images never come in, neither pasted nor quoted, and none go out. The Alternate signature may have styles too.
Edit > Text also has Eudora's Strikeout, Plain (the styles of the text
chosen go), Last Text Color, Margins > Normal, Add and Remove Quote Level
(the > of a quotation, one level at a time) and Format Painter: the
first time it takes the styles where the cursor is, the second gives them
to the text chosen. Edit > Insert > Emoticon puts in a face, as a Unicode
character every program shows. Edit > Clear removes the text chosen
without the clipboard. Edit > Finish Address Book Entry (Ctrl+,), on a
To, Cc or Bcc line, completes the name begun there into its address book
entry, or tells the entries it could be. Eudora's Insert Picture is not
here: GrumpyDove sends no images.
Signatures are as many as you like, each with its name, in the Signatures window (Tools > Signatures, a tab beside Mailboxes): double-click one to write it, right-click for New, Rename and Delete. Standard and Alternate are always there; the others may have styles, as Alternate. A message being written chooses among all of them, and so does Tools > Options > Composing Mail for new ones.
Stationery is a message kept to start others from: File > Save As Stationery keeps the one being written, styles and all. The Stationery window (Tools > Stationery, a tab beside Mailboxes) lists them: double-click one for a new message with it; right-click for Reply With, New, Edit (File > Save As Stationery keeps the changes, its name already there), Rename and Delete. Message > New Message With and Reply With list them too, and Tools > Options > Composing Mail may make one the default for every new message.
The Themes menu chooses the Qt style (Windows, Fusion...). Themes > Style
Sheets lays a Qt style sheet over it: any .qss file under
~/.local/share/GrumpyDove/themes/, its subfolders as submenus; None
takes it away. GrumpyDove ships none: collections of .qss files made
for Qt or PyQt applications work as they are. Whatever the style or the
sheet, mail itself is read black on a white page, as it is written for one.
Tools > Options holds the settings, as Eudora's did. S/MIME needs gpgsm
and your certificate imported through PGP > Keys > Import (a .p12
file); spelling needs a Hunspell dictionary, such as hunspell-it or
hunspell-en-us.
Removing
sudo apt remove grumpydove # Debian
sudo dnf remove grumpydove # Fedora
Your mail in ~/Mail and your settings in ~/.local/share/GrumpyDove
stay where they are.
Licence
GrumpyDove is licensed under the EUPL 1.2 (LICENSE.md), except:
icons/, the classic bitmaps from the released Eudora sources: BSD 3-Clause, © Computer History Museum (icons/LICENSE);icons/Gear.png, the Options button: from one of the 1990s newsstand CD-ROMs full of free software for Linux and Windows, author and licence unknown;third_party/litehtml: BSD 3-Clause, with gumbo under the Apache License 2.0 (theirLICENSEfiles).