I'm running a multi-homed httpd and want to run mail services for pseudo
domains as well as my own. I'm running a late copy of Sendmail.
I want to do this:
Accept mail for Do this
--------------- -------
us...@inweb.co.uk deliver locally
us...@ratfink.inweb.co.uk forward to us...@another.domain.co.uk
us...@outweb.com deliver locally
us...@personality.co.uk forward to us...@another.domain.co.uk
Any ideas?
I have a Cw to all of the domains in question, all of which have separate
IP addresses. At the moment, if I send to andrew@ any of these, the mail
is delivered locally to and...@inweb.co.uk.
Any help would be greatly appreciated.
Andrew
--
Andrew Crane, InterWeb Design Ltd, UK
Mails for all host names listed in macro Cw are treated as local. If you want
to get the desired behaviour, do the following:
Set macro w to the host names you want to deliver locally:
Then add some rules to S0 to route the mails for the other domains:
R$*<@ratfink.inweb.co.uk>$* $#smtp$@another.domain.co.uk$:$1<@another.domain.co.uk>$2
R$*<@personality.co.uk>$* $#smtp$@another.domain.co.uk$:$1<@another.domain.co.uk>$2
I hope this helps...
Cheers,
Jochen