hey, folks!
i have 3 little problems:
1. PHP courier quota
i want to get the quota of a user with:
$quotatomb=imap_get_quota($mbox,"ROOT");
$used=$quotatomb['usage'];
$quota=$quotatomb['limit'];
$usage=round($used/$quota*100);
at least 2 out of 5 times i get a division by zero instead of the real quota
values, but when it's ok, it gives back the correct values.
is seems as if it didnt pass any values (the array) to php.
2. maildirmake
i have two versions of maildirmake:
- maildrop 1.5.0's one
- courier 1.6.1-s one
both does the same:
$ maildirmake -q 10000S fooobar
it starts to loop something, it does something, but never gets back.
strace says:
time([1037276816]) = 1037276816
getpid() = 26407
stat("foobar/tmp/1037276816.26407_NeWmAiLdIrSiZe.devil", 0xbffff698) = -1 ENOENT (No
such file or directory)
open("foobar/tmp/1037276816.26407_NeWmAiLdIrSiZe.devil",
O_RDWR|O_NONBLOCK|O_APPEND|O_CREAT, 0644) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({3, 0}, {3, 0})
and this loops over and over again.
if I do a maildirmake foobar, and then a maildirmake -q 100000S foobar, then
it seems to work though.
weird, ehh...
3. maildrop deliverquota
i have the following setup:
- postfix 1.1.11
- maildrop 1.5.0
- courier-imap 1.6.1
all three use mysql, so everything is virtual.
i made a maildrop: transport for a domain in postfix which delivers to a
maildir.
how to get quotas to work?
maildrop can fetch quotas for specific users from mysql, or i have to specify
it in the maildir? or maybe both?
im a bit confused :)
I have a quota field in my users table for mailboxes, and it is correctly set
in /etc/maildropmysql.config, but yet not good.
Any help would be greatly appreciated :)
tia & regards,
tibyke
p.s.:
i tried to subscribe to courier-maildrop, i got the subscription e-mail with
subscription confirmation ID, which I replied, but nothing happened since then.
i can post to the list (i can see my posts on the web archive), but i dont get any
mail from the list into my mailbox...
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users