HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Quota Problem with Procmail (http://www.howtoforge.com/forums/showthread.php?t=4935)

rafaelenrike 15th June 2006 19:05

Quota Problem with Procmail
 
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

<web3_msalcedo@webserver.detecsa.net> (expanded from <msalcedo@detecsa.net>):
    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.

falko 16th June 2006 02:32

What's the output of
Code:

which quota
which sed
which awk

?


All times are GMT +2. The time now is 10:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.