Date: Wed, 10 Jul 1996 16:43:47 +0200 (METDST) From: Ollivier Robert <ollivier.robert@eurocontrol.fr> To: gpalmer@freebsd.org (Gary Palmer) Cc: doc@freebsd.org Subject: Re: Santiago Zapata: mx records & sendmail Message-ID: <199607101443.AA136579828@euro.eurocontrol.fr> In-Reply-To: <29560.836957828@palmer.demon.co.uk> from Gary Palmer at "Jul 10, 96 01:17:08 am"
index | next in thread | previous in thread | raw e-mail
According to Gary Palmer:
> Someone want to add an appropriate question/answer for this to the
> FAQ? It's getting to be a VERY FAQ, and is definate material for the
> FAQ, even after we get the mail handbook section written...
>
> Thanks
>
> Gary
> ------- Forwarded Message
>
> Date: Tue, 09 Jul 1996 17:56:05 -0600
> From: szapata@data.net.mx (Santiago Zapata)
> To: freebsd-isp@FreeBSD.org
> Subject: mx records & sendmail
>
> Hi:
>
> I am trying to setup a DNS & mail server. I would like to have e-mail
> addresses like: name@my_domain.
>
Here we go (no time to SGMLify it sorry):
Q: I want to configure my sendmail to emit only user@domain.name but it keeps
bombing with a "MX points back to myself" error. What can I do ?
A: To send and receive mail with only the domain part of an address, you'll
need to do this:
- use
MASQUERADE_AS(domain.name)
in the whatever.mc file you've written in order to change all outgoing
mail messages,
- make the MX record for the domain point to the mail server
domain.name. IN MX 10 mailhost.domain.name.
- insert the following in the whatever.mc file
FEATURE(use_cw_file)
Using this feature is easier than just put domain.name in Cw because
you'll not need to re-m4 the file each time you add a new domain.
- create a file named by defult /etc/sendmail.cw and add the following:
domain.name
in it. "domain.name" is now a "local" address.
--
Ollivier ROBERT -=- Eurocontrol EEC/TIS -=- Ollivier.Robert@eurocontrol.fr
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607101443.AA136579828>
