Hello How to get, programatically (C/C++), the value of teh dovecot.conf file of vsz_limit and default_vsz_limit ? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20211120/7488b276/attachment.htm>
> Op 20 nov. 2021 om 18:23 heeft Joan Moreau <jom at grosjo.net> het volgende geschreven: > > ? > Hello > > > > How to get, programatically (C/C++), the value of teh dovecot.conf file of vsz_limit and default_vsz_limit ? >Parse doveconf?> Thank you > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20211120/0720ae60/attachment.htm>
You could try getrlimit RLIMIT_AS. Aki On 20 November 2021 17.22.17 UTC, Joan Moreau <jom at grosjo.net> wrote:> > >Hello > >How to get, programatically (C/C++), the value of teh dovecot.conf file >of vsz_limit and default_vsz_limit ? > >Thank you-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20211121/63f5dc90/attachment.htm>