• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue Remove Qmail

KAEL

New Pleskian
Server operating system version
ubuntu 24.02
Plesk version and microupdate number
18.0.70-2
removing qmail didn't uninstall all files:

The permissions on some of the files packaged by Plesk are incorrect[ERROR]
- WARNING: Group 'nofiles' not found. Skipping.
WARNING: Group 'nofiles' not found. Skipping.
WARNING: Group 'qmail' not found. Skipping.
WARNING: Group 'qmail' not found. Skipping.
WARNING: Group 'qmail' not found. Skipping.
WARNING: Group 'qmail' not found. Skipping.
Incorrect group of /var/lib/plesk/mail/auth. Expected: nofiles
(). Actual: 2020 (2020).
Incorrect group of /var/lib/plesk/mail/poplock. Expected:
nofiles (). Actual: 2020 (2020).
Incorrect group of /var/qmail/control. Expected: qmail ().
Actual: root (0).
The file /var/qmail/mailnames/.quotawarnmsg was not found.
The file /var/qmail/popuser was not found.
Incorrect group of /var/qmail/alias. Expected: qmail ().
Actual: 2520 (2520).
Incorrect group of /var/qmail/boot. Expected: qmail (). Actual:
2520 (2520).
The file /var/qmail/boot/binm1 was not found.
The file /var/qmail/boot/binm1+df was not found.
The file /var/qmail/boot/binm2 was not found.
The file /var/qmail/boot/binm2+df was not found.
The file /var/qmail/boot/binm3 was not found.
The file /var/qmail/boot/binm3+df was not found.
The file /var/qmail/boot/home was not found.
The file /var/qmail/boot/home+df was not found.
The file /var/qmail/boot/proc was not found.
The file /var/qmail/boot/proc+df was not found.
Incorrect group of /var/qmail/users. Expected: qmail ().
Actual: 2520 (2520).

Repair incorecct permissions didn't work. Install and uninstall show the same result
 
see this

Before doing any thing related to qmail queue you need to stop the qmail service using the following command

#/etc/init.d/qmail stop

To delete mails from Que,

#qmail-remove -r -p

# qmail-remove -r -p gtre.ac.net
324001: yes

moved mess/0/324001 to yanked/324001.mess

moved remote/0/324001 to yanked/324001.remote

moved info/0/324001 to yanked/324001.info
324024: yes

moved mess/0/324024 to yanked/324024.mess

moved remote/0/324024 to yanked/324024.remote

moved info/0/324024 to yanked/324024.info

This will remove all emails in que with .gtre.ac.net. in it and place it in /var/qmail/queue/yanked folder.

 
That didn't work. I have already repair the plek installation - no errors. But repair fs -verbose show still the same errors.
 
@KAEL , I was able to replicate the behavior and I am currently consulting with our team about this case. I will follow up with more details.
 
@KAEL We have an existing bug with id PPPM-14983 and our team is currently working on it. I cannot provide an exact ETA at this point, but I believe the fix will be released relatively soon. You can monitor the changelog here. In the meantime, the workaround we can suggest is running:

dpkg --purge $(dpkg -l | awk '/^rc/ { print $2 }')

That will purge the leftover packages.
 
When you say 'removing qmail', do you mean replacing it with postfix? I wasn't aware that it was possible to completely remove all MTAs from a Plesk install. My understanding was that you must either have qmail or postfix installed?
 
Back
Top