Subject: Re: about configureing sendmail.cf
To: Mitsuru Arai <tmisty@hongo.ecc.u-tokyo.ac.jp>
From: Mark Andres <mark@ratbert.aisol.net>
List: port-mac68k
Date: 11/17/1997 21:42:43
Hello Arai-san,

Here is how I do it.  In /etc/sendmail find the section that says "local
info".  At the beginning of this section, you should see a line that says:

  Cwlocalhost

After that line, enter the following line:

  Fw-o /etc/sendmail.cw

This tells send mail to look in the /etc/sendmail.cw file for a lists of
hostnames that it is allowed to accept mail for.  Here is how my section
looks in my /etc/sendmail.cf file:


  ##################
  #   local info   #
  ##################

  Cwlocalhost
  # File containing the names of hosts for which we receive mail.
  Fw-o /etc/sendmail.cw

Now, create a file /etc/sendmail.cw  In this file, you list the fully
qualified domain names of all the hosts that you will accpet mail for, one
on each line.  In your case, the /etc/sendmail.cw file should look like
this:

  explosion.t.u-tokyo.ac.jp
  explosion.chem.t.u-tokyo.ac.jp

Sendmail should then accept e-mail for both domains.  Of course, you have
to kill and restart sendmail after you make these changes to the config
files.

Mark

On Mon, 17 Nov 1997, Mitsuru Arai wrote:

> I'm using my NetBSD-mac as a mail server.
> 
> Thank to the help from the members from port-mac, 
> 
> I have no plobrem at all so far.
> 
> However, now I am going to have another problem.
> 
> Our LAN manager has a plan to change our domainname from
> 
> t.u-tokyo.ac.jp
> 
> to
> 
> chem.t.u-tokyo.ac.jp
> 
> from this comming December, and they said they are going to set their
> 
> DNS configulation so that both mails (sending to explosion.t.u-tokyo.ac.jp
> 
>  and explosion.chem.t.u-tokyo.ac.jp) can be sent to my machine.
> 
> But they also told me I have to configure my sendmail.cf to be able to 
> 
> receive both mails. 
> 
> Could you tell me how to configure my sendmail.cf ?

Mark Andres                  E-mail: mark@ratbert.aisol.net
          Running NetBSD, 100% Microsoft Free!
Me: /www2.giganet.net/~mark/ NetBSD: /bullwinkle.aisol.net/