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)
Recent comments
1 day 23 hours ago
2 days 8 hours ago
2 days 10 hours ago
2 days 12 hours ago
2 days 13 hours ago
2 days 15 hours ago
2 days 16 hours ago
2 days 17 hours ago
3 days 9 hours ago
3 days 10 hours ago