Personally, I would use http://php.net/imap_open and friends to add
the mailbox, and let the OS and installed IMAP software choose the
correct mbox/Maildir option based on the server configuration, rather
than try to out-guess them...
On Wed, April 4, 2007 1:20 pm, Michelle Konzack wrote:
*
* Do not Cc: me, because I am on THIS list, if I write here.*
* Keine Cc: an mich, bin auf DIESER Liste wenn ich hier schreibe. *
* Ne me mettez pas en Cc:, je suis sur CETTE liste, si j'ecris ici. *
*
Hello,
I am recoding some parts of my Intranet-Scripts and while in the
file section, I want to add a Mailfolder (from courier-imap) to
this directory, or contrary if I am on the Mailfolder section I
want to add a file(space) to it.
I do not know HOW to virtualize the overlaping of the Mailfolders
and the Filespace to look like:
--
/INBOX
.Business
.Tamay Dogan Network
AGB.txt
3072x3072.logo.png
.ML_php
FAQ.txt
.announce
.general
usefull_tips.txt
contacts.db
.ML_mail
[EMAIL PROTECTED]
FAQ.txt
auth-smtp.txt
--
Where the Maildirfolders are:
~/Maildir/INBOX
~/Maildir/INBOX.Business
~/Maildir/INBOX.Business.Tamay_Dogan_Network
~/Maildir/INBOX.ML_php
~/Maildir/INBOX.ML_php.announce
~/Maildir/INBOX.ML_php.general
~/Maildir/INBOX.ML_mail
~/Maildir/[EMAIL PROTECTED]
which mean standard courier Mailfolders and the Filespace in
~/VFSPACE/
~/VFSPACE/Business/
~/VFSPACE/Business/Tamay_Dogan_Network/
~/VFSPACE/ML_php/
~/VFSPACE/ML_php/announce/
~/VFSPACE/ML_php/general/
~/VFSPACE/ML_mail/
~/VFSPACE/ML_mail/[EMAIL PROTECTED]
which should only created if a $USER put files into the section.
Does anyone has already coded such stuff?
Can point me to docs or something how to implement this?
My Environement is:
Debian GNU/Linux 4.0 Etch
apache 1.3 (maybe update to v2 with WebDAV)
php5
courier-imap
PostgreSQL 7.4 (maybe update to 8.2)
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant
#
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France IRC #Debian (irc.icq.com)
--
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php