In fairness, it is not "just booting". The screenshot shows exim and an unattended-upgrades script started up.
The world has still yet to shake the idea that every single server in the normal case needs a standalone, monolithic, local queue/delivery, mail system running; it seems.
I wonder why systemd-timesyncd has a larger VIRT value than anything else there.
@r1y Self-hosting e-mail just needs #exim and #dovecot, both of which are services directly configurable in #guix. The hard part is establishing a new address, and decommissioning the old one.
I've got this exact set-up myself, and give every organization that needs e-mail contact with me a unique, hard to guess, address. But I don't generally advertise myself as available by e-mail, and insist on contact through https://khleedril.org/dale-mellor/contact.
Configure nullmailer with a relay host
If you wish to receive status updates from your Debian or Ubuntu system, you need to install and configure a mail transfer agent (MTA). nullmailer is a relay-only forwarding MTA that can be used as an alternative to more complex MTAs, such as Exim, Sendmail or Postfix.
A relay host, also referred to as a smarthost, can be defined as an email server for outgoing mail that is being afforded a good reputation by its peers. In this example, we use Fastmail because email deliverability depends on a number of different factors.
Configuration of nullmailer with Email Service Providers (ESPs) other than Fastmail should be similar, given that all ESPs implement the Simple Mail Transfer Protocol (SMTP).
Step 1
Generate an app password
Log into your Fastmail account and set up a new app password for SMTP authentication.
Create an alias
Set up a dedicated Fastmail alias to receive incoming messages.
Step 2
Use copy and paste to enter the following commands. Be careful not to miss any punctuation.
Create the new directory /etc/nullmailer and the file /etc/nullmailer/adminaddr.
The Fastmail alias you created in Step 1 should be the only entry in /etc/nullmailer/adminaddr.
Step 3
Install the required packages.
$ sudo apt-get install --yes nullmailer mailutilsStep 4
Enter the system mailname. If you are setting up on a home network, you should use home.arpa as the domain name.
Configuring the smarthost
Configure nullmailer to use the Fastmail SMTP server as a smarthost. Use your Fastmail username and the app password from Step 1.
Step 5
Test your configuration with the following command.
$ echo "Test mail from nullmailer on tux.home.arpa to the local root user and forwarded on to Fastmail" | mail -s "Test nullmailer" rootCheck your inbox!
Step 6
You can reconfigure nullmailer at any time by issuing the following comand.
#debian #email #exim #fastmail #howto #internet #linux #linuxmint #postfix #raspberrypi #rpi #sendmail #smtp #ubuntu
Configure nullmailer with a relay host
If you wish to receive status updates from your Debian or Ubuntu system, you need to install and configure a mail tansfer agent (MTA). nullmailer is a relay-only forwarding MTA that can be used as an alternative to more complex MTAs, such as Exim, Sendmail or Postfix.
In this example, the hostname is debian, the local username bookworm and the Fastmail username linus.torvalds@fastmail.com.
Step 1
Because email deliverability depends on a multitude of factors, we use Fastmail as a relay host.
1) log into your Fastmail account and set up a new app password for SMTP authentication
2) set up a new Fastmail alias to receive incoming messages. In this example, we use target.email@fastmail.com
Step 2
Create the new directory /etc/nullmailer and the file /etc/nullmailer/adminaddr.
The Fastmail alias is the only entry in /etc/nullmailer/adminaddr.
Step 3
Install the required packages.
$ sudo apt-get install --yes nullmailer mailutilsStep 4
Set the system mail name. If you are setting up on a home network, you should use home.arpa as the domain name.
Configuring the smarthost
Set the Fastmail server as the smarthost. Use the app password you set in Step 1.
Configuring nullmailerSmarthosts:smtp.fastmail.com smtp --port=587 --auth-login --starttls --user=linus.torvalds@fastmail.com --pass=passwordOkStep 5
Test your configuration with the following command.
$ echo "Test mail from nullmailer on debian.home.arpa to the local root user and forwarded on to Fastmail" | mail -s "Test nullmailer" rootCheck your inbox!
Step 6
You can reconfigure nullmailer at any time by using the following comand.
#bookworm #debian #email #exim #fastmail #howto #internet #linux #postfix #sendmail #smtp #ubuntu
@odc Local deliveries are problematic in general. The details of how #Exim deals with root privilege can be found here:
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-security_considerations.html