*BSD News Article 56266


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!oleane!tank.news.pipex.net!pipex!news.mathworks.com!gatech2!swrinde!elroy.jpl.nasa.gov!decwrl!tribune.usask.ca!news.sasknet.sk.ca!djb.producer.com!user
From: balderd@producer.com (Dave Balderstone)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Sendmail forwarding of user@domain1.com to user@domain2.com. etc.
Date: Thu, 30 Nov 1995 22:06:26 -0700
Organization: Western Producer Publications
Lines: 22
Message-ID: <balderd-3011952206260001@djb.producer.com>
References: <488jrp$hcf@sneezy.icinet.net>
NNTP-Posting-Host: djb.producer.com
X-Newsreader: Yet Another NewsWatcher 2.0

In article <488jrp$hcf@sneezy.icinet.net>, larryt@goldrush.com wrote:

>Does anyone know how to modify sendmail to allow mail for a user of one
(virtual) domain to be forwarded to 
>a user at another domain?   I know how to forward all mail for a domain
to another domain, but I can't figure out
>how to send each users emal to another user at another domain.

A simple way would be to use the /etc/aliases file. Simply add a listing
for any user you wish to forward mail for like this:
username:      forward_address@machine.forward.domain

If you have many, many users that you want to forward mail for this may be
cumbersome, but for a handful it'll work well.

-- 
Dave Balderstone                 | balderstone@producer.com(via QuickMail)
Western Producer Publications    | balderd@producer.com (via Eudora)
Saskatoon, Canada S7K 2C4        |             OR
306-665-3545, Fax 306-665-9614   |  75211.3630@compuserve.com
--------------------------------------------------------------------------
                    http:// www.producer.com