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

RE: [cobalt-users] Virtusertable.



Hello Jewlz,

> I have had the need to make entries in the Virtusertable 
> recently so that I dont have to set up a virtual server 
> everytime I need a pop3 account for a domain.
> 
> This works great, however, in order to get the system to 
> recognise the changes I have to go into a siteadmin and 
> make/delete a user.
> 
> Is there a way of getting the system to recognise the changes 
> (i.e. build the database) through the command line without 
> the time factor of going into the GUI etc. Running newaliases 
> does not seem to do the trick.

Running newaliases won't work as this is only affective for changes to the
/etc/aliases files (and any other alias files that you may have) in building
the aliass database.

To regenerate the virtusertable database after having made changes to
/etc/virtusertable you need to use the command:

makemap hash /etc/virtusertable < /etc/virtusertable

Regards,
Jonathan Michaelson

Way to the Web Ltd
Commercial CGI Scripting, Web Hosting
http://www.waytotheweb.com