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

Re: [cobalt-users] destroyed /etc/virtusertable



> 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