Client MailSpace MB setting not available...

Discussion in 'General' started by giganet, Sep 14, 2007.

  1. giganet

    giganet New Member

    Hello Group...

    Have found that clients are complaining that they are having troubles receiving email.

    In looking in 'syslog' I found errors like the following
    Code:
    Sep 14 12:53:05 giganetwireless postfix/qmgr[4131]: E4A6E101D2: removed
    Sep 14 12:53:08 giganetwireless postfix/smtpd[6977]: disconnect from unknown[121.247.89.127]
    Sep 14 12:53:12 giganetwireless postfix/local[7002]: B8DB91012F: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=31, status=bounced (can't create user output file. Command output: /bin/cat: write error: Disk quota exceeded procmail: Program failure (1) of "/home/admispconfig/ispconfig/tools/clamav/bin/clamassassin" procmail: Rescue of unfiltered data succeeded )
    Sep 14 12:53:12 giganetwireless postfix/cleanup[6989]: 9DF72101D2: message-id=<[email protected]>
    Sep 14 12:53:12 giganetwireless postfix/qmgr[4131]: 9DF72101D2: from=<>, size=27263, nrcpt=1 (queue active)
    Sep 14 12:53:12 giganetwireless postfix/qmgr[4131]: B8DB91012F: removed
    Sep 14 12:53:17 giganetwireless postfix/smtpd[6977]: connect from unknown[89.45.113.24]
    Sep 14 12:54:16 giganetwireless postfix/smtp[7039]: 9DF72101D2: to=<[email protected]>, relay=mta2.vsnl.net[203.200.235.142], delay=64, status=sent (250 2.5.0 Ok.)
    
    Line 3 above seems off??
    to=<[email protected]>, orig_to=<[email protected]>
    The client is web4, however why is my domain giganetwireless being indicated as the 'to='


    In looking in the ISPConfig Client Manual, I should have the option of limiting the 'WebSpace MB' & 'MailSpace MB' for each client- I am only offered the option to limit 'WebSpace MB' at this time.


    For these same clients which have their own web-site I too have been receiving warns from ISPConfig
    Code:
    Username:                           web4_webmaster
    Used Storage Space:           25.85 MB
    Allocated Storage Space:     25.00 MB
    But when I log into ISPConfig Admin panel Site Management => Domain => Statistics I see the following for total usage-
    Code:
    Storage space: 	25 MB
    used: 	8.80M
    Thank you for the Help

    Regards
     
  2. falko

    falko Super Moderator Howtoforge Staff

    This is correct if you're using Maildir because the users' Maildirs are within the /var/www/web1 (for example) directory, so they fall under the web quota.

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

    giganet New Member

    Thank you Falko


    The output of 'repquota -avug'

    Code:
    mailman@giganetwireless:/etc/default$ sudo repquota -avug
    *** Report for user quotas on device /dev/hda1
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    User            used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    root      -- 2743188       0       0         102774     0     0
    daemon    --      80       0       0             11     0     0
    bin       --       4       0       0              1     0     0
    man       --     572       0       0             16     0     0
    mail      --      12       0       0              1     0     0
    news      --       4       0       0              1     0     0
    www-data  --      88       0       0             35     0     0
    nobody    --       4       0       0              1     0     0
    klog      --       4       0       0              2     0     0
    mailman   --   80028       0       0            531     0     0
    cupsys    --      80       0       0             21     0     0
    fetchmail --       4       0       0              1     0     0
    bind      --      88       0       0             20     0     0
    mysql     --   27720       0       0            360     0     0
    postfix   --     504       0       0            120     0     0
    ftp       --       4       0       0              1     0     0
    web14_webmaster --      36       0       0             10     0     0
    web14_darlene --       0    1024    2048              1     0     0
    web14_clayton --     672       0       0             50     0     0
    admispconfig --   55160       0       0           2407     0     0
    web5_webmaster +-   26488   19456   20480  6days      65     0     0
    web5_darlene --     108    3072    4096             17     0     0
    web5_clayton --      36       0       0              9     0     0
    web4_jerry --      36    3072    4096             12     0     0
    web4_kirsten +-   18132    3072    4096  6days      16     0     0
    web4_webmaster --    8688   19456   20480            341     0     0
    web7_webmailmin --     108   51200   52224             35     0     0
    web1_pres --    2136    3072    4096             19     0     0
    web1_webmaster --   11672   51200   52224            959     0     0
    web1_sales --      36       0       0              9     0     0
    web1_sup  --      36       0       0              9     0     0
    web1_copy --      36       0       0              9     0     0
    web1_billing --      36       0       0              9     0     0
    web1_wadmin --     236       0       0             17     0     0
    web1_vp   --      52       0       0             12     0     0
    web1_ssl  --      36       0       0              9     0     0
    web1_gowrls --   51096       0       0             36     0     0
    web1_ebay --      36       0       0              9     0     0
    web1_over --      36       0       0              9     0     0
    web1_mlewis --      36       0       0              9     0     0
    web1_gale --      36    1024    2048             10     0     0
    web1_hicountry --      36       0       0              9     0     0
    web1_ewright --   11572       0       0             27     0     0
    web1_taz  --      36       0       0              9     0     0
    #500      --    5984       0       0            543     0     0
    #501      --    3344       0       0            401     0     0
    #10005    --       4       0       0              1     0     0
    #12014    --       0       0       0              0     0     0
    *** Report for group quotas on device /dev/hda1
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    Group           used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    root      -- 2713420       0       0          96955     0     0
    daemon    --      76       0       0             10     0     0
    bin       --      12       0       0              2     0     0
    adm       --   20560       0       0            104     0     0
    tty       --      20       0       0            709     0     0
    disk      --       0       0       0           4439     0     0
    lp        --      68       0       0             39     0     0
    mail      --     392       0       0             24     0     0
    news      --       4       0       0              4     0     0
    kmem      --       0       0       0              4     0     0
    dialout   --       4       0       0             63     0     0
    cdrom     --       0       0       0             37     0     0
    floppy    --       0       0       0             64     0     0
    tape      --       0       0       0             16     0     0
    audio     --       0       0       0             36     0     0
    dip       --     276       0       0              7     0     0
    www-data  --      20       0       0              3     0     0
    src       --       4       0       0              1     0     0
    shadow    --      84       0       0              7     0     0
    utmp      --   11416       0       0             10     0     0
    video     --       0       0       0            205     0     0
    sasl      --       8       0       0              1     0     0
    plugdev   --      52       0       0              2     0     0
    staff     --      60       0       0             16     0     0
    games     --     748       0       0             96     0     0
    nogroup   --      12       0       0              3     0     0
    dhcp      --       4       0       0              1     0     0
    klog      --       4       0       0              2     0     0
    crontab   --      36       0       0              3     0     0
    ssh       --      64       0       0              1     0     0
    mailman   --   79760       0       0            530     0     0
    lpadmin   --      16       0       0              5     0     0
    admin     --    3344       0       0            401     0     0
    messagebus --       4       0       0              1     0     0
    slocate   --    1368       0       0              3     0     0
    gdm       --       4       0       0              1     0     0
    bind      --      92       0       0             21     0     0
    mysql     --   23212       0       0            334     0     0
    ssl-cert  --       8       0       0              2     0     0
    postfix   --     448       0       0            101     0     0
    postdrop  --      32       0       0              9     0     0
    web14     --       0   51200   52224              0     0     0
    admispconfig --   55156       0       0           2405     0     0
    web1      +-   77872   76800   77824  6days    1223     0     0
    web4      +-   26860   25600   26624  6days     369     0     0
    web5      +-   26636   25600   26624  6days      92     0     0
    web6      --      76   25600   26624             29     0     0
    web7      --     112   51200   52224             38     0     0
    #500      --    5984       0       0            543     0     0
    #10013    --      12       0       0              3     0     0
    #12014    --       0       0       0              0     0     0
    
    Regards
     
    Last edited: Sep 16, 2007
  4. falko

    falko Super Moderator Howtoforge Staff

    The webs 1, 4, and 5 are over quota. Try to increase the quota, or delete some unused files in these webs.
     
  5. giganet

    giganet New Member

    Thank you for the reply Falko


    Yeah, these accounts were instantly over quota as soon as they were created it seems???

    I would love to increase their MailBox MB Quota, however that is part of the problem I need help with in this post too- ISPConfig only provides a means to set 'Web Space MB' and not the ability to declare 'MailSpace MB'.

    I have looked throught he ISPConfig manual and see that ISPConfig should clearly have a form to define MailSpace MB.

    In looking at the ISPConfig I see this:

    Code:
    There are two possible scenarios:
    The hard disk is partitioned RedHat like, i.e., quota is enabled on the /home partition; on the
    other partitions there is no quota. Then "WebSpace MB" specifies the real web space
    available to the user; his mail box is not included in this storage space because it is under
    /var/spool/mail. The size of the email box is then specified by "MailSpace MB".
    1.
    The hard disk is partitioned SuSE like, i.e., there is one big partition with quota enabled on it.
    Then "WebSpace MB" specifies the whole storage space including the mail box which is
    available for the user. The mail box is included because the directory /var/spool/mail is also
    on the partition where quota is enabled.
    "MailSpace MB" then specifies the size which the mail box can have in ideal case, i.e., if the
    user has enough unused space. Example: You give the user "testuser" 10 MB under
    "WebSpace MB" and 5 MB under "MailSpace MB". "testuser" has used 1 MB of his 10 MB in
    his home directory, i.e., 9 MB are still available. Nevertheless his mail box cannot become
    bigger than 5 MB because that is the value specified under "MailSpace MB". But if "testuser"
    has used 7 MB in his home directory only 3 MB are left unused which means that his mail
    box cannot become bigger than 3 MB. The mail box size in the second scenario is the
    minimum of the two values "MailSpace MB" and "unused storage space".
    It seems as though it is possible that my server config falls into possibility 2 in the above???

    I will try increasing the Web Space MB quota on all clients to see if they can send and receive email.

    Thank you Falko

    Regards
     
  6. giganet

    giganet New Member

    Last night I increased the 'WebSpace MB' for all clients to 3MB- I do not have available to me 'MailSPace MB' in ISPConfig.

    After setting the new quotas I would have thought all would be well, however these are the errors received when I try to send email to one of my clients.
    I am sending this email from another external server of mine hosting 800coolstuff.com, the email is intended to go to 'kirsten <at> highcountryhomesofanza <dot> com.

    Code:
    Sep 17 07:52:40 giganetwireless postfix/local[13450]: 351D9101E7: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=8, status=bounced (can't create user output file. Command output: /bin/cat: write error: Disk quota exceeded procmail: Program failure (1) of "/home/admispconfig/ispconfig/tools/clamav/bin/clamassassin" procmail: Rescue of unfiltered data succeeded postdrop: warning: uid=10030: Disk quota exceeded sendmail: fatal: web4_kirsten(10030): Error writing message file )
    
    This quota thing is truly frustrating, I can't seem to hit any magic mark that allows email to function properly??


    Thank you for your help

    Regards
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    3MB of quota is too low. If you want to use antivirus and spam scanning, use at least 10 MB.
     
  8. giganet

    giganet New Member

    Thank you for your response Till

    Ahhh, OK, scanning for viruses and spam becomes disk-space and memory intensive demanding more rseources usage in general?

    OK, my present system config with ISPConfig is functioning properly in not providing any means of adjusting MailSpace MB, as in option 2 SuSE like partition [one large partition] there will only be the option to adjust WebSpace MB correct?

    Would you suggest that the Admin of any one domain be delegated the majority of disk-space [70GB of diskspace to each domain provide at least 60% of disk-space to Admin?]?
    I have found if I set the WebSpace MB low as other users the ability to upload files to the server is stopped at that point.

    Thank you Till

    Regards
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The admin of a website shall normally have the same webspace quota then the website itself.

    Webspace quota is a file system quota. This means that every type of file that belongs to a user is countet in this quota, regardless if this file is a email or a file uploaded by FTP or SSH.
     
  10. giganet

    giganet New Member

    Thanks Till

    Cool- I see how it must go now regarding the settings of WebSpace MB, have experimented successfully with all email accounts.
    Thank for the help Till

    Beleive I am going to through a Intel Duo 2.4Ghz, 6GB RAM, 1TB Harddisk to this server this weekend too.

    Have a great day

    Regards
     
  11. ddelbia

    ddelbia Member

    Hi
    I think the problem is that clamav creates files in /tmp while scanning. If scan fails, the files in /tmp are not deleted and fill the user quota.
    I solved this problem using clamd. Clamd is a daemon and files are owned by clamd user, not by mail user.
     

Share This Page