news@matrox.UUCP (USENET News adm) (01/21/89)
My system is an IBM-RT running AIX 2.2 with Sendmail 4.03. We are connected to several uucp sites. We also are connected to a small internet. One of the internet sites is bringing up ANU News under VMS. My problem is that if a user on the VMS site posts a message to some newsgroup, the return path the rest of the world sees is: uucpsite!matrox!vmssite!user Once the message gets to me, mail tries to send the message to vmssite!user. Sendmail gives it to uucp to deal with (because of the '!') and uucp barfs saying it doesn't know about vmssite. I can't just change the rules dealing with '!'s because there are serveral other sites I feed mail to and fro via uucp. The vmssite doesn't have a uucp deamon or any other way to deal with uucp. Can Sendmail do what I need? (i.e. for selected sites rewrite site!user to user@site but for others leave it alone.) How do I get Sendmail to do this? thanks in advance, rob uunet!uvm-gen!matrox!rob (514) 685-2630 x318
karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) (01/23/89)
news@matrox.UUCP (USENET News adm) writes:
My problem is that if a user on the VMS site posts a message to some
newsgroup, the return path the rest of the world sees is:
uucpsite!matrox!vmssite!user
Sendmail gives it to uucp to deal with (because of the '!') and uucp barfs
Try this:
CUvmssite1 vmssite2 OtherNonUucpSitesWhichCanPostNews
R$=U!$+ $2@$1 Fake UUCP: it's really an SMTP site
Stuff it in just before the generic ! detector. Personally, I'd do it
in S0, for delivery only, rather than hacking the header in S3, thus
preserving the syntax used there. But that might not be optimal -
your mileage will vary.
If the class U gets too large, you probably want to put it in a file
instead, and use FU rather than CU.
--Karl