Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 1995 11:33:31 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        piero@strider.ibenet.it
Cc:        amengual@sadeya.cesca.es, hostmaster@host.bemarnet.es, questions@freebsd.org
Subject:   Re: Problems with mail reception
Message-ID:  <199511091833.LAA29364@phaeton.artisoft.com>
In-Reply-To: <199511091500.QAA27325@strider.ibenet.it> from "Piero Serini" at Nov 9, 95 04:00:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511091833.LAA29364>