All, I have sort of a complex question about how James resolves host names. I'm using Apache James as an SMTP server to send mails for a web app. This web-app is being hosted on Amazon's EC2 platform, the practical result of which in terms of this email is that it has a bunch of different domain names, private and public, and I can't figure out why James is choosing to use the one that it's using. In the header of an email sent by my instance of Apache James, the "Received" header looks like this:
Received: from domU-##-##-##-##-##-##.z-1.compute-1.internal (widgets.myserver.com [127.0.0.1]) by domU-##-##-##-##-##-##.z-1.compute-1.internal (8.13.7/8.13.7) with ESMTP id l71HwdGZ010791 for <[EMAIL PROTECTED]>; Wed, 1 Aug 2007 13:58:39 -0400 where widgets.myserver.com is the publicly accessible domain name mapping to the ip of my server, and domU-##-##-##-##-##-##.z-1.compute-1.internal is the internal host name in the EC2 cloud. Some of the emails I've sent out are getting caught in spam filters, and I suspect it might be because those two host names don't remotely match up. I tried playing around with some settings in config.xml, setting them to this: <servernames autodetect="false" autodetectIP="true"> <!-- CONFIRM? --> <servername>widgets.myserver.com</servername> </servernames> But that didn't really do anything. Can anyone give me some insight as to how that header gets filled out by James, how I might control it, or anything else I'm missing here? Thanks, Pete --------------------------------------- Peter Guarnieri Appian Corporation www.appian.com Email: [EMAIL PROTECTED]