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

Re: [cobalt-users] Cannot Create Users or email Alias's all of the Sudden on a RAQ550 ADDED



On Tuesday 20 May 2003 00:32, Matt wrote:
> One more thing..
>
> I have two RAQ550's and as a test on the other machine that is working
> great!
>
> In the /etc/mail directory I created a file called
> "virtusertable.backup05192003"
>
> I then ran: makemap hash /etc/mail/virtusertable.db <
> /etc/mail/virtusertable.backup05192003 To make a backup,
>
> BUT,, I then did "vi /etc/mail/virtusertable.backup05192003"  AND That file
> is empty... Shouldn't anything that was in the database been put into that
> backup file? It should look just like the working virtusertable file
> correct?
>
> Am I missing something on this command??
>
> makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable

Yes, you are missing something,
The command takes a text file, in this instance virtusertable makes a perl db 
hashed file out of it, makes a file for fast lookups....

When you run the command perl automatically creates a '.db' hashed file. 
Created from the input text file, virtusertable...
/etc/mail/access.db is created in the same way.

You say your current virtusertable file is empty on the problem server???
Go back to the original (save file) and edit it.
Scan through the file and see if the file has text such as;
=============================================================
#
# /etc/mail/virtusertable
#

# This file is automatically generated
# Please put custom changes at the end
# Cobalt Networks 1998

# Put custom additions below (Do not change/remove this line).

admin@localhost.        admin
root-admin@localhost.   admin
================================================================
Delete all the @@@@ lines before the above text, thne save the file as 
virtusertable then makemap hash of it.

Gerald
-- 
http://frontstreetnetworks.com | http://store.raqware.com
ICQ: 229276628                        | AIM handle: raqware
Front Street Networks LLC      |  Phone: 203-785-0699
229 Front Street, Suite C, New Haven, CT 06513-3203