[TriLUG] stupid sendmail question

H. Wade Minter minter at lunenburg.org
Thu Jul 18 15:47:32 EDT 2002


On Thu, 18 Jul 2002, Jeremy Portzer wrote:

>
> 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

This is what I use in my virtusertable:

# Example of forwarding all mail for one domain to another
@olddomain.com                       %1 at newdomain.com

-- 
If you have a VCR or MP3 player, you need to read these links:

http://www.digitalconsumer.org/
http://digitalspeech.org/
http://www.libertyboard.org/




More information about the TriLUG mailing list