• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

"failure notice" email to root@hostname.hostname

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 root@X1234.X1234 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!

<anonymous@X1234.X1234>:
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: anonymous@X1234.X1234
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.

<root@X1234.X1234>:
Sorry, I couldn't find any host named X1234.X1234. (#5.1.2)

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

Return-Path: <anonymous@X1234.X1234>
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: root@X1234.X1234
To: root@X1234.X1234
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