On 12/13/05, Russell Simpkins <[EMAIL PROTECTED]
> wrote:
I supose you talk about the script that creates automatically the maildir when the first email arrive.
I used this one and works fine for me:
cat /var/qmail/control/dirmaker
/var/qmail/bin/dirmaker.sh
mx:~# cat /var/qmail/bin/dirmaker.sh
#!/bin/sh
/bin/mkdir -m 700 -p $1
#EOF
mx:~# ls -l /var/qmail/bin/dirmaker.sh
-rwxr-xr-x 1 root qmail 39 2005-07-04 13:31 /var/qmail/bin/dirmaker.sh
The creation of this maildir subfolders, is a task of the imap client not of the qmail-ldap
But, you can (in theory) use the utility maildirmake to create the maildir folders you want
Regards,
Pablo
Rony wrote:
>I have installed IMAP with courier-imap-3.0.8 and with QMAIL LDAP wiki
>as reference installed Document
>
>at /var/control/bin/dirmaker.sh
>#!/bin/sh
>#Trash, Drafts y Sent se crean por que
>#normalmente son usadas por clientes IMAP
>MAILDIRMAKE=/usr/lib/courier-imap/bin/maildirmake
>
>/bin/mkdir -m 0700 -p $1
>$MAILDIRMAKE $1/Maildir
>for i in Spam Trash Drafts Sent; do
> $MAILDIRMAKE -f $i $1/Maildir
>done
I supose you talk about the script that creates automatically the maildir when the first email arrive.
I used this one and works fine for me:
cat /var/qmail/control/dirmaker
/var/qmail/bin/dirmaker.sh
mx:~# cat /var/qmail/bin/dirmaker.sh
#!/bin/sh
/bin/mkdir -m 700 -p $1
#EOF
mx:~# ls -l /var/qmail/bin/dirmaker.sh
-rwxr-xr-x 1 root qmail 39 2005-07-04 13:31 /var/qmail/bin/dirmaker.sh
>My question
>Why Imap do not auto create folder Trash, Draft Sent ??,..Inbox only
>
The creation of this maildir subfolders, is a task of the imap client not of the qmail-ldap
But, you can (in theory) use the utility maildirmake to create the maildir folders you want
Regards,
Pablo