Mail quota not set, but being enforced?

Discussion in 'General' started by jonwatson, Mar 26, 2008.

  1. jonwatson

    jonwatson New Member

    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: [email protected]
    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    repquota -avug
    ?
     
  3. jonwatson

    jonwatson New Member

    Code:
    *** 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
     
  4. jonwatson

    jonwatson New Member

    Hi Guys

    This is kind of important. Anyone have any ideas why ISPConfig is enforcing a non-existent 25MB quota?

    Thanks
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Is there maybe another user that has a quota of 25MB? Can you post the full repquota output?
     
  6. jonwatson

    jonwatson New Member

    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?


    Code:
    <[email protected]> (expanded from <[email protected]_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"
     
  7. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    Code:
    ls -la /var/mail/
    and
    Code:
    ls -la /var/www/web69/user/syst_shoo/.spamassassin/auto-whitelist
    ?
     
  8. jonwatson

    jonwatson New Member

    Hi Falko,

    Code:
    [[email protected] ~]# ls -la /var/mail
    lrwxrwxrwx 1 root root 10 Nov 19 11:04 /var/mail -> spool/mail
    Code:
    [[email protected] ~]# 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
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Can you post the outputs of
    Code:
    ls -la /var/www/web69/user/syst_shoo/.spamassassin
    and
    Code:
    ls -la /var/spool/mail
    ?
     
  10. jonwatson

    jonwatson New Member

    Code:
    # 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


    Code:
    # 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
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Looks ok. What happens when you do
    Code:
    chmod 777 /var/www/web69/user/syst_shoo/.spamassassin
    chmod 777 /var/spool/mail
    ?
     

Share This Page