Hi ! I'm using postfix with mysql, dovecot and squirrelmail for WEBMAIL
In my dovecot.conf I've:
plugin { quota = maildir:User quota quota2 = maildir:Shared quota:ns=Public/ quota_rule = *:storage=400M quota_rule2 = Trash:storage=100M quota_exceeded_message = Quota excedida. Por favor, exclua alguns emails! quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80 }
In my webmail, he informs me that I'm using the percentage of quota. But I can't make the TRASH folder is ignored. That is, I can't put a higher limit on it than the others. Am I doing something wrong?
Another thing. I'm not receiving message of quota exceeded. This is with the MTA or dovecot?
############################################################################################################## ############################################################################################################## ############################################################################################################## ##############################################################################################################
My quota-warning.sh:
#!/bin/sh
PERCENT=$1 FROM="postmaster@xxxxxxxx.br" qwf="/tmp/quota.warning.$$"
echo "From: $FROM To: $USER To: postmaster@xxxxxxx.br Subject: Your email quota is $PERCENT% full Content-Type: text/plain; charset="UTF-8"
Sua caixa de e-mail está: $PERCENT% full." >> $qwf
cat $qwf | /usr/sbin/sendmail -f $FROM "$USER" rm -f $qwf
exit 0
############################################################################################################## ############################################################################################################## ##############################################################################################################
DOVECOT: dovecot.x86_64 1.0.7-7.el5 POSTFIX: postfix.x86_64 2:2.3.3-2.1.centos.mysql_pgsql MYSQL: mysql-server.x86_64 5.0.77-4.el5_5.4
thank's !
--
Atenciosamente;
Graciously;
*Lucas Possamai *
http://psyscrew.posterous.com/
"Sexo? O governo dá camisinha! Engravidou? Bolsa família! Preso? Ele dá dinheiro! Agora vai estudar pra você vê."
"Sucesso é a capacidade de enfrentar o fracasso sem perder o entusiasmo"
*INFORMAÇÃO DE SEGURANÇA:* Este e-mail é de uso restritamente pessoal. As informações nele contidas podem ser de caráter confidencial e/ou privilegiada. Se você não for o destinatário e recebeu a mensagem por engano, avise imediatamente o remetente e em seguida apague o e-mail, ficando, expressamente vedado o uso, cópia e/ou divulgação das informações contidas, sob pena de responsabilização.
*SAFETY INFORMATION:* This e-mail is strictly personal use. The information contained here may be confidential and / or privileged. If you aren't the intended recipient and received the message in error, please notify the sender immediately and delete the email, being expressly forbidden the use, copying and / or disclosure of information, under penalty of accountability. *P* Antes de imprimir, pense em sua responsabilidade e seu compromisso com o meio ambiente. *P* Before printing, think about your responsibility and commitment to the environment.**