[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] mails of 2 domains -> to 1 domain
- Subject: RE: [cobalt-users] mails of 2 domains -> to 1 domain
- From: Rodolfo Paiz <rpaiz@xxxxxxxxxxxxxx>
- Date: Sat Feb 17 13:17:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> ...sorry, but your solution doesn't work. Now I will
> create a new virtual site for the domain1.net with
> forwardings of each mail alias to alias@xxxxxxxxxxxxxx
It would be useful to know why it didn't work, whether it produced
errors, or what. We can't do telepathy with your server, Ben. And
although there are some very capable people on this list, remember the
GIGO rule... Garbage In, Garbage Out.
> Does anybody know whether a module for sendmail exists which
> can relay mails (alias@xxxxxxxxxxx) by analyzing their
> aliases and send them to alias@xxxxxxxxxxxxxxx
This is the virtusertable at work. On Sendmail 8.11.0, the file is
located in the /etc/mail directory.
Go there. Make a backup of the file. Now edit it, and add a line:
@domain1.com [tab or tabs but no spaces] %1@xxxxxxxxxxxxxx
Save and exit, then type the following two commands:
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
kill -HUP `head -n 1 /var/run/sendmail.pid`
The first line rebuilds the virtusertable database, the second restarts
sendmail. Note that the ` characters are BACKQUOTES; be careful about
this. You should now be hunky-dory.
I have a simple virtusertable file (created exclusively with
instructions from Jeff Lasman) which I can mail to you as an example if
you want it. I now understand it, but I created it blindly back then. :)
--
Rodolfo J. Paiz
rodolfo@xxxxxxxx <mailto:rodolfo@xxxxxxxx>