• 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/Postfix help Plesk 9.5.4 Centos 5.1

CruzMark

Regular Pleskian
Okay, so I know this is a longshot, and I know this system is older, and we have a plan for migrating each user to Only, BUT....

my server crashed. I managed to restore it,but mail isn't working correctly for all users. I think it's because it is stuck in a state between postfix and qmail.

qmail and associated processes are running, but when I run the following, it shows Postfix:

/usr/local/psa/admin/sbin/mailmng --features | grep SMTP_Server
$features['SMTP_Server'] = "Postfix";
$features['SMTP_Server_package'] = "postfix";

If I try the old trick of switching back and forth between Postfix and Qmail, all I get is a message that everything is up to date.

Problem is that *some* users can no longer log in via SMTP, and new user accounts don't seem to deliver mail.

Help, please?
 
Have you tried

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

?
 
I've done it using --without-spam, it added folks to the auth db, but isn't switching the SMTP server to qmail.

I'll try the with-spam, though the server is using the 4psa-spamassassin spamd, not the PSA one.
 
It is plesk 9, so I've been running:

/usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component qmail

with following result:

Doing restart of Parallels Installer...
Downloading file products.inf3: 0%
Downloading file products.inf3: 100% was finished.
Downloading file plesk.inf3: 0%
Downloading file plesk.inf3: 100% was finished.
Downloading file ppsmbe.inf3: 0%
Downloading file ppsmbe.inf3: 100% was finished.
Downloading file sitebuilder.inf3: 0%
Downloading file sitebuilder.inf3: 100% was finished.
Downloading file sso.inf3: 0%
Downloading file sso.inf3: 100% was finished.
Downloading file setemplates.inf3: 0%
Downloading file setemplates.inf3: 100% was finished.
Downloading file pp-sitebuilder.inf3: 0%
Downloading file pp-sitebuilder.inf3: 100% was finished.
Downloading file billing.inf3: 0%
Downloading file billing.inf3: 100% was finished.
Downloading file mysql.inf3: 0%
Downloading file mysql.inf3: 100% was finished.
Downloading file apache.inf3: 0%
Downloading file apache.inf3: 100% was finished.
Downloading file nginx.inf3: 0%
Downloading file nginx.inf3: 100% was finished.
Downloading file php72.inf3: 0%
Downloading file php72.inf3: 100% was finished.
Downloading file php71.inf3: 0%
Downloading file php71.inf3: 100% was finished.
Downloading file php70.inf3: 0%
Downloading file php70.inf3: 100% was finished.
Downloading file php56.inf3: 0%
Downloading file php56.inf3: 100% was finished.
Downloading file php55.inf3: 0%
Downloading file php55.inf3: 100% was finished.
Downloading file php54.inf3: 0%
Downloading file php54.inf3: 100% was finished.
Downloading file php53.inf3: 0%
Downloading file php53.inf3: 100% was finished.
Downloading file php52.inf3: 0%
Downloading file php52.inf3: 100% was finished.
Downloading file pmm.inf3: 0%
Downloading file pmm.inf3: 100% was finished.
Checking for installed packages...
Downloading file PSA_9.5.4/plesk-9.5.4-cos5-x86_64.inf3: 0%
Downloading file PSA_9.5.4/plesk-9.5.4-cos5-x86_64.inf3: 100% was finished.
Downloading file PSA_9.5.4/plesk-patches-9.5.4-cos5-x86_64.inf3: 0%
Downloading file PSA_9.5.4/plesk-patches-9.5.4-cos5-x86_64.inf3: 100% was finished.
Detecting installed product components.
Retrieving information about the installed license key...
Retrieving information about the installed packages...
Downloading file PSA_9.5.4/dist-rpm-CentOS-5-x86_64/build-9.5.4-cos5-x86_64.hdr.gz: 0%
Downloading file PSA_9.5.4/dist-rpm-CentOS-5-x86_64/build-9.5.4-cos5-x86_64.hdr.gz: 100% was finished.
Downloading file PSA_9.5.4/update-rpm-CentOS-5-x86_64/update-9.5.4-cos5-x86_64.hdr.gz: 0%
Downloading file PSA_9.5.4/update-rpm-CentOS-5-x86_64/update-9.5.4-cos5-x86_64.hdr.gz: 100% was finished.
Downloading file PSA_9.5.4/thirdparty-rpm-CentOS-5-x86_64/thirdparty-9.5.4-cos5-x86_64.hdr.gz: 0%
Downloading file PSA_9.5.4/thirdparty-rpm-CentOS-5-x86_64/thirdparty-9.5.4-cos5-x86_64.hdr.gz: 100% was finished.
Determining the packages that need to be installed.
You already have the latest version of product(s) and all the selected components
installed. Installation will not continue.
 
Try to remove postfix with something like

/usr/local/psa/admin/sbin/autoinstaller --select-release-current --remove-component postfix
 
I can't do that. I need to move users to Onyx, bur I can't upgrade this to anything because Plesk changed the way accounts were setup. I'll need to migrate 150 client accounts.

Where does /usr/local/psa/admin/sbin/mailmng --features get it's information?
 
Try to remove postfix packages directly with OS package manager.
Find them first with:

# rpm -qa | grep postfix
 
removing postfix and then re-running the autoinstaller may have fixed it. autoinstaller is still running and mail is working for users I know it wasn't working for prior. Thanks for your help.
 
Back
Top