On Thu, 17 Feb 2005, Paul Theodoropoulos wrote:

At 06:44 PM 2/17/2005, Charles Sprickman wrote:

Howdy,

Can anyone shed some light on this? I've got maildirsize files randomly flipping to root ownership. I'm a bit confused as to how this could happen - all delivery is done by vpopmail, and none of that stuff runs as root. That leaves courier-imap/pop, which do run as root.

So I posted to the courier list (asbestos on, check...) and Mr. Sam replied that this is a "known bug in vpopmail". Looking through the vpopmail archives I don't see any sign of this. I do see a few threads about size miscalculations, but that's an entirely different issue.

Any ideas?

[bottom posting to appease the text-formatting nazis]

i see that when i run vuserinfo [EMAIL PROTECTED] as root, which is often how i run it....

I thought that vuserinfo did a setuid to vpopmail... I know that for me it only works if I run it as root. Even if run as vpopmail with su it will throw an error about not being able to "setuid".


Anyone want to speculate as to why vuserinfo might sometimes screw the perms and sometimes not? Does anyone know of the problem Mr. Sam said is "known"?

FWIW:

[EMAIL PROTECTED]/home/vpopmail/domains/bway.net/M/chip/Maildir]# ls -al maildirsize
-rw-r--r-- 1 vpopmail vchkpw 2124 Feb 18 13:58 maildirsize
[EMAIL PROTECTED]/home/vpopmail/domains/bway.net/M/chip/Maildir]# rm maildirsize
[EMAIL PROTECTED]/home/vpopmail/domains/bway.net/M/chip/Maildir]# vuserinfo chip
name: chip
passwd: dhflxxxxxJ6.
clear passwd:
uid: 0
gid: 0
flags: 0
gecos: Chip
limits: No user limits set.
dir: /home/vpopmail/domains/blah.net/M/chip
quota: 20971520S
usage: 23%
[EMAIL PROTECTED]/home/vpopmail/domains/blah.net/M/chip/Maildir]# ls -al maildirsize
-rw-r--r-- 1 vpopmail vchkpw 21 Feb 18 14:34 maildirsize


Charles


Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com



Reply via email to