Re: MxSorter and changes to DNSServer.java
On Friday 09 April 2004 17:12, Noel J. Bergman wrote: My concern on this is that InetAddress caches successfull DNS lookups forever (at least on default) and this strategy is not very sound for a mailserver Good point, Søren. And that happens in InetAddress, but through contamination with sun.* classes. It isn't pluggable. The is a comment in the code that suggests that the author realizes it is a problem. Even replacing the default DNS provider with dnsjava (using sun.net.spi.nameservice.provider), would not help. However, since the use of InetAddress within DNSServer is opaque, we could trivially switch to using org.xbill.DNS.Address, which is a InetAddress clone that uses dnsjava. How does that sound? I haven't looked at the org.xbill.DNS.Address but it sounds like a good solution. I haven't checked the rest of the code, but InSpammerBlacklist also has this problem. That should probably be changed to use dnsjava, and perhaps JNDI in the future (portable, but more overhead). That would also allow us to get the TXT record, which some DNS RBLs use to provide useful information, e.g., attrs = dnsContext.getAttributes(rblString, new String[] {A, TXT}); in JNDI-speak. Yes, Noel I was aware that other places of the code might malfunction because of this, and I have put it on my todo-list to go through the code and weed-out InetAddress, just haven't gotten around to it yet. -- Søren -- Søren Hilmer, M.Sc. RD 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]
JAMES support for Que or Time Based Scheduling ???
Hi there, I am new to JAMES server developer list. I just wanted to know whether JAMES supports Que or Time based scheduling.Means JAMES spool manager will block the mails in spool repository and will deliver the mails when the no of mails reach the specified limit. Similarly in the case of Time scheduling Spool manager will deliver the mails after the specified time period rather then delivering the mails as it comes. Taimur. _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JAMES support for Que or Time Based Scheduling ???
I just wanted to know whether JAMES supports Que or Time based scheduling. Currently the only (re-)scheduling is internal to RemoteDelivery. I have been working on a change that moves that behavior into a generic base class. In so doing, it has occured to me that the entire process could be pushed out of the target mailet back into the processor. Which is interesting because a processor used to just be a type of Mailet. The upshot of the change would allow any matcher/mailet to be scheduled for retry if it were able to indicate that state. This would be immediately useful in certain cases, such as DNS checks. That change is something I'll discuss for v3 when we look at the whole spooler interface. Meanwhile, there are immediate uses for a generic base class. And the way you would handle future time would be to post object into the queue with a future time already encoded for the AcceptFilter. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]