
On 2023-12-22 14:44, Giles Orr via talk wrote:
... I find I have a lot of mail generated by cron and the like on several local machines, and I'd like to A) centralize that mail on a local server, and B) be able to view that with Thunderbird. Platform is Debian. It's not my intention to handle my Gmail or anything like that: this is meant exclusively for handling mail from local computers. Which would also mean the ability to send mail isn't important.
Exim4 would be the right solution on whichever host you designate your mailserver. Enable listening on port 25 on your LAN, making absolutely sure spammers can't get at it, and disable relaying. Choose some local domain and tell exim to accept mail for that, and alias root and all the other usual system users to your own userid. Verify you get any mail it handles for root at local domain. (I use mutt directly on the mailserver, but setting up something like Courier IMAP to permit Thunderbird on your workstation to access your inbox should be somewhere near straightforward.) Then on the other hosts, apt install nullmailer and give it a config with the site's local domain to tack onto usernames and the hostname of your mailserver to which to punt the mail. You should see a test-o-gram arrive in your inbox, and if not both hosts should say something in their logs. Anthony