Email interface of the Debian bug tracker
The main interface of the Debian bug tracker, at https://bugs.debian.org, is e-mail, and modifications are made to existing bugs by sending an email to an address like 873518@bugs.Debian.org.
The web interface allows to browse bugs, but any addition to the bug itself will require an email client.
This sounds a bit weird in 2025, as http REST clients with Oauth access tokens for command line tools interacting with online resources are today the norm. However we should remember the Debian project goes back to 1993 and the bug tracker software debugs, was released in 1994. REST itself was first introduced in 2000, six years later.
In any case, using an email client to create or modify bug reports is not a bad idea per se:
- the internet mail protocol, SMTP, is a well known and standardized protocol defined in an IETF RFC.
- no need for account creation and authentication, you just need an email address to interact. There is a risk of spam, but in my experience this has been very low. When authentication is needed, Debian Developpers sign their work with their private GPG key.
- you can use the bug tracker using the interface of your choice: webmail, graphical mail clients like Thunderbird or Evolution, text clients like Mutt or Pine, or command line tools like
bts.
A system wide minimal Mail Transfer Agent to send mail
We can configure bts as a SMTP client, with username and password. In SMTP client mode, we would need to enter the SMTP settings from our
mail service provider.
The other option is to configure a Mail Transfer Agent (MTA) which provides a system wide sendmail interface, that all command line and automation tools can use send email. For instance reportbug and git send-email are able to use the sendmail interface.
Why a sendmail interface ? Because sendmail used to be the default MTA of Unix back in the days, thus many programs sending mails expect something which looks like sendmail locally.
A popular, maintained and packaged minimal MTA is msmtp, we are going to use it.
msmtp installation and configuration
Installation is just an apt away:
# apt install msmtp msmtp-mta
# msmtp --version
msmtp version 1.8.23
You can follow this blog post to configure msmtp, including saving your mail account credentials in the Gnome keyring.
Once installed, you can verify that msmtp-mta created a sendmail symlink.
$ ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 12 16 avril 2025 /usr/sbin/sendmail -> ../bin/msmtp
bts, git-send-email and reportbug will pipe their output to /usr/sbin/sendmail and msmtp will send the email in the background.
Testing with with a simple mail client
Debian comes out of the box with a primitive mail client, bsd-mailx that you can use to test your MTA set up.
If you have configured msmtp correctly you send an email to yourself using
$ echo "hello world" | mail -s "my mail subject" user@domain.org
Now you can open bugs for Debian with reportbug, tag them with bts and send git formated patches from the command line with git send-email.
Comprehensive in-game tutorial
There is a large ice flow world, but we are going underground now
Good level design that you have to use to avoid those spiky enemies
The point where I had to pause the game, after missing those flying wigs 15 times in a row