Re: [Dovecot] configuring overquota message

2010-02-18 Thread Timo Sirainen
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..



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] configuring overquota message

2010-02-18 Thread Leonardo Rodrigues

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
gertru...@solutti.com.br
My SPAMTRAP, do not email it






[Dovecot] configuring overquota message

2010-02-16 Thread Leonardo Rodrigues


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
gertru...@solutti.com.br
My SPAMTRAP, do not email it