Re: [exim] testing a quota value pulled in from LDAP

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] testing a quota value pulled in from LDAP
Pat Hastings wrote:
> Is possible to change the code that reads in the quota from the LDAP
> (quota = ${extract{quota}{$address_data}}) so that it pulls in the quota
> from ldap but if the value is 0k then it defaults it to say 100M?


Something like

quota = ${sg {${extract{quota}{$address_data}}} {\N^0k\N} {100M}}

maybe?


Cheers,
Jeremy