Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Switch Mail Server from Qmail to Postfix and Vice versa  (Read 3483 times)

0 Members and 1 Guest are viewing this topic.

nandulalr

  • Guest
Switch Mail Server from Qmail to Postfix and Vice versa
« on: June 23, 2018, 05:47:52 pm »
We can check currently using MTA from the Services Management page at Home > Services Management:
Code: [Select]
- SMTP Server (Postfix)
- SMTP Server (QMail)

Also, we can  check the MTA using the Plesk utility through the command line:
Code: [Select]
# plesk sbin mailmng-server --features | grep SMTP_Server
or
Code: [Select]
# plesk sbin mailmng-server --features | grep SMTP_Server

MTA can be switched from QMail to Postfix and back using the auto installer script and command line.

Via Plesk UI:
Select QMail or Postfix SMTP server under Mail hosting section in Plesk > Tools & Settings > Updates and Upgrades > Add/Remove Components

Via command line:
- To switch the MTA to Postfix:
Code: [Select]
# plesk installer --select-release-current --install-component postfix
- To switch the MTA to QMail:
Code: [Select]
# plesk installer --select-release-current --install-component qmail

Alternatively, we can change the MTA by running the below command:
Code: [Select]
# plesk installer
Follow instructions and select QMail or Postfix SMTP server under Mail hosting section.

Additional Information
Before switching, it is recommended you wait until all queued emails are delivered and stop the SMTP service to stop receiving emails.