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

Top Pagina
Delete this message
Reply to this message
Auteur: Pat Hastings
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] testing a quota value pulled in from LDAP
Thanks I will give that a try

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]
On Behalf Of Jeremy Harris
Sent: 18 March 2007 21:41
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

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]


---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]