Danny,
The hello name isn't available at the time when we're setting up the
postmaster. Actually, that was my original suggestion, but I've since
changed my mind. There is no guarantee that the hello name is a domain name
with an MX record. For example, if you were to lookup mail.devtech.com, it
is an A record, and used in an MX record, but is not a domain with a zone.
James doesn't send mail to servers, despite what the <servername> element
implies; we send e-mail to domains, based upon their MX records (although
other apps violate the spec and try a domain's A record).
We specify [EMAIL PROTECTED] such that domain.tld must be in the
servernames collection. The hello name might very well be domain.tld, or it
might be xxxx.domain.tld, but unless xxxx.domain.tld is also in the
servernames collection, the e-mail would be rejected as being non-local, so
we need whatever domain is used to be in the servernames collection.
Frankly, the administrator SHOULD set a valid postmaster entry in the
configuration file, as we tell them to, but we need to tell them to *not*
use @localhost. If there is no "@domain" part of the name, then literally
any valid domain from the servernames collection will get to the postmaster
(due to PostmasterAlias). It isn't our job to pick the most esthetically
pleasing address: let them set the element as the configuration tells them
to do.
I've prepared a patch, and will submit along with the others.
--- Noel
-----Original Message-----
From: Danny Angus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 17:44
To: James Developers List
Subject: RE: Configuration: "[postmaster|root]@localhost"
I give in, you guys are probably right, can we use postmaster at the SMTP
helloName?
Could we then also do:
<postmaster autoDetect="false">me@mydomain</postmaster>
and
<postmaster autodetect="true"/>
just to make it quite clear that its being autodetected.
d.
> -----Original Message-----
> From: Peter M. Goldstein [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2002 20:34
> To: 'James Developers List'
> Subject: RE: Configuration: "[postmaster|root]@localhost"
>
>
>
> Danny,
>
> > No, root@localhost is a reasonable default email address, it is a real
> > email
> > address, it refers to a real account on a real machine.
> > That AOL, and many others apache included, won't accept mail from
> > unreturnable addresses is neither here nor there.
>
> I very much disagree with this point.
>
> The use of localhost within the default configuration shows a bias that
> is not reflected in most real world use of email. "localhost" is not
> addressable. There are no MX records that resolve to "localhost". It
> is only a viable postmaster email if one assumes that the sender is on
> the same SMTP server as the postmaster. In general situations this will
> not be the case. However, if I have an addressable, resolvable domain
> for the email then it will work in the general case (different SMTP
> server from the postmaster) and in the local case (same SMTP server as
> the postmaster).
>
> --Peter
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>