From owner-freebsd-questions Tue Jul 8 01:14:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA04604 for questions-outgoing; Tue, 8 Jul 1997 01:14:33 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA04583 for ; Tue, 8 Jul 1997 01:14:22 -0700 (PDT) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id LAA01071; Tue, 8 Jul 1997 11:12:42 +0300 (IDT) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma001065; Tue Jul 8 11:12:32 1997 Message-ID: <33C1F652.17B2@barcode.co.il> Date: Tue, 08 Jul 1997 11:12:02 +0300 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: GYegoroff CC: freebsd-questions@FreeBSD.ORG Subject: Re: Virtual domain References: <199707081451.UAA01263@gy.sibtel.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk GYegoroff wrote: > > Hi , my post host location is sibtel.ru , it's named gy.sibtel.ru . > How and what I can configure , that all recipients of my mail host may > addresing not name@gy.sibtel.ru for example , but name@sibtel.ru . > FreeBSD 2.2.1 version . You need to establish an MX for sibtel.ru that will point to gy.sibtel.ru in your DNS server, and then configure sendmail to accept email destined at this address, either by adding the line sibtel.ru to the /etc/sendmail.cw file (if you have one), or by adding it directly to the w class in sendmail.cf. This sums up to something like: @ IN MX 10 gy.sibtel.ru. in the DNS file for the sibtel.ru domain, and either: sibtel.ru in /etc/sendmail.cw (with Fw /etc/sendmail.c in sendmail.cf) or: Cwgy.sibtel.ru sibtel.ru in /etc/sendmail.cf Don't forget to kill -HUP your named server and to restart sendmail. Nadav