1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How can I make my email work again after upgrade from 9.0.1?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Robert Earls, Oct 24, 2009.

  1. Robert Earls

    Robert Earls Guest

    0
     
    I was on 9.0.1, now I'm on 9.2.3

    I believe I was using qmail on 9.0.1. As part of the upgrade it was automatically changed to postfix. But something seems to have gone wrong as I now dont seem to get any emails from my server..

    e.g.

    This email does not come through, even to my spam box.

    Can anyone help me get postfix working, or disable it and re-enable qmail?
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Take a look at /usr/local/psa/var/log/maillog when you send a message, that should report whatever the problem is that is preventing the delivery.

    How did you upgrade to 9.2.3? Using yum?
     
  3. trialotto

    trialotto Golden Pleskian Plesk Guru

    37
     
    Joined:
    Sep 28, 2009
    Messages:
    1,446
    Likes Received:
    206
    Robert,

    Changing to qmail is easy, follow (first read the installation note below):

    1 - Go to /usr/local/psa/admin/sbin
    2 - run autoinstaller (command: ./autoinstaller)
    3 - follow the steps in the install procedure and select "Qmail Mail Server" and proceed
    4 - Qmail is then installed, verify it

    Some additional steps, due to bugs in the qmail from 9.2.x:
    5 - go to /var/qmail/control and verify that the contents of the files local and me contain the <localhost>.<localdomainName>.tld format, since there should be a FQDN over there and not a <localhost> short name. If not, change the files.
    6 - go to /var/qmail/control and:
    a) make a copy of qmail-local
    b) run command: chown mhandlers-user:popuser qmail-local
    c) run command: chmod g+s qmail-local and command: chmod g-r,o-r qmail-local
    (verify that you have: -r-x--s--x 1 mhandlers-user popuser 78584 Oct 9 13:26 qmail-local )
    7 - if necessary apply the custom tweeks from your previous qmail installation
    8 - restart qmail with command: service qmail restart

    This should suffice to get back to qmail, with a proper working basic installation of qmail.

    INSTALLATION NOTE: if you had some custom configuration in your old qmail, those custom files are likely to be present, even after changing to postfix. If true, track them down and make copies of them.
     
  4. Robert Earls

    Robert Earls Guest

    0
     
    I updated using.....

    wget -q -O - http://www.atomicorp.com/installers/atomic |sh
    yum update

    My installation was pretty standard, so there were not other problems I care about (Mailman didn't seem to update correctly)
     
  5. Robert Earls

    Robert Earls Guest

    0
     
    Trialotto,

    Thanks for that. Could I just check I need to do all that? Right now I have re-started qmail.....

    /etc/init.d/qmail start

    And mail seems to be coming through OK. But obviously I dont want postfix running at the same time and I need qmail to restart with teh server.
     
  6. trialotto

    trialotto Golden Pleskian Plesk Guru

    37
     
    Joined:
    Sep 28, 2009
    Messages:
    1,446
    Likes Received:
    206
    Excuse me,

    step 6b should contain mhandlers-user : popuser instead of the ridiculous smiley ...
     
  7. Robert Earls

    Robert Earls Guest

    0
     
    While waiting for the questions and answers to be moderated I did a more intensive search and found the answer to my problem

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

    Thanks for all the useful replies!!
     
Loading...