[exim] I: CentOs 6.8 - Exim 4.72 unable to send email to the…

Góra strony
Delete this message
Reply to this message
Autor: Marco
Data:  
Dla: exim-users@exim.org
Stare tematy: [exim] CentOs 6.8 - Exim 4.72 unable to send emailto the root user. Exim error: ** root@: mail domain“” is syntactically invalid
Temat: [exim] I: CentOs 6.8 - Exim 4.72 unable to send email to the root user. Exim error: ** root@: mail domain “” is syntactically invalid



I AM on CentOs 6.8 with RedHat Exim 4.72

I AM using CSF Firewall also who set a CronJob for do auto updates.

When an update of CSF is available an email with the update Cron info is sent to the root address but this generate all time a Delivery Status Notification.
Not only CSF do this also if other app do a Cron and there are issue or need send alert to root user this generate Delivery Status Notification.Seems like the system are unable to send email to the root user.The email report this:This message was created automatically by mail delivery software.A message that you sent could not be delivered to one or more of itsrecipients. This is a permanent error. The following address(es) failed:root@The Exim Log says:** root@: mail domain "" is syntactically invalid In etc/aliases I serroot: myemailaddress@??? saved and newaliases done but this is not working the issue persist. I have also tried .forward file inside root folder, nothing the issue persist.I cannot understand why this is happening.The SSH command: echo test | mail -v -s "test message" rootgenerate also Delivery Status Notification[root@domain etc]# echo test | mail -v -s "test message" root
Loading lookup modules from /usr/lib64/exim/4.72-8.el6/lookups
Loaded 0 lookup modules
LOG: MAIN
<= root@??? U=root P=local S=458
[root@domain etc]# Loading lookup modules from /usr/lib64/exim/4.72-8.el6/lookups
Loaded 0 lookup modules
delivering 1bO9gE-0006iU-2t
LOG: MAIN
** root@: mail domain "" is syntactically invalid
Loading lookup modules from /usr/lib64/exim/4.72-8.el6/lookups
Loaded 0 lookup modules
LOG: MAIN
What can be the issue, how I can resolve?
Thank you!