gnu@sun.uucp (John Gilmore) (07/12/84)
To cause sendmail to alias one system name for another, you need to add rewriting rules to /usr/lib/sendmail.cf . If you actually want the modified address to appear in headers, hack a change into ruleset 8 or ruleset 3. If you just want to leave the headers alone but have uucp send it to 'amd', fix it in ruleset 0 as follows. Dup the line(s) that resolve to the uucp mailer and add in the hostname explicitly in both the left and right halves. You'll have to renumber the $1, $2, etc in the right half after replacing a $- in the left with 'amd70'. E.g. in our sendmail.cf, I'd change: # resolve UUCP domain R<@$-.uucp>:$+ $#uucp $@$1 $:$2 @host.uucp:... R$+<@$-.uucp> $#uucp $@$2 $:$1 user@host.uucp To: # Hackery to route uucp mail for amd70 to 'amd' R<@amd70.uucp>:$+ $#uucp $@amd $:$1 @host.uucp:... R$+<@amd70.uucp> $#uucp $@amd $:$1 user@host.uucp # resolve UUCP domain R<@$-.uucp>:$+ $#uucp $@$1 $:$2 @host.uucp:... R$+<@$-.uucp> $#uucp $@$2 $:$1 user@host.uucp More info is in the sendmail installation guide. Note the time this message was sent and please be charitable about typos and mindos...