#1  
Old 13th February 2006, 11:03
st2xo st2xo is offline
Member
 
Join Date: Jan 2006
Location: Wiesloch [DE]
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
Default Syntax error in Quota?

if a mail arrives for a user who´s web size is out of quota (Maildir quota is -1) the mail will be defered and send back to sender as follows:

Code:
This is the Postfix program at host domain.tld.

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

<web21_test@domain.tld> (expanded from <test@recepient.tld>): 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: Quota exceeded while writing
    "/home/www/web21/user/web21_test/Maildir/tmp/1139819195.25785_1.domain.tld"
    procmail: Quota exceeded while writing "/var/spool/mail/web21_test"

Reporting-MTA: dns; domain.tld
X-Postfix-Queue-ID: 968D5C30183
X-Postfix-Sender: rfc822; sender@domain.tld
Arrival-Date: Mon, 13 Feb 2006 09:26:35 +0100 (CET)

Final-Recipient: rfc822; web21_test@domain.tld
Original-Recipient: rfc822; test@recepient.tld
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; 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: Quota
    exceeded while writing
    "/home/www/web21/user/web21_test/Maildir/tmp/1139819195.25785_1.domain.tld"
    procmail: Quota exceeded while writing "/var/spool/mail/web21_test"
the same in /var/log/mail

Code:
Feb 13 10:44:50 linux postfix/local[28430]: 
75355C30183: to=<web21_mail@domain.tld>, 
orig_to=<webmaster@recepient.tld>, 
relay=local, delay=1, status=bounced (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 )
If the quota is increased so that the mail will be accepted all works fine. If the quota is decreased again, the error occurs again. I have tested this in different ways, with/without responders, Web-Quota -1, 1, xy and so on ...

according to
http://www.howtoforge.com/forums/showthread.php?t=840#4
I think to understand what happens - but I don´t know how to fix that.

Can anybody give me a hint where I can put in this missing factor for quota calculation? Many thanks in advance!

(system: Suse10-Perfect-Setup-System with Maildir)
__________________
regards,
Stefan.
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2006, 11:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,386 Times in 4,231 Posts
Default

Hi,

the quota variable is not missing. If you use maildir, the complete quota script must be disabled. This is already fixed in the next ISPConfig release.

If you want to fix it in your installation, you must change the line

{QUOTA}

to:

# {QUOTA}

in the file /root/ispconfig/isp/conf/procmailrc.master

This will affect all new accounts. If you want to change existing accounts, you will have to edite the .procmailrc file in the home directories of the users or cahnge any setting of the user in ISPCOnfig and save the user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th February 2006, 11:30
st2xo st2xo is offline
Member
 
Join Date: Jan 2006
Location: Wiesloch [DE]
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
in the file /root/ispconfig/isp/conf/procmailrc.master
Till, thank you very much! I read this in some other threads but thought that isn´t related to my problem.

Falko wrote a tipp how to change existing accounts also
http://www.howtoforge.com/forums/sho...=840&page=2#14

I think I can go now to launch the first real sites and users. You let this week starting very well
__________________
regards,
Stefan.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 16:14
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
another quota question... Ovidiu General 9 21st December 2005 01:08
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 04:43.


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