• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

prevent .qmail file being overwritten

R

rajank

Guest
I have added a pipe to a script in the .qmail file for a certain mail account. Today i noticed the file had reverted back to what it was before i added my code. How do i prevent the file from be overwritten by plesk?
 
Any time the account is updated via Plesk, the .qmail file will be overwritten, and you will need to edit it by hand to get things working again. It will be overwritten also when you rebuild mail settings with mchk utility.
You can to change the file attributes to immutable with

chattr +i .qmail

but you should remove this flag in cases mentioned above.
 
Is there a file like vhost.conf for the .qmail file that i can edit that doesn't get overwritten?
 
Back
Top