[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] FW: using %1@xxxxxxxxxxx to forward all e-mail to other company's domain
- Subject: Re: [cobalt-users] FW: using %1@xxxxxxxxxxx to forward all e-mail to other company's domain
- From: Nico Meijer <nico.meijer@xxxxxxxxx>
- Date: Wed Nov 7 01:22:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
I read in the sendmail manual
(http://www.sendmail.org/virtual-hosting.html) :
Did you also read on that page:
"Create the virtual user table."
It is already created: /etc/virtusertable.
When I try to add the %1@xxxxxxxxxxxxxxxx alias as an alias for
the @www.yourdomain.com in the controlpanel for the users e-mail
settings, I get an error message.
You have to do this manually in /etc/virtusertable.
pico/nano/vim/joe/$EDITOR this file and put that line at the end.
Furthermore, delete the line (Ctrl-K in pico/nano) that says something
like "@www.yourdomain.com error: no such user here".
Then, from /etc run the following command (no quotes):
"makemap hash virtusertable < virtusertable".
This will create or update /etc/virtusertable.db. No need to restart
sendmail, IIRC.
One important thing (happens on my RaQ3): the Cobalt GUI will 'scr*w' up
virtusertable every time you make a change to *anything* related to
e-mail (add vsite, change alias for user, whatever). You have to dig in
and redo the above.
Perhaps there is a virtusertable.master or something which will allow
you to make your changes permanent. Please check this. Personally, I
don't edit *.master files.
Tip: get the vrfy program (perhaps RedHat 6.2 rpm from
http://rpmfind.net). It will let you "vrfy" or "check-email" e-mail
addresses, so you can test everything still works if you change anything.
HTH... Nico