jave24
02-20-2002, 08:00 AM
My server COBALT RAQ has second time lost all the siteadmin pages of virtual sites and the email aliases of all ..............
...............VirtualSites. I have got a script to rebuild all the siteadmin pages but they dont have the email aliases entries how can i regenerate the email aliases ..............
......................................................................................................
of almost 400 sites .
I need some urgent help
Cephren
02-22-2002, 05:14 AM
If your server is not dead and you can still telnet in or SSH in.....................there is a file in which you can locate all the email aliases and email account lists.
1. go into server through telnet
2. su yourself
3. go to /etc/mail
4. do a ls -al
5. you will see couple files: look for "virtusertable"
6. There should be 3 of those files. Just do a simple pico of the right one and inside you will find it.
What I suggest is that once you find the correct file, ftp it out to your workstation and either print it out or use wordpad or notepad and use the find command for each domain name. That will help you sort out faster.
The files has the following first 3 lines:
# This file is automatically generated
# Please put custom changes at the end
# Cobalt Networks 1998
(followed by)
info@www.somedomain.com franky
"franky" is the username
"info" is the alias.
jave24
02-25-2002, 09:39 AM
But Remember ................
I am talking about the Server Email Aliases under the SiteSetting Section
Of Each Virtual Site
Will that work for that "Server Email Aliases" Too
cbtrussell
02-25-2002, 10:16 AM
IIRC, (I don't have access to my SSH client at the moment) everything you need is there. There will be an entry for each server alias and its corresponding host.
HTH,
Brandon