From owner-freebsd-questions Fri May 31 08:28:12 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA18699 for questions-outgoing; Fri, 31 May 1996 08:28:12 -0700 (PDT) Received: from watermarkgroup.com (lor.watermarkgroup.com [38.246.139.30]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA18686 for ; Fri, 31 May 1996 08:28:07 -0700 (PDT) Received: from Kim.watermarkgroup.com by watermarkgroup.com (4.1/SMI-4.1) id AA22470; Fri, 31 May 96 11:34:22 EDT Message-Id: <31AF0FD1.3A2@watermarkgroup.com> Date: Fri, 31 May 1996 11:27:13 -0400 From: Luoqi Chen Organization: The Watermark Group X-Mailer: Mozilla 3.0b3Gold (Macintosh; I; PPC) Mime-Version: 1.0 To: mikel@esimene.cynet.net.au Cc: freebsd-questions@freebsd.org Subject: Re: How to setup the following mail config References: <199605310608.QAA10103@esimene.cynet.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mikel Lindsaar wrote: > > My ISP has setup the following: > > esimene.cynet.net.au. IN A 203.24.16.1 > cynet.net.au. IN A 203.24.16.1 > > Now... > > I have a reachable mail id (mikel@esimene.cynet.net.au) > > now I want to be able to have the alias mikel@cynet.net.au working... ie, > mail going to that address gets handled by esimene.cynet.net.au and > recieved by the appropriate user on esimene.cynet.net.au > My solution is go into sendmail.cf, change the "DM" line to DMesimene.cynet.net.au then sendmail with automatically replace the name of your local machine to esimene.cynet.net.au. You may also want to add in Ruleset 1 (sender address rewriting), after line "S1", one more rule to map all local login ids to mikel, S1 R$* mikel After these changes, you may send mails as usual, sendmail will rewrite the sender's address to mikel@esimene.cynet.net.au. Replies will go to that address and you can retrieve them using a POP client. -lq