On 2010-04-06 2:35 PM, Robert Lopez wrote: > If I remove the .db ile (As Noel points out not necessary) then I get > an error because postmap seems to only look in database files: > > $ postmap -q 222.254.228.0/24 cidr-ip > postmap: fatal: open database cidr-ip.db: No such file or directory
Did you miss this from Wietse? "SYNOPSIS > postmap -q "string" cidr:/etc/postfix/filename" Note the 'cidr:/' prefix to the file path/name? Noel already pointed out you need to use a single IP as the key... -- Best regards, Charles