Re: [exim] Quota Problem

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-users
Assumpte: Re: [exim] Quota Problem
Evgeniy Berdnikov <bd4@???> (Mo 15 Feb 2016 09:58:11 CET):

> I do not belive that you can get different results running identical
> SQL queries in different places. So this is not an Exim issue, but
> definitely your coding bug,
>
> Indeed, in one place your "virtual_delivery" tranport has letter "M"
> appended to the extracted quota value:
>
> >   quota = ${lookup mysql{select users.quota from users,domains \
> >                 where localpart = '${quote_mysql:$local_part}' \
> >                 and domain = '${quote_mysql:$domain}' \
> >                 and users.domain_id = domains.domain_id}{${value}M}}
> -----------------------------------------------------------^^^^^^^^^


Was was looking for such typo, but didn't see it. Thank you for pointing
it out.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -