Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 1996 21:33:02 -0400 (EDT)
From:      Andrew Webster <andrew@fortress.org>
To:        Santiago Zapata <szapata@data.net.mx>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: mx records & sendmail
Message-ID:  <Pine.BSF.3.91.960709212013.28827K-100000@guardian.fortress.org>
In-Reply-To: <v01540b02ae089fdf8393@[200.13.16.116]>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 9 Jul 1996, Santiago Zapata wrote:

> Hi:
> 
> I am trying to setup a DNS & mail server. I would like to have e-mail
> addresses like: name@my_domain.

Hi, 

There are a couple of "Tricks" to get this working.

1. Setup MX records inside SOA for mydomain.com to point to your mail host.
2. Edit your sendmail.cf file and looke for a line that beings with Cw.  
   You need to list your mail host here as well as ALL the domains that
   you will be receiving mail for.  Each item in the list is separated with
   a space.  If you prefer, use Fw /etc/sendmail.domains and put these hosts
   in the file /etc/sendmail.domains.

3. Edit sendmail to direct the mail as desired.
   
4. Test your configuration using "sendmail -bt -oQ/tmp"

5. When everything is okay, restart sendmail by "killing" it, don't
   use KILL -HUP, it doesn't work!  Restart sendmail with 
   "sendmail -bd -q15m".

An excellent "virtual mail domain" FAQ can be found at the following site 
+ other neat goodies like virtual domain FTP etc.
http://remarkable.amazing.com/internet/virtual-homer.html

Have fun!

Andrew Webster  - andrew@pubnix.net - http://www.pubnix.net
PubNIX Montreal - Connected to the world - Branche au monde
 514-990-5911   - P.O. Box 147, Cote St-Luc, Quebec, H4V 2Y3




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960709212013.28827K-100000>