Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SENDMAIL - Wrong group? please help

0 views
Skip to first unread message

Andrew Crane

unread,
Oct 13, 1995, 3:00:00 AM10/13/95
to
Sorry if I'm in the wrong group here.

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

Jochen Friedrich

unread,
Oct 16, 1995, 3:00:00 AM10/16/95
to
In <andrew-1209...@medusa.inweb.co.uk>, and...@outweb.com (Andrew Crane) writes:
>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.

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:

Cw inweb.co.uk outweb.com

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

0 new messages