Back again!
We've not really been using James for outgoing mail until now, and I've discovered
that we're having some problems. I've noted some recent posts regarding outgoing mail
not arriving, but I still seem to have problems despite:
1. Clearing my outgoing mail directories.
2. Using the latest CVS version (old avalon)
3. Verifying that the DNS details are correct.
I've tried to track things down and note the following:
Outgoing mail is reaching the "RemoteDelivery" mailet. Here is an example log of one
such mail as it hits the mailet:
2000.11.30 12:18:30 271 (INFO) from Mailets: RemoteDelivery: Remotely delivering mail
Mail975586710122-67
2000.11.30 12:18:30 283 (INFO) from Mailets: RemoteDelivery: sending mail to
[[EMAIL PROTECTED]] on stuartroebuck.freeserve.co.uk
I patched some logs into the remote delivery thread:
/**
* Handles checking the outgoing spool for new mail and delivering them if
* there are any
*/
public void run() {
//Checks the pool and delivers a mail message
log("Starting remote delivery thread");
Properties props = new Properties();
Session session = Session.getInstance(props, null);
while (!Thread.currentThread().interrupted()) {
try {
String key = outgoing.accept(delayTime);
log(Thread.currentThread().getName() + " will process mail " + key);
MailImpl mail = outgoing.retrieve(key);
deliver(mail, session);
outgoing.remove(key);
mail = null;
} catch (Exception e) {
log("Remote delivery thread exception " + e);
}
}
log("Ending remote delivery thread");
}
}
and can confirm that the thread starts, never ends and never throws an exception.
However, it never logs the "will process mail" message.
I therefore presume that the problem is part of the outgoing SpoolRepository which in
turn appears to be inherited from Avalon - which I know nothing about. (I don't really
know much about anything!)
Any thoughts / suggestions?
Thanks,
Stuart.
P.S. Is it just me or is this mailing list server quite slow?
** We are currently experiencing prolonged difficulties with our email **
** provider DIGIWEB and INTERLIANT. To guarantee that your response **
** is received, please replace "adolos.com" with "adolos.co.uk" **
** in your response. **
-------------------------------------------------------------------------
Stuart Roebuck [EMAIL PROTECTED]
Lead Developer Mac OS X, Java, XML, etc.
ADOLOS http://www.adolos.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]