• 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

Qmail bounced

I

IvanoD

Guest
After upgrade Plesk to 9.2.3, I'm receving ever 5 min this mail:


----------------------------------------------------------------------------
Hi. This is the qmail-send program at jupiter. (jupiter is the name of my server)
I tried to deliver a bounce message to this address, but the bounce bounced!

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

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 20922 invoked for bounce); 24 Oct 2009 08:30:03 +0200
Date: 24 Oct 2009 08:30:03 +0200
From: MAILER-DAEMON@jupiter
To: [email protected]r
Subject: failure notice

Hi. This is the qmail-send program at jupiter.
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 jupiter.jupiter. (#5.1.2)

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

Return-Path: <[email protected]>
Received: (qmail 20888 invoked by uid 72); 24 Oct 2009 08:30:01 +0200
Date: 24 Oct 2009 08:30:01 +0200
Message-ID: <20091024063001.20886.qmail@jupiter>
From: [email protected]r
To: [email protected]r
Subject: Cron <mailman@jupiter> /usr/bin/python -S /usr/lib/mailman/cron/gate_news
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/lib/mailman>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=mailman>
X-Cron-Env: <USER=mailman>

Traceback (most recent call last):
File "/usr/lib/mailman/cron/gate_news", line 43, in <module>
from Mailman import mm_cfg
ImportError: cannot import name mm_cfg
-------------------------------------------------------------------------------------

What can I do to remove this mail from send or correct it?
 
IvanoD,

Usually error like
File "/usr/lib/mailman/cron/gate_news", line 43, in <module>
from Mailman import mm_cfg
ImportError: cannot import name mm_cfg

mean that files

/usr/lib/mailman/Mailman/mm_cfg.pyc
/usr/lib/mailman/Mailman/mm_cfg.py

are missing or corrupted.
So, please make sure that these files are there with following permissions:

-rw-r--r-- 1 root mailman 3656 2008-02-05 22:30 /usr/lib/mailman/Mailman/mm_cfg.py
-rw-r--r-- 2 root mailman 1180 2008-02-05 22:30 /usr/lib/mailman/Mailman/mm_cfg.pyc

(BTW, you can check and fix mailman permissions with '/usr/lib/mailman/bin/check_perms -f')

You can check also integrity of mailman rpm package with 'rpm -V mailman'.
I suggest you reinstall this package if there is any inconsistency.
Update this topic if it not help and I will try to help you again.
 
I had the same problem after upgrading to 9.2.3 (from 9.2.2).

The permissions were wrong, "-rw------- 1 root mailman" for both files after the upgrade. The time stamp was the time of the update. I corrected it manually to "-rw-r--r--" for both files, and the problem was gone.

"/usr/lib/mailman/bin/check_perms -f" didn't fix it for me, btw.

Thanks for the info!
 
Back
Top