[TriLUG] stupid sendmail question
Jeremy Portzer
jeremyp at pobox.com
Thu Jul 18 15:46:51 EDT 2002
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:
%1 at old-domain.ocm %1 at new-domain.ocm
("makemap hash virtusertable.db < virtusertable" to apply the changes, of
course)
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 .
--Jeremy
More information about the TriLUG
mailing list