Sam Varshavchik escreveu:
> Jeronimo Zucco writes:
>
>> I have a problem with quota. I store quota in openldap database,
>> use courier-authlib (0.59.1), maildrop (2.0.3) and courier-imap (4.1.2).
>>
>> Sometimes maildrop/courier-imap don't update the used quota of
>> users, the user have to receive more messages (like 3 or more) to
>> update quota.
>
> How exactly do you deliver mail to mailboxes?
I use postfix. in the master.cf:
maildrop unix - n n - - pipe
flags=DRhu user=maildrop argv=/usr/local/maildrop/bin/maildrop -d
${user} -w 90
in the main.cf:
mailbox_transport = maildrop
in my /etc/maildroprc:
logfile "/var/log/maildrop.log"
if (/^X-imss-result: Default_Triggered/)
{
#Create SPAM IMAP folder if they don't have one
`test -d $HOME/Maildir/.SPAM`
if( $RETURNCODE == 1 )
{
`/usr/local/courier-imap/bin/maildirmake -f SPAM $HOME/Maildir`
`echo INBOX.SPAM >> $HOME/Maildir/courierimapsubscribed`
}
exception {
to "$HOME/Maildir/.SPAM/"
}
}
else
{
DEFAULT=Maildir
}
>
>>
>> Delete messages by imap don't update used quota either.
>
> That depends on how your IMAP client implements message deletion. It
> might be simply marking messages as deleted and hiding the from view.
> A separate expunge action is required to actually delete messages from
> the server.
>
>
I use horde imp imap client for deletion of messages and Mozilla
Thunderbird. Use of trash folder is opcional, and the trash isn't
accounted in used quota.
Thanks for the help.
--
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
NĂșcleo de Processamento de Dados
Universidade de Caxias do Sul
http://jczucco.blogspot.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users