How to install/change a local mail server in Plesk for Linux

Follow

Comments

10 comments

  • Avatar
    Ole

    Is it safe to change the IMAP from Courier to Dovecot (and vice versa) if there are already lots of email accounts on the server? I am concerned, if changing the IMAP/POP3 servers deletes any user data (passwords, configs, etc.) as we have lots of domains with emails on the our plesk server.

    And another question: We like to change from Courier to Dovecot as the new Plesk Obsidian now enables us to select individual SSL/TLS-Certificates for IMAP. On the current state we have told our customers to use our server name (i.e. our-server.com) when connecting via IMAP to their customer domains (i.e. customer-domain.com) and selected a certificate for our-server.com in "tools->ssl-certificates->certificate for email". By this they don't get any certificate warnings. So when we change this now, will the server still use this certificate until we chose a different certificate for the custom-domain.com? That would be good to know, or otherwise we would need to inform our customers in advance of this change.

    0
    Comment actions Permalink
  • Avatar
    George Alibegashvili

    Hello @Ole

    It is safe to switch from Courier to Dovecot, user data will not be affected.
    After switching to dovecot mail server will be secured by certificate from "tools and settings > ssl-certificates > certificate for email" in case mail clients using server name as the mail server.

    1
    Comment actions Permalink
  • Avatar
    Ole

    Thanks George, 

    the switch from Courier to Dovecot mainly worked good, but we still have some issues afterwards:

    * Email folders now have two folders for sent messages: One is named "sent", the other "sent messages". All sent messages prior this change are in "sent messages" and all sent messages after this change are stored in "sent". 

    * The same happened for spam folder: now there are 2 folders: "spam" and "junk"

    * We have difficutlies with special chars in folder names, see https://support.plesk.com/hc/en-us/articles/360010139880?page=1#comment_360000871899

    The rest works good.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Ole

    Thank you for letting us know.

    Talking, about mail folders, you may try merging them, for example, as described here: https://stackoverflow.com/questions/16476944/merging-two-dovecot-maildirs

    Your comment in  https://support.plesk.com/hc/en-us/articles/360010139880 will be checked.

    0
    Comment actions Permalink
  • Avatar
    mw004

    Is it safe to switch to Postfix from Qmail on a Ubuntu server?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @Vasil,

    Yes, usually there're no issues when doing such change.

    Moreover, Postfix provides more functionality like SNI and autodiscovery.

    1
    Comment actions Permalink
  • Avatar
    Adrian Chan

    Hi Is it possible to just install postfix only without any IMAP (Courier/Dovecot)

    I wish to use only certain SMTP features of postfix and will not be hosting any email addresses (no IMAP/POP3 needed)

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Lev Iurev

    @Adrian Chan yes, go to tools&settings > Updates > Add/Remove components > Mail hosting and remove IMAP

    0
    Comment actions Permalink
  • Avatar
    Adrian Chan

    Lev Iurev HI, I've justed install both Postfix/Dovecot and tried to remove Dovecot only, it does not allow me to uninstall Dovecot ONLY.

    "The following components depend on the components you are going to remove or conflict with components you are going to install:

    Postfix

    These components have been selected for removal below. To confirm removal of all additional components, click Continue. To cancel removal or installation of certain components, select the corresponding option from the actions list."

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hi Adrian Chan indeed it is not possible to remove Dovecot as in Plesk it can work in pair with Postfix only. If you need only SMTP you may think about "MSMTP (relay only)" 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request