From owner-freebsd-isp Tue Jul 9 18:33:11 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA23726 for isp-outgoing; Tue, 9 Jul 1996 18:33:11 -0700 (PDT) Received: from guardian.fortress.org (fortress.org [199.84.158.128]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA23719 for ; Tue, 9 Jul 1996 18:33:06 -0700 (PDT) Received: (from andrew@localhost) by guardian.fortress.org (8.6.12/8.6.12) id VAA29203; Tue, 9 Jul 1996 21:33:05 -0400 Date: Tue, 9 Jul 1996 21:33:02 -0400 (EDT) From: Andrew Webster Reply-To: andrew@pubnix.net To: Santiago Zapata cc: freebsd-isp@freebsd.org Subject: Re: mx records & sendmail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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