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 "Noel J. Bergman" <no...@devtech.com> on 2003/05/27 09:12:27 UTC
[ANN] James v2.2.0a1 test version
James v2.2.0a1 is a *test* build. This version is tentatively labelled a
v2.2 instead of v2.1 because most of the changes now are to increase
functionality. The list of changes present in this test version includes:
- New Quota Matcher framework and fixed storage matcher
- RemoteDelivery can now handle partial sends, so if there are
some successful addresses and some failures, it will transfer
the sucessful ones, and handle the failures separately.
- Fixes to RemoteManager
- Improved performance and resource utilization
- New fast fail relay rejection using <authorizedAddresses> element
- If using SMTP AUTH, <authorizedAddresses> is used to automatically
authorize addresses
- New RecipientIsRegex matcher
- New AttachmentFileNameIs matcher
- Improved support for character encoded subjects in mailing lists
- RemoteDelivery supports multiple gateway servers.
- RemoteDelivery increments the delivery error count per pass, not per
server.
More changes are planned, but we would like feedback on these changes. The
new fast-fail mode is one of the most frequently requested features.
James v2.2.0a1 is available from
http://jakarta.apache.org/builds/jakarta-james/latest/.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
Re: RemoteDelivery and multiple gateways
Posted by Serge Knystautas <se...@lokitech.com>.
Noel J. Bergman wrote:
> The current means for using a gateway lacks any way to express whether or
> not there is a preference. I'm not overly inclined to complicate the
> gateway code further at this time, considering that there are changes to how
> James handles multiple MX records generally that should be made. Efforts to
> change the code would probably best to made in that direction, involving a
> more robust implementation of RFC 2821 sections 4.5.4.1 and 5. Addressing
> that would address the other.
Basically you just want to sort the possible hosts by their MX
preference, and introduce a randomization. So create a Comparator, that
does comparisons as follows:
[MXpref2 - MXpref1] * 1000 + randomnum(0 to 1000).
This way MX record w/preference 0 appears before MX record w/preference
1, but a bunch of MX records with the same preference would appear in
different orders each time.
--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
RemoteDelivery and multiple gateways
Posted by "Noel J. Bergman" <no...@devtech.com>.
Diego,
The idea of having multiple gateways is a bit if a kludge, but it was
essentially free to add.
As I see it, the real problem is the assumption that the gateway is a host.
The gateway could be looked up and handled as any other host in the normal
scheme. The number and preference of MX records for servers handling
gateway duty would be the same as for any other domain. And just as for
hosts that don't have MX records, the A record would be used. If the
gateway were specified as an IP address, that would be the implied A record.
Since the original code didn't take that approach at all, I didn't actually
think of it until last night when I was writing the comments for config.xml.
The current means for using a gateway lacks any way to express whether or
not there is a preference. I'm not overly inclined to complicate the
gateway code further at this time, considering that there are changes to how
James handles multiple MX records generally that should be made. Efforts to
change the code would probably best to made in that direction, involving a
more robust implementation of RFC 2821 sections 4.5.4.1 and 5. Addressing
that would address the other.
--- Noel
-----Original Message-----
From: Diego Castillo [mailto:diego.castillo@inexbee.com]
Sent: Tuesday, May 27, 2003 6:40
To: 'James Users List'
Subject: RE : [ANN] James v2.2.0a1 test version
Hi Noel,
I have had a look into the new RemoteDelivery supporting multiple
gateways. I see that it delivers the message to
targetServers.iterator().next(). This means that if the first of the
gateways is always up, the rest of the gateways will never be used. It
would be nice if a load balancing algorithm was used (round robin or at
least random). What do you think?
Regards,
Diego
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
RE : [ANN] James v2.2.0a1 test version
Posted by Diego Castillo <di...@inexbee.com>.
Hi Noel,
I have had a look into the new RemoteDelivery supporting multiple
gateways. I see that it delivers the message to
targetServers.iterator().next(). This means that if the first of the
gateways is always up, the rest of the gateways will never be used. It
would be nice if a load balancing algorithm was used (round robin or at
least random). What do you think?
Regards,
Diego
-----Message d'origine-----
De : Noel J. Bergman [mailto:noel@devtech.com]
Envoyé : mardi 27 mai 2003 09:12
À : James-User Mailing List
Objet : [ANN] James v2.2.0a1 test version
James v2.2.0a1 is a *test* build. This version is tentatively labelled
a
v2.2 instead of v2.1 because most of the changes now are to increase
functionality. The list of changes present in this test version
includes:
- New Quota Matcher framework and fixed storage matcher
- RemoteDelivery can now handle partial sends, so if there are
some successful addresses and some failures, it will transfer
the sucessful ones, and handle the failures separately.
- Fixes to RemoteManager
- Improved performance and resource utilization
- New fast fail relay rejection using <authorizedAddresses> element
- If using SMTP AUTH, <authorizedAddresses> is used to automatically
authorize addresses
- New RecipientIsRegex matcher
- New AttachmentFileNameIs matcher
- Improved support for character encoded subjects in mailing lists
- RemoteDelivery supports multiple gateway servers.
- RemoteDelivery increments the delivery error count per pass, not per
server.
More changes are planned, but we would like feedback on these changes.
The
new fast-fail mode is one of the most frequently requested features.
James v2.2.0a1 is available from
http://jakarta.apache.org/builds/jakarta-james/latest/.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org