From: Timur Batyrshin <batyrshin@ieml.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] cyrus quota
Date: Tue, 11 Jan 2011 17:20:24 +0300
Message-ID: <20110111172024.126e758c@batyrshin.kzn.ieml.ru> (raw)
In-Reply-To: <20110110134243.34d31c69@batyrshin.kzn.ieml.ru>
[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]
On Mon, 10 Jan 2011 13:42:43 +0300
Timur Batyrshin wrote:
> Можно ли как-нибудь для определенных папок IMAP (user.*.Trash)
> отключить проверку квоты? В доках я что-то такого не нашел.
> Кто как вообще этот вопрос решает?
Для индивидуальных папок можно назначать квоты любые при помощи
того же cyradm, в т.ч. снимать их вообще. Примерно так:
sq user.pupkin.Trash@domain.ru 100000
С последующим /usr/lib/cyrus/quota -f user.pupkin@domain.ru
Если число не указывать -- будет безлимитная папка. Удалить такую квоту
можно будет только вручную -- удалив соответствующий файл
/var/lib/imap/domain/d/domain.ru/quota/p/user.pupkin.Trash
с последующими
/usr/lib/cyrus/reconstruct user.pupkin.Trash@domain.ru
/usr/lib/cyrus/quota -f user.pupkin@domain.ru
Ну или массово регулярно запускать в cyradm что-то типа
sq *Trash 100000
с последующим /usr/lib/cyrus/quota -f
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2011-01-11 14:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 10:42 Timur Batyrshin
2011-01-10 11:32 ` Anton Kvashin
2011-01-10 12:07 ` Timur Batyrshin
2011-01-10 18:40 ` Sergey
2011-01-11 9:14 ` Timur Batyrshin
2011-01-11 14:20 ` Timur Batyrshin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110111172024.126e758c@batyrshin.kzn.ieml.ru \
--to=batyrshin@ieml.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git