You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Cavan Morris <cm...@cadorecreation.com> on 2002/12/22 22:58:14 UTC

autoDetectIP

I'm setting up 2.1 and noticed this new config attribute for servernames.  The comment below isn't very clear and I was wondering if anyone here has an understanding of what it does and how to use it.  I read RFC 2821, Sec 4.1.3 but don't know how autodetectIP applies to that. Can anyone give me a practical explanation?
It sounds like maybe there is some capacity to specify IP addresses with the servernames.  Is this the case?  What is the syntax?

<!-- If autodetectIP is not FALSE, James will also allow add the IP address for each servername. -->
<!-- The automatic IP detection is to support RFC 2821, Sec 4.1.3, address literals. -->

As always, any help is greatly appreciated.
-Cavan Morris

RE: autoDetectIP

Posted by Danny Angus <da...@apache.org>.
James attemtps (using DNS, as Java can't currently poll your NIC's) to
lookup the IP of the domains set as servernames.
These are then added in this form [xxx.xxx.xxx.xxx] so that James will
handle mail sent to the IP address of a domain which James handles.
In the past you had to add these by hand.
You might still need to add some by hand if you don't handle a domain which
resolves to the IP address.
Its simply for convenience and not a 100% accurate representation of the
IP's you should be handling mail for. Of course this looks like something
which obeys the 80:20 rule so it's probably close enough in 80% of cases.

d.

> -----Original Message-----
> From: Cavan Morris [mailto:cmorris@cadorecreation.com]
> Sent: 22 December 2002 21:58
> To: JamesUser
> Subject: autoDetectIP
>
>
> I'm setting up 2.1 and noticed this new config attribute for
> servernames.  The comment below isn't very clear and I was
> wondering if anyone here has an understanding of what it does and
> how to use it.  I read RFC 2821, Sec 4.1.3 but don't know how
> autodetectIP applies to that. Can anyone give me a practical explanation?
> It sounds like maybe there is some capacity to specify IP
> addresses with the servernames.  Is this the case?  What is the syntax?
>
> <!-- If autodetectIP is not FALSE, James will also allow add the
> IP address for each servername. -->
> <!-- The automatic IP detection is to support RFC 2821, Sec
> 4.1.3, address literals. -->
>
> As always, any help is greatly appreciated.
> -Cavan Morris


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>