<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>I've tried that (i.e. the < redirect) as described in the wiki, tried with different spaces , and it didn't work, thus the email to the mailing list. the text there is simply absent in the email that is sent out. on a side note, I've tried to use file in /tmp/test and the behavior is funny, I get:</div><div><br></div><div> doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/90-quota.conf line 96: quota_exceeded_message: Can't open file /tmp/test: No such file or directory</div><div><br></div><div>but If I place it under / or under /etc/dovecot , the daemon runs fine, yet as described, the content is not included in the message sent out!<br></div><div><br></div><div>M.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 25 Oct 2018 at 00:13, Aki Tuomi <<a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 24 October 2018 at 22:54 "Maysara A. Abdulhaq" <
<a href="mailto:maysara.abdulhaq@gmail.com" target="_blank">maysara.abdulhaq@gmail.com</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Greetings,
</div>
<div>
<br>
</div>
<div>
I've been trying to have quota_exceeded_message read from a file according
</div>
<div>
to
</div>
<div>
<a href="https://wiki2.dovecot.org/Quota/Configuration#Custom_Quota_Exceeded_Message" rel="noopener" target="_blank">https://wiki2.dovecot.org/Quota/Configuration#Custom_Quota_Exceeded_Message</a>
</div>
<div>
; I'm running dovecot 2.2.10 on Centos 7. If I set text right to the equal
</div>
<div>
sign, it works fine, but I'd rather load it from a file as I need a new
</div>
<div>
line and %n and \n and simple \ followed by a newline are not working and
</div>
<div>
would understandably crash the processes if malformed.
</div>
<div>
<br>
</div>
<div>
nothing special about my setting, the file is located in the /etc/dovecot
</div>
<div>
directory but separate from the config files (not in the conf.d directory),
</div>
<div>
with a world readable permission.
</div>
<div>
<br>
</div>
<div>
Regards,
</div>
<div>
<br>
</div>
<div>
M.
</div>
</blockquote>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Try quota_exceeded_message =</path/to/file
</div>
<div>
<br>
</div>
<div class="m_6308305227234587678io-ox-signature">
---
<br>Aki Tuomi
</div>
</div>
</blockquote></div>