[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] missing virtusertable.db



At 15:10 10/10/00 +0200, you wrote:
>"Dylan O'Donnell" <dylan@xxxxxxxxxxxxxx> writes:
>
>> Should /etc/virtusertable.db  be recreated when I run - 
>
>> makemap hash /etc/virtusertable < /etc/virtusertable 
>
>Don't -- DON'T run this command.
>
>I haven't tried it -- but looks like something that will ruin your
>virtusertable (unless makemap is smart enough, that it save to the
>same file it's loading from).
>
>> makemap hash /etc/virtusertable.db < /etc/virtusertable 
>
>This is the right command to use.
>
>> working. When I run the makemap command it goes to the next prompt and
>> returns no errors. 
>
>This is correct. There should be no output.
>
>
>-- 
>Jens Kristian Søgaard, Mermaid Consulting I/S,
>jens@xxxxxxxxxxxxxxxxxxxx,
>http://www.mermaidconsulting.com/



You may run the command as
makemap hash /etc/virtusertable < /etc/virtusertable
and there won't be any problem.

Supporting evidence for RAQ3, look in to Cobalt's perl module
/usr/lib/perl5/site_perl/5.005/Cobalt/Email.pm
line 74 reads as
system("$MakeMap_cmd hash $map < $map >>/dev/null 2>&1")
where $MakeMap_cmd = makemap and $map = /etc/virtusertable




Best regards,
Babu P. Yogarajah
___________________________________________________
Luxmi.NET -> Low cost DOMAINS & InterNET services
Web: www.luxmi.net  autoResponder : info@xxxxxxxxx