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

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: 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