Posts by fulltilt

    Debian 8.6
    PHP FCGID
    IMSCP 1.3.8


    Currently we have many attacks on wordpress installations ...
    so I would like to disable php exec for the wp-upload folder and joomla images folder.
    does it work w/ apache 2.4 in this way?

    Happy New Year!


    Debian 8.6
    PHP FCGID
    IMSCP 1.3.8


    If I want to add some extra disable_function entries (apache only), is it enough to place these into the global php.ini?
    /etc/php5/cgi and fpm


    Regards

    Today my jacket was stolen incl a USB stick w/ the server passwords ...
    I have already changed all the other passwords, I do not want to damage anything here w/ mysql root pw changing
    so it's really urgent ;-)
    Thank you for a quick response

    it seems that I had imported many zombie entrys with my older ispcp databse migration ...
    many diskquota and mail_quota records where not equivalent or not valid and I this could be the reason for the strange calculation results.
    I have fixed ALL my records and now it works properly ;-)

    Now, I've got it!
    I wanted to set diskquota and mail_quota equivalent,
    my mistake, I have not exactly looked after ...
    I thought it was in the mail_user table but your query was very helpful!

    SQL
    1. UPDATE domain set mail_quota = (domain_disk_limit * 1048576) WHERE domain_disk_limit <> '0';

    I have also repaired some other faulty stuff


    SQL
    1. UPDATE mail_users set quota = NULL WHERE mail_pass = '_no_';
    2. UPDATE reseller_props set php_ini_max_post_max_size = '20';
    3. UPDATE reseller_props set php_ini_max_upload_max_filesize = '19';
    4. UPDATE php_ini set post_max_size = '20';
    5. UPDATE php_ini set upload_max_filesize = '19';
    6. UPDATE user_gui_props set layout = 'default' WHERE user_id <> '1';
    7. UPDATE domain set web_folder_protection = 'no';

    IMSCP: 1.3.8
    Debian 8.6
    PHP FCGID
    Postfix / Courier


    It seems there is a miscalculation in email quota ...
    more precisely in "Edit mail account" function


    New Test Account: 2000 MB
    Disk Usage: 0.00% [0.00 B of 1.95 GiB]
    Email quota 500.00 MiB / 1.95 GiB


    add a new email account shows: (not added just display the quota)
    Quota in MiB (Max: 1500.00 MiB)


    and Edit mail account shows:
    Quota in MiB (Max: 1750.00 MiB)


    ### edit ###
    another example w/ a real mail account and used space:


    Disk Usage: 46.70% [934.01 MiB of 1.95 GiB]
    Email Quota 1.95 GiB / 1.95 GiB
    Email: Usage: 407.56 MiB


    this user have 4 email acc.
    119.15 MiB / 250.00 MiB of 1.95 GiB
    7.23 MiB / 250.00 MiB of 1.95 GiB
    12.00 kiB / 150.00 MiB of 1.95 GiB
    279.55 MiB / 350.00 MiB of 1.95 GiB


    edit the mail account w/ 279.55 MiB shows:
    Quota in MB (Max: 350.00 MiB)



    Regards