On Wed, 2009-01-07 at 08:25 -0500, Wietse Venema wrote: > ram: > > > > On Tue, 2009-01-06 at 09:57 -0500, Victor Duchovni wrote: > > > On Tue, Jan 06, 2009 at 07:58:07PM +0530, ram wrote: > > > > > > > [r...@50.133 postfix]# postmap -q t...@netcore.co.in > > > > cdb:/etc/postfix/vmap > > > > r...@netcore.co.in > > > > [r...@50.133 postfix]# postmap -q t...@netcore.co.in > > > > cdb:/etc/postfix/vmap > > > > [r...@50.133 postfix]# > > > > > > Well, that's not how CDB tables work here, looks someone helpfully > > > modified your CDB driver or Postfix dictionary lookup interface. > > > The results below are obtained from Wietse's Postfix 2.5.5 code: > > > > > > > which CDB package ( rpm ? ) does this use > > > > I downloaded the package from > > http://www.corpit.ru/mjt/tinycdb.html#download > > > > created & installed the rpm on a centos 5 box > > I'm using tinycdb-0.75, with the Postfix CDB driver of Postfix 2.4, > 2.5 and 2.6. > > % echo FOO this is FOO >x > % postmap cdb:x > % postmap -q FOO cdb:x > this is FOO > % postmap -q foo cdb:x > this is FOO > % > > % echo foo this is foo >x > % postmap cdb:x > % postmap -q FOO cdb:x > this is foo > % postmap -q foo cdb:x > this is foo > % > > With all Postfix versions, the postmap command by default always > case folds CDB lookup keys, both on create and on query. > I tried with the src rpm at http://ftp.wl0.org/official/2.5/SRPMS/postfix-2.5.5-1.src.rpm
Same problem postmap does not fold the lookup keys I have put all the rpms I am using here .. including the tinycdb rpms https://ecm.netcore.co.in/tmp/postfix/ > If someone is distributing "improved" Postfix versions then you > need to file a complaint. > > Wietse