Hello,
I try to access the files within the maildir-structure directly, because I want to store some files with status data there (I try to implement some experimental ACL stuff). So I thaught that I would need the root cage's path to access it in the file system. But I think you're surely right: I might not need the path , because... *hmm*
I will try this!!! Anyway: thanks for the "getenv"-command respectivly the parameter! :-)
Best regards Stefan
On Wed, Jan 07, 2009 at 10:55:14AM -0500, Timo Sirainen wrote:
On Wed, 2009-01-07 at 15:24 +0100, Stefan Jurisch wrote:
Hello,
I'd like to find a function in the sourcecode which enables me to get the chroot-path of the mailstore, so I can concatenate it with the result of mail_storage_get_mailbox_path to get the full path of a mailbox within the filesystem.
What do you do with it since you're already inside chroot? Anyway you should be able to get it with getenv("RESTRICT_CHROOT").
--
SIEGNETZ.IT GmbH { w3o-services } Schneppenkauten 1a D-57076 Siegen
Tel.: 0271 68193-0 Fax: 0271 68193-29
Geschäftsführer: Oliver Seitz
Handelsregister-Nummer: HRB4838 Registergericht: Amtsgericht Siegen
Das Wort “WINDOWS” stammt aus einem alten Sioux-Dialekt und bedeutet: “Weißer Mann starrt durch Glasscheibe auf Sanduhr.”
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.