Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 12430 invoked by uid 6000); 20 Feb 1998 21:50:13 -0000 Received: (qmail 12360 invoked by uid 2001); 20 Feb 1998 21:50:01 -0000 Received: (qmail 11434 invoked by uid 2012); 20 Feb 1998 21:46:23 -0000 Message-Id: <19980220214623.11432.qmail@hyperreal.org> Date: 20 Feb 1998 21:46:23 -0000 From: Christopher Galvin Reply-To: chrisg@godshome.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: config/1852: General Problem regarding vhost's (mainly DNS and mail) Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 1852 >Category: config >Synopsis: General Problem regarding vhost's (mainly DNS and mail) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: support >Submitter-Id: apache >Arrival-Date: Fri Feb 20 13:50:01 PST 1998 >Last-Modified: >Originator: chrisg@godshome.com >Organization: apache >Release: 1.3b3 and 1.2.5 and 1.3a1 >Environment: Linux v2.x Solaris 2.5 >Description: This problem will only occur if your mail server is not the web server. What happens is if you want to have a domain say test.com.. DO NOT PLACE test.com in your DNS under your reverse pointer tables as the first entry! Enter www.test.com and then test.com. If you try to send e-mail, sendmail looks at the route you have in place (45.34.2.1 -> test.com) from your network.conf file (order hosts, bind or bind, hosts) and believes that test.com is local. >How-To-Repeat: Try it out: if your mailserver is different from your webserver, put apache.org as the first entry under the reverse tables 149 IN PTR apache.org. 149 IN PTR www.apache.org. mail originating from the webserver will no longer work if sent to *@apache.org. But will work if the entries are reversed. >Fix: hostname before domain name >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]