On Monday 01 December 2003 16:30, Noel J. Bergman wrote:
> What about modifying DNSServer.findMXRecords to use getAllByName instead of
> getByName in the event that there are no MX records?

But there is an MX record, but with multiple A records associated.

I believe that I need to do a double loop in RemoteDelivery to solve this, 
something like:

//i is the iterator over mailservers
while ( i.hasNext()) {
  try {
    String outgoingMailServer = i.next().toString ();

// allways has at least one - uses same fallback strategy as getMailServers
    Collection serverAddresses =
         getMailetContext().getMailServerAddresses(outgoingMailServer);
    Iterator inner_i = serverAddresses.iterator();
    while(inner_i.hasNext()) {



--Søren
-- 
Søren Hilmer, M.Sc.
R&D manager             Phone:  +45 70 27 64 00
TietoEnator IT+ A/S     Fax:    +45 70 27 64 40
Ved Lunden 12           Direct: +45 87 46 64 57
DK-8230 Åbyhøj          Email:  soren.hilmer <at> tietoenator.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to