jalal
09-11-2003, 05:50 AM
After my account was transferred, all my email aliases/redirects had disappeared, and with the slow speed of the Site Manager, it would have taken a few hours to enter them all by that method. Here is a quicker way.
My old ~/.redirect file had been renamed to ~/.redirect.bak.
The new mail information is stored in /etc/mail.
Open up the /etc/mail/aliases file in your favorite editor (why don't we have 'vim' on Westhost2?) and add all the old redirect names into this file. If you are comfortable with *nix and vi, then you can do something like:
$ cat ~/.redirect.bak >> /etc/mail/aliases
and then edit the results. The necessary changes should be clear from the examples that are in there already (near the end).
Also, edit the file /etc/mail/.alias_type, each line has the form:
boris:Email
to make it an email alias.
There is one other file that needs to be changed, but I'm not sure of the purpose, that is /etc/mail/virtusertable. Again, the format should be clear when the file is opened.
Then run the command:
$ newaliases
and the aliases should appear in the control panel.
HTH someone. It saved me a couple of hours.
Tim
My old ~/.redirect file had been renamed to ~/.redirect.bak.
The new mail information is stored in /etc/mail.
Open up the /etc/mail/aliases file in your favorite editor (why don't we have 'vim' on Westhost2?) and add all the old redirect names into this file. If you are comfortable with *nix and vi, then you can do something like:
$ cat ~/.redirect.bak >> /etc/mail/aliases
and then edit the results. The necessary changes should be clear from the examples that are in there already (near the end).
Also, edit the file /etc/mail/.alias_type, each line has the form:
boris:Email
to make it an email alias.
There is one other file that needs to be changed, but I'm not sure of the purpose, that is /etc/mail/virtusertable. Again, the format should be clear when the file is opened.
Then run the command:
$ newaliases
and the aliases should appear in the control panel.
HTH someone. It saved me a couple of hours.
Tim