procmail
[Top] [All Lists]

Re: Problems creating and writing to mailbox.

1997-04-21 18:09:00
"Timothy Brush" <flatline(_at_)bc(_dot_)sympatico(_dot_)ca> writes:
...
      Unfortunately, the user's id are not unique until the 4th or 5th
character.

That's why you end with the entire name: guaranteed uniqueness.


Modifications to qpopper 2.3 work with the directory structure
(Less then 10 lines modified).  I have been able to create and write if
world permissions are set but this is a significant security hole.

*Which* world permissions?  Did you have the sticky bit on the (final)
directory in the path to the mailbox?


Anyway, you can just stick those 10 lines of C into the
auth_mailboxname() function in authenticate.c in the procmail source
tree, and procmail will deliver whereever you told it to.


Actually, once you've done that you can compile cucipop (a popper
daemon written by Stephen R. van den Berg, the author of procmail) with
the exact same copy of authenticate.c, and then ditch qpopper, but
that's optional.


Philip Guenther