Re: Check for large mailboxes in Exim

From: dima (_pppp_at_mail.ru)
Date: 10/25/04

  • Next message: Eric W. Bates: "Problems with rc.subr and suid script"
    To: spidey@act.co.za
    Date: Mon, 25 Oct 2004 17:04:05 +0400
    
    

    > On my mail server how can I check the sizes of the mail boxes or the
    > mailboxes larger than 1 mb
    You should mention the mailbox format used.
    Let's consider you use the same format as I do (Mailbox). My boxes are under the /var/spool/vmail/ directory. The directory structure is like the following:
    /var/spool/vmail/<domain>/<box>
    So I type:
    # du -k -d 1 /var/spool/vmail/*
    & get the strings like:
    33900 /var/spool/vmail/<domain_1>
    210 /var/spool/vmail/<domain_1>/<box_1>
    2082 /var/spool/vmail/<domain_1>/<box_2>
    ....
    The sizes are in kilobytes by default.
    You can easily parse the stuff with text utils for your application.

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Eric W. Bates: "Problems with rc.subr and suid script"

    Relevant Pages

    • Re: Cannot Create Mail Accounts
      ... Please do not send email directly to this alias. ... For all the mail boxes I created previously autonatically Added ... > Another thing I noticed Under Exchange Advanced tab under Mailbox Rights ...
      (microsoft.public.exchange2000.general)
    • Re: Cannot Create Mail Accounts
      ... For all the mail boxes I created previously autonatically Added ... >> Another thing I noticed Under Exchange Advanced tab under Mailbox ... >> found user group called SELF with Read and Full mailbox access ...
      (microsoft.public.exchange2000.general)
    • Re: Size Discrepancy - Mailbox Store & Sum of Mailboxes
      ... mount the servers again. ... mailbox sizes it is over 20GB? ... explain this discrepancy when I present my case. ...
      (microsoft.public.exchange.admin)
    • Re: How to deal with your Neighbors Outdoor Lights
      ... I disputed this and made the example of "I bought the mail box---therefor it is MINE! ... I got told if I persisted in putting ANYTHING in mail boxes I would be arrested for violating postal regulations! ... He handed me a sheet of paper which quoted USPS regulations that stated that once a mailbox was placed for the purpose of receiving mail, that box immediately became the property of the USPS and was no longer the property of the person who bought it. ...
      (sci.astro.amateur)
    • Re: Manually moving a mailbox
      ... >>mail boxes as concerned it was suggested that each user export their mail to ... >>users will then import their mail into their new mailbox. ... Thanks John & Candie ...
      (microsoft.public.exchange2000.admin)