Re: [vchkpw] maildirsize problem
I revise it in this way and use it. --- maildirquota.c.orig 2010-12-07 13:37:06.0 +0900 +++ maildirquota.c 2010-12-07 13:37:54.0 +0900 @@ -293,7 +293,7 @@ if (quotafd = 0) close(quotafd); ret_value = 1; } else { -maildir_addquota(dir, quotafd, q, stat_buf.st_size, 1); +// maildir_addquota(dir, quotafd, q, stat_buf.st_size, 1); if (quotafd = 0) close(quotafd); ret_value = 0; } Do you serve as a reference? -- Kenji ke...@kens.fm !DSPAM:4d6b292d32714862750127!
[vchkpw] It is added to maildirsize twice.
It is added to maildirsize twice Hello. Because English is not possible, I write it by translation software. -Environment-- vpopmail-5.4.32 FreeBSD 8.1-RELEASE ./configure --enable-roaming-users make install patch qmail-maildir++.patch -- It is added to maildirsize twice when I receive one email. The first is size except the line of Return-Path: and Delivered-To:. The second is size of the whole email. When I delete an email by POP3. Because only the second quantity is deducted, the first share becomes the discrepancy. As follows # cat maildirsize 31457280S 0 0 1793 1 1859 1 -1859 -1 This malfunction does not happen in the version of before 5.4.10. vpopmail-5.4.10 # cat maildirsize 31457280S 0 0 1793 1 -1793 -1 I'm recovered when I port vdelivermail from an old version, but is not there the good solution? -- Kenji ke...@kens.fm !DSPAM:4cfc7ee132712975581593!