View Full Version : Mail quota not set, but being enforced?
jonwatson
26th March 2008, 19:19
Hello,
I have an ISPConfig installation that is using maildir format. I have a user that is being sent quota messages (munged):
Username: syst_shoo
Used Storage Space: 33.38 MB
Allocated Storage Space: 25.00 MB
User's Real Name: shoo
User's Email Address: shoo@doma.com
Web Site: www.domain.com
Group Of Web Site: web69
----------------
The site has a quota of 6000MB, and the shoo user has a quota of -1 (unlimited).
I have verified that the user is indeed using 33.38MB in his Maildir folder (and nothing in his web folder), but I can't see where the 25MB limit is set.
Where would I look for this?
Thanks
Jon
falko
27th March 2008, 17:43
What's the output of repquota -avug?
jonwatson
27th March 2008, 17:50
*** Report for user quotas on device /dev/xvdb1
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
syst_shoo -- 37916 0 0 189 0 0
*** Report for group quotas on device /dev/xvdb1
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
Group used soft hard grace used soft hard grace
web69 -- 409196 6144000 6145024 5551 0 0
I snipped everything but the relevant stuff.
Thanks
Jon
jonwatson
28th March 2008, 15:17
Hi Guys
This is kind of important. Anyone have any ideas why ISPConfig is enforcing a non-existent 25MB quota?
Thanks
falko
28th March 2008, 15:25
Is there maybe another user that has a quota of 25MB? Can you post the full repquota output?
jonwatson
28th March 2008, 16:02
Hi
I'm hesitant to post the entire report as it lists all our users. Not a huge deal, but it's not my data so I can't post it without authorization.
I did look, though, and no user has any quotas set. Just the group (web69 in this case), but it's nowhere near hitting the quota.
I've also pulled this error from the log. Does it shed any light on what might be going on?
<syst_shoo@server.domain.com> (expanded from <shoo@client_domain.com>): can't
create user output file. Command output: procmail: Couldn't create
"/var/mail/syst_shoo" [2819] warn: auto-whitelist: open of auto-whitelist
file failed: auto-whitelist: cannot open auto_whitelist_path
/var/www/web69/user/syst_shoo/.spamassassin/auto-whitelist: File exists
procmail: Quota exceeded while writing
"/var/www/web69/user/syst_shoo/Maildir/tmp/1206542166.2758_2.server.domain.com"
falko
29th March 2008, 17:45
What are the outputs of ls -la /var/mail/ and ls -la /var/www/web69/user/syst_shoo/.spamassassin/auto-whitelist?
jonwatson
31st March 2008, 19:47
Hi Falko,
[root@server ~]# ls -la /var/mail
lrwxrwxrwx 1 root root 10 Nov 19 11:04 /var/mail -> spool/mail
[root@server ~]# ls -la /var/www/web69/user/syst_shoo/.spamassassin/auto-whitelist
ls: /var/www/web69/user/syst_shoo/.spamassassin/auto-whitelist: No such file or directory
Thanks,
Jon
falko
1st April 2008, 18:40
Can you post the outputs of
ls -la /var/www/web69/user/syst_shoo/.spamassassin
and
ls -la /var/spool/mail?
jonwatson
1st April 2008, 20:39
# ls -la /var/www/web69/user/syst_shoo/.spamassassin
total 8
drwx------ 2 syst_shoo web69 4096 Apr 1 09:52 .
drwxr-xr-x 5 syst_shoo web69 4096 Jan 16 17:05 ..
-rw------- 1 syst_shoo web69 0 Mar 26 10:30 __db.auto-whitelist
-rw------- 1 syst_shoo web69 0 Mar 26 11:04 __db.bayes_toks
lrwxrwxrwx 1 root root 42 Mar 25 17:42 user_prefs -> /var/www/web69/user/syst_shoo/.user_prefs
# ls -la /var/spool/mail
total 32
drwxrwxr-x 2 root mail 4096 Mar 28 10:02 .
drwxr-xr-x 14 root root 4096 Nov 20 11:52 ..
-rw------- 1 admispconfig mail 5694 Feb 10 15:20 admispconfig
-rw------- 1 root root 2434 Nov 19 15:29 root
Thanks!
Jon
falko
2nd April 2008, 16:16
Looks ok. What happens when you do
chmod 777 /var/www/web69/user/syst_shoo/.spamassassin
chmod 777 /var/spool/mail?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.