Alessio Cecchi ha scritto:
Hi,
I'm testing the latest stable release of vpopmail. vusaged is disable. I
have found this issue, when I change the quota via "vmoduser" the owner
of "maildirsize" file becomes root:root instead of vpopmail:vchkpw
mail01:~# /home/vpopmail/bin/vadddomain cbstest.com password
mail01:~# ls -la /home/vpopmail/domains/cbstest.com/postmaster/Maildir/
totale 24
drwx------ 5 vpopmail vchkpw 4096 3 mar 17:59 .
drwx------ 3 vpopmail vchkpw 4096 3 mar 17:59 ..
drwx------ 2 vpopmail vchkpw 4096 3 mar 17:59 cur
-rw------- 1 vpopmail vchkpw 15 3 mar 17:59 maildirsize
drwx------ 2 vpopmail vchkpw 4096 3 mar 17:59 new
drwx------ 2 vpopmail vchkpw 4096 3 mar 17:59 tmp
mail01:~# /home/vpopmail/bin/vadduser ales...@cbstest.com password
mail01:~# ls -la /home/vpopmail/domains/cbstest.com/alessio/Maildir/
totale 24
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:00 .
drwx------ 3 vpopmail vchkpw 4096 3 mar 18:00 ..
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:00 cur
-rw------- 1 vpopmail vchkpw 15 3 mar 18:00 maildirsize
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:00 new
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:00 tmp
mail01:~# /home/vpopmail/bin/vmoduser -q 50M cbstest.com
mail01:~# ls -la /home/vpopmail/domains/cbstest.com/alessio/Maildir/
totale 52
drwx------ 8 vpopmail vchkpw 4096 3 mar 18:00 .
drwx------ 3 vpopmail vchkpw 4096 3 mar 18:00 ..
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:00 cur
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:00 .Drafts
-rw------- 1 root root 14 3 mar 18:00 maildirsize
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:00 new
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:00 .Spam
-rw------- 1 vpopmail vchkpw 18 3 mar 18:00 subscriptions
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:00 tmp
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:00 .Trash
mail01:~# ls -la /home/vpopmail/domains/cbstest.com/postmaster/Maildir/
totale 24
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:00 .
drwx------ 3 vpopmail vchkpw 4096 3 mar 17:59 ..
drwx------ 2 vpopmail vchkpw 4096 3 mar 17:59 cur
-rw------- 1 root root 14 3 mar 18:00 maildirsize
drwx------ 2 vpopmail vchkpw 4096 3 mar 17:59 new
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:00 tmp
In this situation my IMAP server (dovecot) is unable to know my quote
and more if I try to remove a messagges returns an error.
When an e-mail come in my account the owner of "maildirsize" file
returns the right:
mail01:/home/vpopmail/domains/cbshosting.eu/alessio/Maildir# ls -la
totale 72
drwx------ 8 vpopmail vchkpw 4096 3 mar 18:14 .
drwx------ 3 vpopmail vchkpw 4096 3 mar 18:00 ..
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:13 cur
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:10 .Drafts
-rw------- 1 vpopmail vchkpw 33 3 mar 18:14 maildirsize
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:14 new
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:10 .Spam
-rw------- 1 vpopmail vchkpw 18 3 mar 18:00 subscriptions
drwx------ 2 vpopmail vchkpw 4096 3 mar 18:14 tmp
drwx------ 5 vpopmail vchkpw 4096 3 mar 18:10 .Trash
There is a solution to this problem?
Thanks
I have found that the problem come out only when vmoduser is used for
the enterire domain:
/home/vpopmail/bin/vmoduser -q 6M cbstest.com -> PROBLEM
/home/vpopmail/bin/vmoduser -q 6M ales...@cbstest.com -> OK
mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir#
/home/vpopmail/bin/vmoduser -q 6M cbstest.com
mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir# ls -lha
totale 72K
drwx------ 8 vpopmail vchkpw 4,0K 3 mar 18:18 .
drwx------ 3 vpopmail vchkpw 4,0K 3 mar 18:00 ..
drwx------ 2 vpopmail vchkpw 4,0K 3 mar 18:14 cur
drwx------ 5 vpopmail vchkpw 4,0K 3 mar 18:10 .Drafts
-rw------- 1 root root 19 3 mar 18:18 maildirsize
drwx------ 2 vpopmail vchkpw 4,0K 3 mar 18:14 new
drwx------ 5 vpopmail vchkpw 4,0K 3 mar 18:10 .Spam
-rw------- 1 vpopmail vchkpw 18 3 mar 18:00 subscriptions
drwx------ 2 vpopmail vchkpw 4,0K 3 mar 18:18 tmp
drwx------ 5 vpopmail vchkpw 4,0K 3 mar 18:14 .Trash
mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir#
/home/vpopmail/bin/vmoduser -q 6M ales...@cbstest.com
mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir# ls -lha
totale 72K
drwx------ 8 vpopmail vchkpw 4,0K 3 mar 18:19 .
drwx------ 3 vpopmail vchkpw 4,0K 3 mar 18:00 ..
drwx------ 2 vpopmail vchkpw 4,0K 3 mar 18:14 cur
drwx------ 5 vpopmail vchkpw 4,0K 3 mar 18:10 .Drafts
-rw------- 1 vpopmail vchkpw 19 3 mar 18:19 maildirsize
drwx------ 2 vpopmail vchkpw 4,0K 3 mar 18:14 new
drwx------ 5 vpopmail vchkpw 4,0K 3 mar 18:10 .Spam
-rw------- 1 vpopmail vchkpw 18 3 mar 18:00 subscriptions
drwx------ 2 vpopmail vchkpw 4,0K 3 mar 18:19 tmp
drwx------ 5 vpopmail vchkpw 4,0K 3 mar 18:14 .Trash
Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net
!DSPAM:4b8ea8b832711001610801!