[tpop3d-discuss] uid & gid
Chris Lightfoot
chris at ex-parrot.com
Mon, 28 Apr 2003 18:49:36 +0100
On Mon, Apr 28, 2003 at 10:14:34AM -0600, System Administrator wrote:
> Hi,
>
> I have tpop3d-1.4.2 with the auth-flatfile patch working. What I don't
> seem to be able to get around is that tpop3d seems to want all the
> mailboxes and the directories they live in to be owned by the same user.
Unfortunately, that is a limitation of auth-flatfile in
the current and CVS versions. It is fixable, but I don't
have much time to work on tpop3d at the moment, and in the
meantime you might find it quickest to implement your own
auth-other/auth-perl authenticator to do this manually.
> >From my POV the ideal solution would be that tpop3d would suid to the
> uid and gid listed in the passwd files when it authenticates a user.
>
> The virtual delivery agent in Postfix does this when it receives
> messages. Thus, I am able to separate ownership of mbox files under
> each domain. This will allow me to place the mbox files in their htdocs
> root tree so that they can access them via ftp.
Yep, this is a sensible scheme. I've added your request to
the to-do list.
--
Sometimes I lie awake at night and ask ``Why me?'' Then a voice
answers ``Nothing personal, your name just happened to come up.''
(Charlie Brown, from `Peanuts', Charles Schultz)