From owner-freebsd-questions Thu Nov 9 10:40:53 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA00136 for questions-outgoing; Thu, 9 Nov 1995 10:40:53 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA00106 for ; Thu, 9 Nov 1995 10:40:21 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA29364; Thu, 9 Nov 1995 11:33:32 -0700 From: Terry Lambert Message-Id: <199511091833.LAA29364@phaeton.artisoft.com> Subject: Re: Problems with mail reception To: piero@strider.ibenet.it Date: Thu, 9 Nov 1995 11:33:31 -0700 (MST) Cc: amengual@sadeya.cesca.es, hostmaster@host.bemarnet.es, questions@freebsd.org In-Reply-To: <199511091500.QAA27325@strider.ibenet.it> from "Piero Serini" at Nov 9, 95 04:00:34 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1987 Sender: owner-questions@freebsd.org Precedence: bulk > > I would never say that this has "nothing to do" with MX records. Putting > > an MX record and changing Cw line of sendmail.cf not only is a simple > > way to do it (many, if not most systems, won't even have installed the > > "/usr/src/usr.sbin/sendmail/cf" path for m4 macro config), but has its own > > advantages as it will be easy to follow when someone tries to install > > more machines under the domain. In fact, it is the preferred procedure at > > many places. My own machine is arranged this way. > > And it will NOT *send* e-mail as antonio@bemarnet.es. Please, > read the question again, and again, and note this part: "I need > to send and receive mail using addresses like antonio@bemarnet.es > ^^^^^^ > instead of antonio@host.bemarnet.es". Apply this patch: ============================================================================ *** /etc/sendmail.cf.org Mon Aug 28 15:15:52 1995 --- /etc/sendmail.cf Wed Aug 30 11:32:46 1995 *************** *** 86,92 **** DH # who I masquerade as (null for no masquerading) ! DM # class L: names that should be delivered locally, even if we have a relay # class E: names that should be exposed as from this host, even if we masquerade --- 86,92 ---- DH # who I masquerade as (null for no masquerading) ! DMbemarnet.es # class L: names that should be delivered locally, even if we have a relay # class E: names that should be exposed as from this host, even if we masquerade ============================================================================ This will cause you to send with the domain name as the host name. This affects outgoing mail only. To answer incoming SMTP as if you were the domain requires more hacking and is only necessary if you are anal about hacking your local hosts file and/or searching bind first for host names. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.