Dovecot - Quota Warning Message

  • Hi,


    the mail quota warning is misconfigured.


    When a user reach the max quota, the mail received is like this


    Quote


    From: postmaster@{HOST_NAME}
    Subject: i-MSCP Quota Warning


    You are using 95% of the space assigned to your mailbox.


    I think that the script imscp-dovecot-quota.sh does not find the HOST_NAME variable


    Shell-Script
    1. #!/bin/sh
    2. PERCENT=$1
    3. USER=$2
    4. cat << EOF | /usr/lib/dovecot/deliver -d $USER -o "plugin/quota=maildir:User quota:noenforcing"
    5. From: postmaster@{HOST_NAME}
    6. Subject: i-MSCP Quota Warning
    7. You are using $PERCENT% of the space assigned to your mailbox.
    8. EOF


    For now, the solution is to modify the postmaster@{HOST_NAME} with other mail address desired
    My i-MSCP configuration:


    System: Ubuntu 14.04 (trusty tahr)
    i-MSCP Git 1.1.x
    Build: 20140915
    Server implementation: Apache/2.4.7 with php5-fpm 5.5.9 , dovecot 2.2.9


    Thank you very much

  • Hello


    Thanks. Will be fixed in next release.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello ;


    Should be fixed. See https://github.com/i-MSCP/imsc…bbf2cb039e2e75d732220745b


    Will be part of next release ( 1.1.16 )

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206