Quota Problem with Procmail

Discussion in 'Installation/Configuration' started by rafaelenrike, Jun 15, 2006.

  1. rafaelenrike

    rafaelenrike New Member

    hello. I'm having again this problem, but just with one user (I have hundreds of users created and anyone has told me about this problem before).

    The problem is that when I send a message to this user, the message bounces with this error:

    Code:
    This is the Postfix program at host webserver.detecsa.net.
    
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to <postmaster>
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
                            The Postfix program
    
    <[email protected]> (expanded from <[email protected]>):
        can't create user output file. Command output: /bin/sh: let:
        HD_QUOTA=*1024: syntax error: operand expected (error token is "*1024")
        /bin/sh: line 1: [: !=: unary operator expected procmail: Error while
        writing to "/var/mail/web3_msalcedo"
    
    I'm using ISPConfig 2.1.2 with FC4 (Perfect Setup)
    I have just one huge / partition with usrquota,grpquota enabled.
    The mail system is using mbox format.
    This user has assigned the following:
    WebQuota: 150
    MailQuota: 150
    No antivirus-antispam-mailscanner configuration enabled.

    This is the output of df -h:
    Code:
    [root@webserver tmp]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          287G  5.8G  266G   3% /
    /dev/sda2              99M   23M   72M  24% /boot
    /dev/shm              504M     0  504M   0% /dev/shm
    
    This is the output of ls -la /var/mail/web3_msalcedo
    Code:
    [root@webserver tmp]# ls -la /var/mail/web3_msalcedo
    -rw-------  1 web3_msalcedo                    mail 51201141 Jun 15 11:51 /var/mail/web3_msalcedo
    
    This is the output from repquota -avug | grep web3_msalcedo

    Code:
    [root@webserver tmp]# repquota -avug | grep web3_msalcedo
    web3_msalcedo --   50076  153600  153600              5     0     0
    
    I hope this information is enough to help me fix this problem.

    Thanks and best regards.
     
    Last edited: Jun 15, 2006
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    which quota
    which sed
    which awk
    ?
     

Share This Page