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

Re: [cobalt-users] Virtusertable



At 16:45 02/03/01 +0530, you wrote:
>Hello,
>
>I am facing problem with virtusertable.db. The new Pop-Before_SMTP is
>not taking the old virtusertable.db. I need to recreate this. Can
>someone, please, send me command to generate this.
>
>Thanks

Hi Vijay,

makemap hash /etc/virtusertable.db < /etc/virtusertable


Here is my handy and simple perl script to up date the virtusertable.
Saved it under /usr/local/bin as newvirt (or any of your choice) 
Then as a root user simply execute the command: 
newvirt 

---------- 
#! /usr/bin/perl 
system("makemap hash /etc/virtusertable.db < /etc/virtusertable"); 
exit; 
-------- 


Best regards,
Babu P. Yogarajah <bpy@xxxxxxxxx>
___________________________________________________
99p Domain Registration Scheme -> http://99p.org/