• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

"failure notice" email to [email protected]

S

schlingel

Guest
I just upgraded from 8.6 to 9.2.3 and everything went smooth (luckily) but now I keep getting email bounces. The weird thing, those Mails are supposed to go to root (cron results and such).

Assume my Hostname is X1234, the emails can't be delivered, as they can be deliverd to [email protected] as the Host X1234.X1234 can't be found. Of course it can't, it doesn't exist, it should be X1234

I checked the hostname settings in Plesk, checked hostname on the shell and checked YAST too, there is the correct hostname everywhere. So does anyone have an idea where this might come from?

Here is one of the emails:
Hi. This is the qmail-send program at X1234.
I tried to deliver a bounce message to this address, but the bounce bounced!

<[email protected]>:
Sorry, I couldn't find any host named X1234.X1234. (#5.1.2)

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 14504 invoked for bounce); 15 Nov 2009 22:37:12 +0100
Date: 15 Nov 2009 22:37:12 +0100
From: MAILER-DAEMON@X1234
To: [email protected]
Subject: failure notice

Hi. This is the qmail-send program at X1234.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[email protected]>:
Sorry, I couldn't find any host named X1234.X1234. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: <[email protected]>
Received: (qmail 14500 invoked by uid 0); 15 Nov 2009 22:37:11 +0100
Date: 15 Nov 2009 22:37:02 +0100
Message-ID: <20091115213702.14418.qmail@X1234>
From: [email protected]
To: [email protected]
Subject: Cron <root@X1234> curl http://www.somedomain.net/cron/fetch_items/
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0
 
Try to check content of /var/qmail/control/locals file.
Try to rebuild mail configuration with

/usr/local/psa/admin/sbin/mchk --with-spam

I hope it will help.
 
Thanks a lot.
After the update, the hostname was incorrect but displayed correctly in the Plesk Interface. So I reset it. run mchk, and restarted Qmail. That solved the problem.

Thanks again for pointing me in the right direction.
 
How to you check the hostname via CLI? I'm having the same issue you had and nothing I've done has been able to resolve the issue.

I'm also getting a few other cron error emails each night which might be caused if the hostname is incorrect.
 
Simply with the command:
hostname
In essence, Changing your Hostname in the Plesk admin interface so something completely different and then back to the real hostname should do the trick.
Dont forget to run mchk, and restart Qmail afterwards
 
Back
Top