www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Galvin <chr...@godshome.com>
Subject config/1852: General Problem regarding vhost's (mainly DNS and mail)
Date Fri, 20 Feb 1998 21:46:23 GMT

>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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message