I'd like to redirect certain destination addresses in somebody else's
domain while leaving the non-matching addresses in that domain for
delivery on to the proper MX host.
e.g. "geo...@otherguy.com" gets delivered to a local mailbox "george", but
all other "@otherguy.com" addresses get delivered via the otherguy.com MX
using normal procedures.
I looked at virtuser, but that requires putting the target domain in the
Cw list, which I probably do NOT want to do as I don't want to interfere
with delivery of non-matching addresses.
Is this possible with just some simple sendmail.mc options? Or do I have
to go spelunking in the .cf file?
Thanks!
--
John Hardin KA7OHZ <jo...@aproposretail.com>
Internal Systems Administrator voice: (425) 672-1304
Apropos Retail Management Systems, Inc. fax: (425) 672-0192
-----------------------------------------------------------------------
"Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
does quite what I want. I wish Christopher Robin was here."
-- Peter da Silva in a.s.r
-----------------------------------------------------------------------
virtusertable works for non-local domains as well; use
VIRTUSER_DOMAIN(`otherguy.com')
As a side effect, VIRTUSER_DOMAIN will add otherguy.com to class {R}, i.e.
allow relaying to and from that domain. If this is undesirable, add it
directly to class {VirtUser}:
LOCAL_CONFIG
C{VirtUser}otherguy.com
That did it! Thanks!
--
John Hardin KA7OHZ <jo...@aproposretail.com>
Internal Systems Administrator voice: (425) 672-1304
Apropos Retail Management Systems, Inc. fax: (425) 672-0192
-----------------------------------------------------------------------
If you smash a computer to bits with a mallet, that appears to count
as encryption in the state of Nevada.
- CRYPTO-GRAM 12/2001
-----------------------------------------------------------------------