Cannot send local e-mails.
- Date: Wed, 11 Jul 2018 17:46:51 +0200
- From: Piotr <zaxonxp45@xxxxxxxxx>
- Subject: Cannot send local e-mails.
When some process produces an error, then root should receive an e-mail. Instead I gets some error message forwarded to my gmail account (see below). What should I configure to make a local e-mails working?
from: Mail Delivery Subsystem <mailer-daemon@xxxxxxxxxxxxxx>
Subject: Delivery Status Notification (Failure)
** Address not found **
Your message wasn't delivered to firstname.lastname@example.org because the domain localhost.localdomain couldn't be found. Check for typos or unnecessary spaces and try again.
The response was:
DNS Error: 17728931 DNS type 'mx' lookup of localhost.localdomain responded with code NXDOMAIN
Domain name not found: localhost.localdomain