Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 14:30:03 -0600
From:      "Bryan Bunch" <bryanb@walls-media.com>
To:        <freebsd-isp@freebsd.org>
Subject:   Sendmail Question..
Message-ID:  <NCBBKADAOJFBCBLNLMILIEEEDMAA.bryanb@walls-media.com>

next in thread | raw e-mail | index | archive | help
Hello ALl,

I have a quick question about sendmail.

I have a machine that is running v 8.11.2 with the following features:

FEATURE(access_db)dnl
FEATURE(mailertable)dnl
FEATURE(virtusertable)dnl
FEATURE(domaintable)dnl

This server is primarily a web server (web_server), but does outgoing email
through the usage of cgi scripts, etc.

I have one particular web site say xyz.com that is on this machine, but all of
the email for the domain is handled by another machine (mail_server).

There is an A record set up in DNS that points xyz.com to the (web_server)
machine. This is so that if someone just types in xyz.com in their web browser,
they will get the web site. I have a MX record that points to the (mail_server)
machine.

If a CGI script or if I try to send mail from the (web_server) machine, for some
reason it thinks that it is local for the xyz.com domain, even though I do NOT
have it listed in my local-host-names file. If am at any other machine mail
works fine and gets routed to the proper machine. I'm assuming that this has
something do to with the A record of xyz.com that points to (web_server). I have
tried an entry in my mailertable:

.xyz.com	smtp:mail_server

This does not work. The only way that I have worked around the problem is by
putting an entry in my virtusertable that maps specific users to the correct
user on the (mail_server) machine.

There must be a simpler way.

TIA..


Bryan



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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