Re: [exim] Exim 4.80 RC4 uploaded

Top Page
Delete this message
Reply to this message
Author: Christopher Bodenstein
Date:  
To: exim-users
Subject: Re: [exim] Exim 4.80 RC4 uploaded
On Tue, May 22, 2012 at 08:03:30AM -0700, Todd Lyons wrote:
> Could you do a sg{$var}{,,}{,} (Equivalent to $var =~ s/,,/,/g) on
> that returned value? I don't know that there is a clean way to
> actually do this :-/
>


Actually, here is what I had (I'm using macros):
ALLQUOTA = ${extract {mailquota} { GETITALL }}
QUOTAVAL = ${extract {1} {","} { ALLQUOTA }}
QUOTAFILEVAL = ${extract {2} {","} { ALLQUOTA }}

just replacing QUOTAFILEVAL by

QUOTAFILEVAL = ${extract {3} {","} { ALLQUOTA }}

seems to be doing the trick.

I was just a bit puzzled by the fact the the size quota was obviously
still working while the file count quota wasn't. ;)

Well, all good now.

> ...Todd
> --
> Always code as if the guy who ends up maintaining your code will be a
> violent psychopath who knows where you live. -- Martin Golding


Best regards,

Chris

-- 
Christopher Bodenstein   -   christopher.bodenstein@???
           CB8461-RIPE   -   Systems Administrator
    Easynet Belgium SA   -   http://www.be.easynet.net/
     "Great acts are made up of small deeds." Lao Tsu