[TriLUG] stupid sendmail question
Thu, 18 Jul 2002 15:46:51 -0400 (EDT)
Okay, so I want to configure a box to receive mail for "old-domain.ocm"
and forward it to "new-domain.ocm" (leaving the user portion the same).
New-domain.ocm is a different server. Yes, I know it would be simpler to
program that server to receive mail for old-domain, but I can't do that
for strange political reasons.
I've been told this can be done in sendmail with an entry in
/etc/mail/virtusertable like this:
("makemap hash virtusertable.db < virtusertable" to apply the changes, of
If I don't put old-domain.ocm in /etc/mail/local-host-names (formerly
sendmail.cw), then I get Relaying Denied messages. But if I do add
old-domain.ocm to that list, sendmail tries to receive mail locally
instead of following the virtusertable instructions (usually resulting in
User Not Found). What am I doing wrong?
Thanks for any tips. I'm sure I'm missing something completely obvious
here. Running RHL 6.2 (don't ask) with sendmail 8.11.6-1.6.y .