From dovecot 1.2.10 sources i have: src/plugins/quota/quota.c #define DEFAULT_QUOTA_EXCEEDED_MSG \ "Quota exceeded (mailbox for user is full)" struct quota_settings *quota_settings_init(void) { [ .... ] quota_set->quota_exceeded_msg = getenv("QUOTA_EXCEEDED_MESSAGE"); if (quota_set->quota_exceeded_msg == NULL) quota_set->quota_exceeded_msg = DEFAULT_QUOTA_EXCEEDED_MSG; [ .... ] but i havent found, in all the sources, where the QUOTA_EXCEEDED_MESSAGE is feeded by something from dovecot.conf or anywhere else. question is: isnt it possible to configure the quota exceeded message from dovecot.conf ?? Do i really need to rebuild dovecot changing the message on quota.c for acchieving that ? -- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, N?O mandem email gertrudes at solutti.com.br My SPAMTRAP, do not email it
On Tue, 2010-02-16 at 15:18 -0200, Leonardo Rodrigues wrote:> but i havent found, in all the sources, where the > QUOTA_EXCEEDED_MESSAGE is feeded by something from dovecot.conf or > anywhere else.plugin { quota_exceeded_message = stuff } I guess I should put that somewhere.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100218/d0bb1f0c/attachment-0002.bin>
Em 18/02/2010 13:10, Timo Sirainen escreveu:> On Tue, 2010-02-16 at 15:18 -0200, Leonardo Rodrigues wrote: > >> but i havent found, in all the sources, where the >> QUOTA_EXCEEDED_MESSAGE is feeded by something from dovecot.conf or >> anywhere else. >> > plugin { > quota_exceeded_message = stuff > } >Yeah ... it worked. Thanks. -- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, N?O mandem email gertrudes at solutti.com.br My SPAMTRAP, do not email it