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

Qmail directory structure

Discussion in 'Plesk for Linux - 8.x and Older' started by fercez, Dec 22, 2005.

  1. fercez

    fercez Guest

    I have Plesk v7.5.4_build75051209.14 os_FedoraCore 2

    By mistake I deleted all directories and subdirectories on queue directory (/var/qmail/queue) when trying to rebuild Qmail’s queue

    Because of this mistake I tried to recreate them by doing this:

    /etc/init.d/qmail stop

    cd /var/qmail/queue

    rm -rf info intd local mess remote todo

    mkdir mess

    for i in `seq 0 22`; do
    mkdir mess/$i

    cp -r mess info
    cp -r mess intd
    cp -r mess local
    cp -r mess remote
    cp -r mess todo

    chmod -R 750 mess todo
    chown -R qmailq:qmail mess todo

    chmod -R 700 info intd local remote
    chown -R qmailq:qmail intd
    chown -R qmails:qmail info local remote

    Start Qmail by typing /etc/init.d/qmail start .

    After then, when trying to start Qmail it fails, because still there are directories to create and assign the owner and mode. So, I need to know what directories and files (if apply) I have to create and assign owner and mode.