Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

Configuring service e-mail from unattended appliance

$
0
0
I am installing Debian on an unattended appliance,and am using the unattended-upgrades and apt-listchanges packages to ensure the system keeps up with security updates.
It is a headless installation of Debian, with a minimal package footprint (for a Raspberry Pi).
The unattended-upgrades service wants to be able to send e-mail updates, and I want to configure it to be able to send that mail to my external e-mail address (google).

From this page it seems I need to enable an MTA, and I chose the default exim4 and followed the instructions on that page.
I also updated /etc/email-addresses to specify my external e-mail address for root user.

I tried using both sendmail and mail on the command line to generate test e-mails to my google email address like here

But it doesn't seem to be working. I don't see any errors in journalctl but I'm not getting any e-mails, even in spam folders.

What's the best way to validate and diagnose my e-mail configuration?

Statistics: Posted by bobdrad — 2024-05-30 20:24 — Replies 0 — Views 30



Viewing all articles
Browse latest Browse all 3423

Trending Articles