2012/5/9 Cole Ferrier <[email protected]>: > Recycle of James did not work, it is still equally using all 6 of the mail > servers, even though they are at a different preference levels. > > Any Ideas?
I think you have issues at DNS level. AFAIK james 2.3 had some bug in MX ordering but I remember only two of them, and they do not break priority the way you see. 1) If james is a relay server for a domain it doesn't take care to only relay to "lower priority" servers resulting into loops if the high priority servers are not available (this is not your case). 2) James does sort MX hosts, but uses a comparator that is not "consistent with equals" (http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Comparator.html). This is not necessarily a bad thing as it will correctly sort results using the priority but often will return servers with the same priority "not shuffled": more often than not, MX are already shuffled on the DNS side so this doesn't have a big impact (and is not your case). So check what DNS servers your james is using and make sure that very specific DNS servers have updated informations. Stefano > Cole > > On Tue, May 8, 2012 at 3:03 PM, Cole Ferrier <[email protected]> wrote: > >> talking with our internal mail system people, all 6 servers had a priority >> of 10 the last time apache James was restarted. >> >> Does James cache this data for the life of it running? or is there a time >> to live? or? >> >> I will schedule a recycle of james to see if it stops using the servers >> that now have a lower preference. >> >> Let me know if you have any ideas in the mean time. >> >> Cole >> >> >> On Tue, May 8, 2012 at 9:42 AM, Cole Ferrier <[email protected]> wrote: >> >>> We have an internal mail system that has 6 MX records 3 at priority 10 >>> (new servers recently added) and 3 at priority 20 (old servers that where >>> previously at 10). >>> >>> and it appears that apache james 2.3 is sending mail to all of them about >>> equally? >>> >>> i was instructed that it should only connect to the 20's when all of the >>> 10s are unavailable? >>> >>> any help would be appreciated? >>> >>> (or is there any need to restart James? aka, how long does it cache its >>> data about the MX preferences?) >>> >>> Cole >>> >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
