Displaying 2 results from an estimated 2 matches for "10485760000s".
2007 Dec 19
2
maildirsize quota counting locking account?
Hi,
I've just straced a dovecot imap process and found one thread sitting
there doing hundreds and hundreds of maildirsize updates as follows:
>
> open("/home/virtual/mydomain.com/home/admin/Maildir/maildirsize", O_RDWR|O_APPEND) = 7
> read(7, "10485760000S\n1562717408 107547\n-"..., 5120) = 2446
> read(7, "", 2674) = 0
> write(1, "* 1810 FETCH (UID 1815 RFC822.SI"..., 2031) = 2031
> setsockopt(1, SOL_TCP, TCP_CORK, [0], 4) = 0
> epoll_wait(4, {{EPOLLIN, {u32=101056896, u64=2370923004288}}}, 5...
2009 Oct 28
3
expire plugin + --exec-mail in 1.2.6 version
...), after dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh command. The problem that some users have their own quotas stored in ldap.
For example, user sr at domain.com have maildirsize before running expire-tool(1G value from ldap):
# head -2 /data/mail/domain.com/sr/data/maildirsize
10485760000S
836423205 8285
Then I run expire-tool with mail_debug enabled:
# /usr/sbin/dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh
Info: Loading modules from directory: /usr/lib/dovecot/imap
Info: Module loaded: /usr/lib/dovecot/imap/lib10_quota_plugin.so
Info: Module loaded: /usr/lib/dovecot...