From owner-freebsd-isp Mon Feb 12 12:30: 6 2001 Delivered-To: freebsd-isp@freebsd.org Received: from sm8.texas.rr.com (sm8.texas.rr.com [24.93.35.220]) by hub.freebsd.org (Postfix) with ESMTP id B37C837B4EC for ; Mon, 12 Feb 2001 12:30:01 -0800 (PST) Received: from bryanhome (cs164208-129.jam.rr.com [24.164.208.129]) by sm8.texas.rr.com (8.11.0/8.11.1) with SMTP id f1CKSEM26728 for ; Mon, 12 Feb 2001 14:28:14 -0600 From: "Bryan Bunch" To: Subject: Sendmail Question.. Date: Mon, 12 Feb 2001 14:30:03 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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