[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] destroyed /etc/virtusertable
- Subject: Re: [cobalt-users] destroyed /etc/virtusertable
- From: "Rob" <dillybar1@xxxxxxxxxxxxxx>
- Date: Wed Feb 6 16:41:07 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Either way, the RAQ3 knows how to update the virtusertable.. if we could
> figure out how it does it from the GUI the solution would not be far off
glancing at Mail.pm i noticed the subs mail_virtuser_change_domain which should rewrite
/etc/virtusertable and mail_build_virtusertable which should build /etc/virtusertable.db using
entries in /etc/virtusertable.
So, a simple script that calls Cobalt::Mail::mail_virtuser_change_domain for each vsite and then
invokes Cobalt::Mail::mail_build_virtusertable should do the trick, i would think.
-Rob