javaemailserver-user Mailing List for Java SMTP/POP EMail Server (Page 2)
Brought to you by:
edaugherty,
mfg8876
You can subscribe to this list here.
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
(6) |
Sep
|
Oct
(8) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(18) |
Jun
(1) |
Jul
|
Aug
(16) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(5) |
Dec
|
|
From: <jav...@li...> - 2013-08-20 10:02:05
|
Hi all,
it has been plaguing JES at least since version 2.5. I am referring to the annoying exceptions being thrown when JES starts up. This is caused by the underlying JCE/JSSE implementation on two occasions.
1. The SecureRandom class sets up its seed generator:
sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:161
)
at
sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java:
184)
at
sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:203)
2. The SSLContext needs to retrieve a list of default cipher suites.
sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.ja
va:293)
at
sun.security.ssl.SSLServerSocketFactoryImpl.getDefaultCipherSuites(SSLServe
rSocketFactoryImpl.java:102)
Both these end up submitting a query to dnsjava for the host name of the PC that JES is being run from.
org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j
ava:147)
at
org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97)
at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source)
The erroneous console output is:
lookup myhost. A
NXDOMAIN
DNSJavaNameService: Unexpected error.
java.net.UnknownHostException: myhost
How to set about correcting this (and this mostly a matter of misconfiguration by the user and / or expectations regarding how professionally a machine is set up on behalf of oracle) ?
Obviously, the target here is to have dnsjava submit a query for an existing hostname. So, if your query entry is correct and actual DNS records exist (or can be delivered to your host), these exceptions will not be thrown.
This entry is the concatenation of the host name of the pc JES is being run from (let's call the host myhost) and the domain that the host belongs to (let's call the domain mydomain.com).
The FQDN query entry actually submitted by dnsjava would have to be "myhost.mydomain.com.".
How to construct this lookup query? I submit 3 alternatives and I am currently restricted to windows examples (linux does it very similarly).
Alternative 1: The host is indeed part of a Windows domain. Then change your computer name to "myhost" and make it a member of domain "mydomain.com".
Alternative 2: Change the computer name to "myhost.mydomain.com".
Alternative 3: Change the computer name to "myhost". Change the mail.bat arguments by setting dns.search to "mydomain.com".
(quotes were used for illustrative purposes. No warranty exists for misproper use of quotes in real-life situtations.)
The dns.server argument in mail.bat should be set to an IP of a resolver that can properly handle the queries. In simple cases this could be the IP of your home DSL/Router Gateway. It can even be left empty. You may have a bind server running on the host (then point dns.server to 127.0.0.1 or the Ipv6 equivalent). In more advanced cases (e.g. the nameserver of the local domain has its zones set up using the Split DNS principle) the IP may have to point to a resolver that can service IPs that belong to the internal view of the DNS namespace for the desired domain.
Confused?
It has to be understood that these issues do not affect JES operation. In fact, taking a careful look at the dnsjava output (you need to add -Ddns.options=verbose in mail.bat) you will notice that another query that takes place during startup most likely suceeds:
Sending to 127.0.0.1:53
queried javaemailserver.sourceforge.net. A
successful
This query is incidentaly triggered because JES has to retrieve a schema to validate mail.xml. In the end this DNS bug is nothing more than console garbage. When in doubt concerning DNS queries, use the lookup scripts in folder bin to test for the proper dnsjava settings (dns.server, dns.search arguments in mail.bat / mail.sh).
Regards,
Andreas
|
|
From: <jav...@li...> - 2013-08-20 07:19:14
|
Hello again HRV, first things first, you should add the blahblahdemo.com domain (defined in user.conf) to mail.xml (element backend/File/domain) if you have not done so already. That should take care of the exception you are getting when starting JES. About the DNS issue. dnsava, the library being used to actually submit the dns queries is rather touchy about its settings. So, yes (and rather unfortunately I might add), it is most of the times required that the two DNS options are set in the startup scripts. I have been working on a replacement solution for the handling of dns queries. That effort has been put on hiatus until September. That being said (or rather written), the DNS errors you are receiving (and those are courtesy of Oracle) do not prevent JES from actually starting. It is rather unfortunate that the official dnsjava binary distribution actually logs directly to the console in specific use cases, regardlesss of the verbosity setting. The actual query does get to be properly resolved in all 3 cases: queried javaemailserver.sourceforge.net. A successful You most likely need not worry about setting the DNS options at all and just add the domain to mail.xml. Regards, Andreas To: jav...@li... Date: Tue, 20 Aug 2013 05:14:10 +0000 From: jav...@li... Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException Hi Andreas, Thanks for your help! I think I had the settings correct. Checked again, but it didn't work. I did all you asked for and it always errors out on the DNS settings, unless I add them specifically. Please see the attached files and the output of three use cases below (marked in the log as well) I divided it into separate cases. Log files attached and output below. 1: DNS Server set to 127.0.0.1. As this is a VM, the VMware DNS may mess with the AD-server DNS??? 2: DNS settings blank 3: DNS server set to 127.0.0.1 and DNS domain set to seri.sailpoint.com Console output for 1: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd \prog\jes-2.7.0\bin C:\prog\jes-2.7.0\bin>mail 2013-08-20 00:00:16,960 - [main] Mail - JES Starting Up... adding server 127.0.0.1 adding server 127.0.0.1 adding server 172.16.66.2 lookup javaemailserver.sourceforge.net. A unknown Sending to 127.0.0.1:53 lookup ad-server. A unknown Sending to 127.0.0.1:53 queried javaemailserver.sourceforge.net. A successful lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:176) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:162) at java.security.AccessController.doPrivileged(Native Method) at sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:161 ) at sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java: 184) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:203) at java.security.SecureRandom.nextBytes(SecureRandom.java:455) at java.security.SecureRandom.next(SecureRandom.java:477) at java.util.Random.nextInt(Random.java:239) at org.xbill.DNS.UDPClient$1.run(UDPClient.java:38) at java.lang.Thread.run(Thread.java:722) lookup ad-server. A unknown Sending to 127.0.0.1:53 lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:783) at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706) at javax.crypto.JarVerifier.access$400(JarVerifier.java:34) at javax.crypto.JarVerifier$1.run(JarVerifier.java:183) at javax.crypto.JarVerifier$1.run(JarVerifier.java:149) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:78) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76) at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173) at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285) at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198) at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java:372) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl .java:342) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.ja va:293) at sun.security.ssl.SSLServerSocketFactoryImpl.getDefaultCipherSuites(SSLServe rSocketFactoryImpl.java:102) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getCiphers(JSS EConfigurator.java:123) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getVersionCons trainedLimitedEnabledCiphers(JSSEC onfigurator.java:153) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralSecurityConfiguration(Configur ationManagerGeneral.java:312) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralConfiguration(ConfigurationMan agerGeneral.java:131) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadGenera lProperties(ConfigurationManager.j ava:428) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:361 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationM anagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationM anagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) C:\prog\jes-2.7.0\bin> Console output for 2: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd \prog\jes-2.7.0\bin C:\prog\jes-2.7.0\bin>mail 2013-08-20 00:07:58,304 - [main] Mail - JES Starting Up... adding server 127.0.0.1 adding server 172.16.66.2 lookup javaemailserver.sourceforge.net. A unknown Sending to 127.0.0.1:53 lookup ad-server. A unknown Sending to 127.0.0.1:53 queried javaemailserver.sourceforge.net. A successful lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:176) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:162) at java.security.AccessController.doPrivileged(Native Method) at sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:161 ) at sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java: 184) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:203) at java.security.SecureRandom.nextBytes(SecureRandom.java:455) at java.security.SecureRandom.next(SecureRandom.java:477) at java.util.Random.nextInt(Random.java:239) at org.xbill.DNS.UDPClient$1.run(UDPClient.java:38) at java.lang.Thread.run(Thread.java:722) lookup ad-server. A unknown Sending to 127.0.0.1:53 lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:783) at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706) at javax.crypto.JarVerifier.access$400(JarVerifier.java:34) at javax.crypto.JarVerifier$1.run(JarVerifier.java:183) at javax.crypto.JarVerifier$1.run(JarVerifier.java:149) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:78) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76) at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173) at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285) at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198) at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java:372) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl .java:342) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.ja va:293) at sun.security.ssl.SSLServerSocketFactoryImpl.getDefaultCipherSuites(SSLServe rSocketFactoryImpl.java:102) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getCiphers(JSS EConfigurator.java:123) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getVersionCons trainedLimitedEnabledCiphers(JSSEC onfigurator.java:153) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralSecurityConfiguration(Configur ationManagerGeneral.java:312) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralConfiguration(ConfigurationMan agerGeneral.java:131) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadGenera lProperties(ConfigurationManager.j ava:428) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:361 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationM anagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationM anagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) C:\prog\jes-2.7.0\bin> Console output for 3: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd \prog\jes-2.7.0\bin C:\prog\jes-2.7.0\bin>mail 2013-08-20 00:09:43,278 - [main] Mail - JES Starting Up... adding server 127.0.0.1 adding search seri.sailpoint.com lookup javaemailserver.sourceforge.net. A unknown Sending to 127.0.0.1:53 lookup ad-server.seri.sailpoint.com. A unknown Sending to 127.0.0.1:53 queried javaemailserver.sourceforge.net. A successful queried ad-server.seri.sailpoint.com. A NXDOMAIN lookup ad-server.seri.sailpoint.com. AAAA NXDOMAIN DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:176) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:162) at java.security.AccessController.doPrivileged(Native Method) at sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:161 ) at sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java: 184) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:203) at java.security.SecureRandom.nextBytes(SecureRandom.java:455) at java.security.SecureRandom.next(SecureRandom.java:477) at java.util.Random.nextInt(Random.java:239) at org.xbill.DNS.UDPClient$1.run(UDPClient.java:38) at java.lang.Thread.run(Thread.java:722) lookup ad-server.seri.sailpoint.com. A NXDOMAIN lookup ad-server.seri.sailpoint.com. AAAA NXDOMAIN DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:783) at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706) at javax.crypto.JarVerifier.access$400(JarVerifier.java:34) at javax.crypto.JarVerifier$1.run(JarVerifier.java:183) at javax.crypto.JarVerifier$1.run(JarVerifier.java:149) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:78) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76) at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173) at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285) at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198) at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java:372) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl .java:342) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.ja va:293) at sun.security.ssl.SSLServerSocketFactoryImpl.getDefaultCipherSuites(SSLServe rSocketFactoryImpl.java:102) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getCiphers(JSS EConfigurator.java:123) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getVersionCons trainedLimitedEnabledCiphers(JSSEC onfigurator.java:153) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralSecurityConfiguration(Configur ationManagerGeneral.java:312) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralConfiguration(ConfigurationMan agerGeneral.java:131) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadGenera lProperties(ConfigurationManager.j ava:428) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:361 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationM anagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationM anagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) C:\prog\jes-2.7.0\bin> From: "jav...@li..." <jav...@li...> Reply-To: "jav...@li..." <jav...@li...> Date: maandag 19 augustus 2013 23:52 To: "jav...@li..." <jav...@li...> Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException >Hello HRV, > >thanks for trying the latest version. You most likely have not added the >domain in mail.xml (element backend/File/domains). Or the user was >defined with no domain or the domain doesn't much the declaration in >mail.xml. Could you please send me a copy of the > mail.xml, user.conf and les.log files? It would also help a lot if you >could provide feedback on the W2K8 behaviour. Could you add the >-Ddnsjava.options=verbose argument to your mail.bat, set the other dns >options back they were originally (blank), restart > the server and send me a copy of jes.log and if not too hard the console >printout? > >If the solutions I suggested don't help, I will only be in a position to >supply a working solution (aka an updated version) after receiving the >requested files. > >Regards, >Andreas > >> To: jav...@li... >> Date: Mon, 19 Aug 2013 15:24:10 +0000 >> From: jav...@li... >> Subject: [Javaemailserver-user] ArrayIndexOutOfBoundsException >> >> Hi, >> >> I just configured JES 2.7.0. >> At first, I had an issue with DNS resolving. Somehow my W2K8 test server >> responds only in IPv6. >> Setting the DNS options in mail.bat solved that issue. >> >> However, when I start, I still get this error message and I have no clue >> where it could come from: >> >> C:\prog\jes-2.7.0\bin>mail >> 2013-08-19 10:07:15,531 - [main] Mail - JES Starting Up... >> The application failed to initialize. >> java.lang.ArrayIndexOutOfBoundsException: -1 >> at java.util.ArrayList.elementData(ArrayList.java:371) >> at java.util.ArrayList.get(ArrayList.java:384) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi >>le >> .loadUserProperties(ConfigurationManagerBackEndFile.java:227) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi >>le >> .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProp >>er >> ties(ConfigurationManager.java:363) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Con >>fi >> gurationManager.java:325) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.initiali >>ze >> (ConfigurationManager.java:243) >> at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) >> at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) >> at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) >> >> I need the most simple solution, Just drop all received email into the >> admin mailbox. >> Essentially, I just pointed JES to a 32 bit Java, Added a single domain >> and a single admin user for that domain. >> >> Older versions of JES (1.6.1) have worked for me in that regards, but I >> wanted to use the latest and greatest :-) >> >> >> Tx, >> >> HRV >> >> >> >>------------------------------------------------------------------------- >>----- >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance >>Management. >> Visit us today! >> >>http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clkt >>rk >> _______________________________________________ >> Javaemailserver-user mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-08-20 05:14:22
|
Hi Andreas, Thanks for your help! I think I had the settings correct. Checked again, but it didn't work. I did all you asked for and it always errors out on the DNS settings, unless I add them specifically. Please see the attached files and the output of three use cases below (marked in the log as well) I divided it into separate cases. Log files attached and output below. 1: DNS Server set to 127.0.0.1. As this is a VM, the VMware DNS may mess with the AD-server DNS??? 2: DNS settings blank 3: DNS server set to 127.0.0.1 and DNS domain set to seri.sailpoint.com Console output for 1: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd \prog\jes-2.7.0\bin C:\prog\jes-2.7.0\bin>mail 2013-08-20 00:00:16,960 - [main] Mail - JES Starting Up... adding server 127.0.0.1 adding server 127.0.0.1 adding server 172.16.66.2 lookup javaemailserver.sourceforge.net. A unknown Sending to 127.0.0.1:53 lookup ad-server. A unknown Sending to 127.0.0.1:53 queried javaemailserver.sourceforge.net. A successful lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:176) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:162) at java.security.AccessController.doPrivileged(Native Method) at sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:161 ) at sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java: 184) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:203) at java.security.SecureRandom.nextBytes(SecureRandom.java:455) at java.security.SecureRandom.next(SecureRandom.java:477) at java.util.Random.nextInt(Random.java:239) at org.xbill.DNS.UDPClient$1.run(UDPClient.java:38) at java.lang.Thread.run(Thread.java:722) lookup ad-server. A unknown Sending to 127.0.0.1:53 lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:783) at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706) at javax.crypto.JarVerifier.access$400(JarVerifier.java:34) at javax.crypto.JarVerifier$1.run(JarVerifier.java:183) at javax.crypto.JarVerifier$1.run(JarVerifier.java:149) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:78) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76) at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173) at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285) at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198) at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java:372) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl .java:342) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.ja va:293) at sun.security.ssl.SSLServerSocketFactoryImpl.getDefaultCipherSuites(SSLServe rSocketFactoryImpl.java:102) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getCiphers(JSS EConfigurator.java:123) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getVersionCons trainedLimitedEnabledCiphers(JSSEC onfigurator.java:153) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralSecurityConfiguration(Configur ationManagerGeneral.java:312) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralConfiguration(ConfigurationMan agerGeneral.java:131) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadGenera lProperties(ConfigurationManager.j ava:428) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:361 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationM anagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationM anagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) C:\prog\jes-2.7.0\bin> Console output for 2: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd \prog\jes-2.7.0\bin C:\prog\jes-2.7.0\bin>mail 2013-08-20 00:07:58,304 - [main] Mail - JES Starting Up... adding server 127.0.0.1 adding server 172.16.66.2 lookup javaemailserver.sourceforge.net. A unknown Sending to 127.0.0.1:53 lookup ad-server. A unknown Sending to 127.0.0.1:53 queried javaemailserver.sourceforge.net. A successful lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:176) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:162) at java.security.AccessController.doPrivileged(Native Method) at sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:161 ) at sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java: 184) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:203) at java.security.SecureRandom.nextBytes(SecureRandom.java:455) at java.security.SecureRandom.next(SecureRandom.java:477) at java.util.Random.nextInt(Random.java:239) at org.xbill.DNS.UDPClient$1.run(UDPClient.java:38) at java.lang.Thread.run(Thread.java:722) lookup ad-server. A unknown Sending to 127.0.0.1:53 lookup ad-server. AAAA unknown Sending to 127.0.0.1:53 DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:783) at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706) at javax.crypto.JarVerifier.access$400(JarVerifier.java:34) at javax.crypto.JarVerifier$1.run(JarVerifier.java:183) at javax.crypto.JarVerifier$1.run(JarVerifier.java:149) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:78) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76) at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173) at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285) at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198) at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java:372) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl .java:342) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.ja va:293) at sun.security.ssl.SSLServerSocketFactoryImpl.getDefaultCipherSuites(SSLServe rSocketFactoryImpl.java:102) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getCiphers(JSS EConfigurator.java:123) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getVersionCons trainedLimitedEnabledCiphers(JSSEC onfigurator.java:153) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralSecurityConfiguration(Configur ationManagerGeneral.java:312) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralConfiguration(ConfigurationMan agerGeneral.java:131) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadGenera lProperties(ConfigurationManager.j ava:428) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:361 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationM anagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationM anagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) C:\prog\jes-2.7.0\bin> Console output for 3: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>cd \prog\jes-2.7.0\bin C:\prog\jes-2.7.0\bin>mail 2013-08-20 00:09:43,278 - [main] Mail - JES Starting Up... adding server 127.0.0.1 adding search seri.sailpoint.com lookup javaemailserver.sourceforge.net. A unknown Sending to 127.0.0.1:53 lookup ad-server.seri.sailpoint.com. A unknown Sending to 127.0.0.1:53 queried javaemailserver.sourceforge.net. A successful queried ad-server.seri.sailpoint.com. A NXDOMAIN lookup ad-server.seri.sailpoint.com. AAAA NXDOMAIN DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:176) at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:162) at java.security.AccessController.doPrivileged(Native Method) at sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:161 ) at sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java: 184) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:203) at java.security.SecureRandom.nextBytes(SecureRandom.java:455) at java.security.SecureRandom.next(SecureRandom.java:477) at java.util.Random.nextInt(Random.java:239) at org.xbill.DNS.UDPClient$1.run(UDPClient.java:38) at java.lang.Thread.run(Thread.java:722) lookup ad-server.seri.sailpoint.com. A NXDOMAIN lookup ad-server.seri.sailpoint.com. AAAA NXDOMAIN DNSJavaNameService: Unexpected error. java.net.UnknownHostException: ad-server at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameService.j ava:147) at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:97) at com.sun.proxy.$Proxy0.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286) at java.net.InetAddress.getLocalHost(InetAddress.java:1462) at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:783) at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706) at javax.crypto.JarVerifier.access$400(JarVerifier.java:34) at javax.crypto.JarVerifier$1.run(JarVerifier.java:183) at javax.crypto.JarVerifier$1.run(JarVerifier.java:149) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:78) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76) at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173) at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285) at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198) at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java:372) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl .java:342) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.ja va:293) at sun.security.ssl.SSLServerSocketFactoryImpl.getDefaultCipherSuites(SSLServe rSocketFactoryImpl.java:102) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getCiphers(JSS EConfigurator.java:123) at com.ericdaugherty.mail.server.configuration.JSSEConfigurator.getVersionCons trainedLimitedEnabledCiphers(JSSEC onfigurator.java:153) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralSecurityConfiguration(Configur ationManagerGeneral.java:312) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerGeneral.gen eralConfiguration(ConfigurationMan agerGeneral.java:131) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadGenera lProperties(ConfigurationManager.j ava:428) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:361 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationM anagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationM anagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363 ) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) C:\prog\jes-2.7.0\bin> From: "jav...@li..." <jav...@li...> Reply-To: "jav...@li..." <jav...@li...> Date: maandag 19 augustus 2013 23:52 To: "jav...@li..." <jav...@li...> Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException >Hello HRV, > >thanks for trying the latest version. You most likely have not added the >domain in mail.xml (element backend/File/domains). Or the user was >defined with no domain or the domain doesn't much the declaration in >mail.xml. Could you please send me a copy of the > mail.xml, user.conf and les.log files? It would also help a lot if you >could provide feedback on the W2K8 behaviour. Could you add the >-Ddnsjava.options=verbose argument to your mail.bat, set the other dns >options back they were originally (blank), restart > the server and send me a copy of jes.log and if not too hard the console >printout? > >If the solutions I suggested don't help, I will only be in a position to >supply a working solution (aka an updated version) after receiving the >requested files. > >Regards, >Andreas > >> To: jav...@li... >> Date: Mon, 19 Aug 2013 15:24:10 +0000 >> From: jav...@li... >> Subject: [Javaemailserver-user] ArrayIndexOutOfBoundsException >> >> Hi, >> >> I just configured JES 2.7.0. >> At first, I had an issue with DNS resolving. Somehow my W2K8 test server >> responds only in IPv6. >> Setting the DNS options in mail.bat solved that issue. >> >> However, when I start, I still get this error message and I have no clue >> where it could come from: >> >> C:\prog\jes-2.7.0\bin>mail >> 2013-08-19 10:07:15,531 - [main] Mail - JES Starting Up... >> The application failed to initialize. >> java.lang.ArrayIndexOutOfBoundsException: -1 >> at java.util.ArrayList.elementData(ArrayList.java:371) >> at java.util.ArrayList.get(ArrayList.java:384) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi >>le >> .loadUserProperties(ConfigurationManagerBackEndFile.java:227) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi >>le >> .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProp >>er >> ties(ConfigurationManager.java:363) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Con >>fi >> gurationManager.java:325) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.initiali >>ze >> (ConfigurationManager.java:243) >> at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) >> at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) >> at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) >> >> I need the most simple solution, Just drop all received email into the >> admin mailbox. >> Essentially, I just pointed JES to a 32 bit Java, Added a single domain >> and a single admin user for that domain. >> >> Older versions of JES (1.6.1) have worked for me in that regards, but I >> wanted to use the latest and greatest :-) >> >> >> Tx, >> >> HRV >> >> >> >>------------------------------------------------------------------------- >>----- >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance >>Management. >> Visit us today! >> >>http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clkt >>rk >> _______________________________________________ >> Javaemailserver-user mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-08-19 21:52:54
|
Hello HRV, thanks for trying the latest version. You most likely have not added the domain in mail.xml (element backend/File/domains). Or the user was defined with no domain or the domain doesn't much the declaration in mail.xml. Could you please send me a copy of the mail.xml, user.conf and les.log files? It would also help a lot if you could provide feedback on the W2K8 behaviour. Could you add the -Ddnsjava.options=verbose argument to your mail.bat, set the other dns options back they were originally (blank), restart the server and send me a copy of jes.log and if not too hard the console printout? If the solutions I suggested don't help, I will only be in a position to supply a working solution (aka an updated version) after receiving the requested files. Regards, Andreas > To: jav...@li... > Date: Mon, 19 Aug 2013 15:24:10 +0000 > From: jav...@li... > Subject: [Javaemailserver-user] ArrayIndexOutOfBoundsException > > Hi, > > I just configured JES 2.7.0. > At first, I had an issue with DNS resolving. Somehow my W2K8 test server > responds only in IPv6. > Setting the DNS options in mail.bat solved that issue. > > However, when I start, I still get this error message and I have no clue > where it could come from: > > C:\prog\jes-2.7.0\bin>mail > 2013-08-19 10:07:15,531 - [main] Mail - JES Starting Up... > The application failed to initialize. > java.lang.ArrayIndexOutOfBoundsException: -1 > at java.util.ArrayList.elementData(ArrayList.java:371) > at java.util.ArrayList.get(ArrayList.java:384) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile > .loadUserProperties(ConfigurationManagerBackEndFile.java:227) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile > .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper > ties(ConfigurationManager.java:363) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi > gurationManager.java:325) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize > (ConfigurationManager.java:243) > at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) > at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) > at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) > > I need the most simple solution, Just drop all received email into the > admin mailbox. > Essentially, I just pointed JES to a 32 bit Java, Added a single domain > and a single admin user for that domain. > > Older versions of JES (1.6.1) have worked for me in that regards, but I > wanted to use the latest and greatest :-) > > > Tx, > > HRV > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-08-19 15:39:35
|
Hi, I just configured JES 2.7.0. At first, I had an issue with DNS resolving. Somehow my W2K8 test server responds only in IPv6. Setting the DNS options in mail.bat solved that issue. However, when I start, I still get this error message and I have no clue where it could come from: C:\prog\jes-2.7.0\bin>mail 2013-08-19 10:07:15,531 - [main] Mail - JES Starting Up... The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationManagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) I need the most simple solution, Just drop all received email into the admin mailbox. Essentially, I just pointed JES to a 32 bit Java, Added a single domain and a single admin user for that domain. Older versions of JES (1.6.1) have worked for me in that regards, but I wanted to use the latest and greatest :-) Tx, HRV |
|
From: <jav...@li...> - 2013-06-06 22:09:52
|
Hi all, celebrating 4 years of the branch 2 JES code a new version (2.7) is released. This release focuses on the testing facilities of JES, which have received a considerable upgrade. The build procedure has also been given some attention. The dependency on mave-ant-plugin has been dropped. The JES source code project now fully supports developing in Eclipse IDE. Finally, documentation has been updated accordingly. Enjoy the new release. I'm looking forward to some feedback. Regards, Andreas |
|
From: <jav...@li...> - 2013-05-13 23:44:59
|
I will be answering this last mail for tonight, I really need to get some sleep.
I believe JES has started in this occasion, despite the error message. I have setup schema validation in such a way so as not to prevent JES from launching. Is the version 2.6 mail.xsd actually being downloaded? I believe that regex is found in the 2.5 release.
As far as the relaying issue goes, you do have to realize that this is not some deficiency of JES or any other mail server. If an ISP blocks the SMTP port there are not that may options available. Your ISP offers a smarthost, you are probably using it for you private mail account. Why not use it to relay messages from your app as well? If you feel JES is overkill or an additional fail point you could try the JavaMail API. I don't really know how to set it up to use a smarthost, but you can take a look at the JESBaseCase1-4 test classes to have an idea how to actually use it. There is not much further counsel I can give you. Perhaps your ISP offers static IPs without blocking the SMTP port.
Goodnight,
Andreas
Date: Mon, 13 May 2013 17:31:02 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi Andreas,
Ok I tried that and I get;log4jxml main [ERROR] ConfigurationManager - cvc-pattern-valid: Value 'smtp.socketlabs.com:2525/myUser:myPass' is not facet-valid with respect to pattern '(([\p{IsBasicLatin}-[:]]+@[\p{IsBasicLatin}-[:]]+(:([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65(([0-4][0-9][0-9])|(5[0-2][0-9])|(53[0-5])){1}))?(/[\p{IsBasicLatin}-[:]]+:[\p{IsBasicLatin}-[:]]+)?)||\s{0})( *, *([\p{IsBasicLatin}-[:]]+@[\p{IsBasicLatin}-[:]]+(:([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65(([0-4][0-9][0-9])|(5[0-2][0-9])|(53[0-5])){1}))?(/[\p{IsBasicLatin}-[:]]+:[\p{IsBasicLatin}-[:]]+)?))*' for type '#AnonType_serveroutgoingSMTPServermailconfig'.
Also if I am going to go that route, I might as well just use smtp directly to the smtp.socketlabs.com from my app and skip JES altogether as it is just another link that could fail and additional latency.
Cheers,Scott
|
|
From: <jav...@li...> - 2013-05-13 23:24:33
|
Ok, I will only answer the building issue, I believe the relaying issue has already been thoroughly covered.
In
Netbeans, having a working copy of the unixUID project is one option to
include it in a (JES) build. Another is to add it manually to the local
repo. I can unfortunately not help you when it comes to Eclipse, I 've
only started using it not long ago and I have much to learn about it
myself. You could also try a direct maven command:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \
-DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
or in our case:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=com.xlat4cast -DartifactId=unixUID -Dversion=1.0 -Dpackaging=jar
<path-to-file>
points to the location where the unixUID jar is located (e.g.
c:\javalib\unixUID-1.0.jar). You may need to escape some characters
and/or use surrounding quotes.
As far as running the tests, I
expect the ones in TestExecutor0File and TestExecutor1Db to fail (as
they have not never been tested on a mac). Are you using Parallels? You
could try installing a linux distro and do additional debugging /
testing through it.
Also, the build and clean-build maven actions require the maven.test.skip.exec=true argument to skip the tests.
Andreas |
|
From: <jav...@li...> - 2013-05-13 22:50:50
|
Hey Scott,
nice to have you on board. If you have not yet created a sourceforge account, please go ahead and have one created. Then send me your username. I will then add you to the developer group. Don't call JES SIMPLE. Ok, just kidding. But I warn you... ;) You don't need to pass the master password every time. There is an attribute in mail.xml (config:general:security:persistMaster) that does away with supplying the master password each time JES starts.
We do need to lay some ground rules. First off, you will pretty obviously have full access to the repository. But, the main trunks (/trunk, /branches/branch-2/trunk and the subproject trunks) touch not you will. The JES branch 2 that is currently being developed is found at /branches/branch-2. What ever code you will want to develop will have to be branched out in a new folder under /branches or /branches/branch-2. Please do not commit to the JES2 trunk or any other trunk. That job along with the responsibility of handling releases is reserved for me. When you would like to take up any task, drop me a mail first, maybe something is already available. You wouldn't want to start working on something, only to find out, it's already there. I do have one request of you before doing anything code related and that is to read the documentation (JES.pdf).
The code for JES-WEB, JES-WebResources and unixUID is located in separate folders under the root. For the time being, we will not be developing any code for these subprojects, unless any compelling reason manifests itself.
If you feel that the above laid out rules do not impose on your sense of programming freedom then I welcome you to the team. I will inform on how to access the code after I have added you as a developer. We shall also discuss what tasks we could pursue in the immediate futire. Mac support does sound like a good place for you to start.
Regards,
Andreas
P.S. I would rather discuss developing issues via PM rather than the user list.
Date: Mon, 13 May 2013 02:13:36 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi All,
Ok I have decided to join your effort to improve JES, which seems like a very nice and rather simple (compared to james) email server in java. Also I would like to change the server slightly so that I can pass in the master password through the command line, although this may seem insecure to some, it is what I want so that I can run the server without the password dialog popping up. Also I can be in charge of mac support (since that's what I am developing on).
Please let me know what I need to do to get access to the trunk.
Cheers,Scott
On Sun, May 12, 2013 at 11:31 AM, <jav...@li...> wrote:
Hello Scott,
this is another nasty bug that found its way into the previous release. I 'm currently making the necessary corrections and additions towards a 2.6 release. Perhaps even tonight.
Thanks for taking the time to review the code. I appreciate your offer of assistance and kindly ask you to wait before reaching a decision regarding which server to select. There are a number of ideas I would like to explore (e.g. a parallel scaled back version of JES, in the spirit of version 1.6.1) and any help towards actually manifesting them is welcomed.
Regards,
Andreas
Date: Sat, 11 May 2013 13:15:46 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi,
Thanks for the quick response, I may be interested in helping you in some maintaince (although I am in the evaluation phase of my work and may go with james). I did have to make this change to get as far as I did, as far as I can tell code would have always thrown a npe.
had to modify JESProperties.java at 105 (looks like a intentional snag?)
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
if (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding()))) {
this.fileEncoding = dis.getEncoding();
}
else {
this.fileEncoding = fileEncoding;
}
to;
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
this.fileEncoding = fileEncoding;
Cheers,Scott
On Sat, May 11, 2013 at 3:32 AM, <jav...@li...> wrote:
The code submitted during the last update did indeed break SMTPRemoteSender. An update is ready, but the testing facility meant to prevent something like this from happening again in the future needs some work , that is why I have not rolled out a new version. (Entering personal details mode) The fact that I got a new job (which I'm really excited about and pleased with) is not helping right now, it raises priority issues. (Exiting personal details mode) You could open a bug ticket so that I can suggest the fix (actually supply the correct code there). The whole SMTP client code base actually needs a complete overhaul, not unlike the one already implemented for the SMTP server mode in version 2.5. I will try to send a new version upstream ASAP.
Regards,
Andreas
Date: Sat, 11 May 2013 01:57:47 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] issue in relay?
Ok I got it running from the source in eclipse on nonstandard ports,
however it doesn't seem to want to send the mail to external servers?
I altered the source to get (I am pretty sure googles email servers are
running) the following (Is there something that would cause this?, I am
behind a firewall, and yes I am trying to spam myself at the moment);
It is happening on all of the google mail servers, I am pretty sure some of them are running at least (there are 10 or so).
log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to SMTP
Server: aspmx.l.google.com. failed with exception: java.net.ConnectException:
Operation timed out
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(
AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(
AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
)
- Ignored:
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
SMTPRemoteSender.java:976)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:181)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:155)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
SMTPSenderStandard.java:493)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
SMTPSenderStandard.java:231)
at
com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
SenderPool.java:129)
Cheers,
Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-05-13 22:50:20
|
Hey Scott,
nice to have you on board. If you have not yet created a sourceforge account, please go ahead and have one created. Then send me your username. I will then add you to the developer group. Don't call JES SIMPLE. Ok, just kidding. But I warn you... ;) You don't need to pass the master password every time. There is an attribute in mail.xml (config:general:security:persistMaster) that does away with supplying the master password each time JES starts.
We do need to lay some ground rules. First off, you will pretty obviously have full access to the repository. But, the main trunks (/trunk, /branches/branch-2/trunk and the subproject trunks) touch not you will. The JES branch 2 that is currently being developed is found at /branches/branch-2. What ever code you will want to develop will have to be branched out in a new folder under /branches or /branches/branch-2. Please do not commit to the JES2 trunk or any other trunk. That job along with the responsibility of handling releases is reserved for me. When you would like to take up any task, drop me a mail first, maybe something is already available. You wouldn't want to start working on something, only to find out, it's already there. I do have one request of you before doing anything code related and that is to read the documentation (JES.pdf).
The code for JES-WEB, JES-WebResources and unixUID is located in separate folders under the root. For the time being, we will not be developing any code for these subprojects, unless any compelling reason manifests itself.
If you feel that the above laid out rules do not impose on your sense of programming freedom then I welcome you to the team. I will inform on how to access the code after I have added you as a developer. We shall also discuss what tasks we could pursue in the immediate futire. Mac support does sound like a good place for you to start.
Regards,
Andreas
P.S. I would rather discuss developing issues via PM rather than the user list.
Date: Mon, 13 May 2013 02:13:36 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi All,
Ok I have decided to join your effort to improve JES, which seems like a very nice and rather simple (compared to james) email server in java. Also I would like to change the server slightly so that I can pass in the master password through the command line, although this may seem insecure to some, it is what I want so that I can run the server without the password dialog popping up. Also I can be in charge of mac support (since that's what I am developing on).
Please let me know what I need to do to get access to the trunk.
Cheers,Scott
On Sun, May 12, 2013 at 11:31 AM, <jav...@li...> wrote:
Hello Scott,
this is another nasty bug that found its way into the previous release. I 'm currently making the necessary corrections and additions towards a 2.6 release. Perhaps even tonight.
Thanks for taking the time to review the code. I appreciate your offer of assistance and kindly ask you to wait before reaching a decision regarding which server to select. There are a number of ideas I would like to explore (e.g. a parallel scaled back version of JES, in the spirit of version 1.6.1) and any help towards actually manifesting them is welcomed.
Regards,
Andreas
Date: Sat, 11 May 2013 13:15:46 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi,
Thanks for the quick response, I may be interested in helping you in some maintaince (although I am in the evaluation phase of my work and may go with james). I did have to make this change to get as far as I did, as far as I can tell code would have always thrown a npe.
had to modify JESProperties.java at 105 (looks like a intentional snag?)
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
if (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding()))) {
this.fileEncoding = dis.getEncoding();
}
else {
this.fileEncoding = fileEncoding;
}
to;
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
this.fileEncoding = fileEncoding;
Cheers,Scott
On Sat, May 11, 2013 at 3:32 AM, <jav...@li...> wrote:
The code submitted during the last update did indeed break SMTPRemoteSender. An update is ready, but the testing facility meant to prevent something like this from happening again in the future needs some work , that is why I have not rolled out a new version. (Entering personal details mode) The fact that I got a new job (which I'm really excited about and pleased with) is not helping right now, it raises priority issues. (Exiting personal details mode) You could open a bug ticket so that I can suggest the fix (actually supply the correct code there). The whole SMTP client code base actually needs a complete overhaul, not unlike the one already implemented for the SMTP server mode in version 2.5. I will try to send a new version upstream ASAP.
Regards,
Andreas
Date: Sat, 11 May 2013 01:57:47 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] issue in relay?
Ok I got it running from the source in eclipse on nonstandard ports,
however it doesn't seem to want to send the mail to external servers?
I altered the source to get (I am pretty sure googles email servers are
running) the following (Is there something that would cause this?, I am
behind a firewall, and yes I am trying to spam myself at the moment);
It is happening on all of the google mail servers, I am pretty sure some of them are running at least (there are 10 or so).
log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to SMTP
Server: aspmx.l.google.com. failed with exception: java.net.ConnectException:
Operation timed out
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(
AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(
AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
)
- Ignored:
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
SMTPRemoteSender.java:976)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:181)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:155)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
SMTPSenderStandard.java:493)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
SMTPSenderStandard.java:231)
at
com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
SenderPool.java:129)
Cheers,
Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-05-13 22:31:12
|
Hi Andreas,
Ok I tried that and I get;
log4jxml main [ERROR] ConfigurationManager - cvc-pattern-valid: Value '
smtp.socketlabs.com:2525/myUser:myPass' is not facet-valid with respect to
pattern
'(([\p{IsBasicLatin}-[:]]+@[\p{IsBasicLatin}-[:]]+(:([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65(([0-4][0-9][0-9])|(5[0-2][0-9])|(53[0-5])){1}))?(/[\p{IsBasicLatin}-[:]]+:[\p{IsBasicLatin}-[:]]+)?)||\s{0})(
*,
*([\p{IsBasicLatin}-[:]]+@[\p{IsBasicLatin}-[:]]+(:([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65(([0-4][0-9][0-9])|(5[0-2][0-9])|(53[0-5])){1}))?(/[\p{IsBasicLatin}-[:]]+:[\p{IsBasicLatin}-[:]]+)?))*'
for type '#AnonType_serveroutgoingSMTPServermailconfig'.
Also if I am going to go that route, I might as well just use smtp
directly to the smtp.socketlabs.com from my app and skip JES altogether as
it is just another link that could fail and additional latency.
Cheers,
Scott
On Mon, May 13, 2013 at 5:05 PM, <jav...@li...
> wrote:
> Or, you could use the available facility built into JES that uses your
> provider to relay outgoing SMTP messages. You will find it in the mail.xml
> element config:mail:outgoingSMTPServer:server. Perceptually,
> SMTPRemoteSender fulfills the same operational contract as any mail user
> agent. As a nice side effect, the PBL blacklist issue is also taken care of.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Mon, 13 May 2013 01:26:17 -0500
>
> To: jav...@li...
> From: jav...@li...
> Subject: Re: [Javaemailserver-user] issue in relay?
>
> Hi Again,
>
> Ok I have determined my ISP is blocking port 25, after finding a post
> on wikipedia that some ISP's block outbound connections to port 25 on all
> servers. I would change the relay code to something like;
>
>
> MXRecord mxEntry = mxEntries[index];
>
> int port = 25;
>
>
> Name target = mxEntry.getTarget();
>
> String mxServer = target.toString();
>
> Record [] ipAddrs = new Lookup(mxServer, Type.A).run();
>
> if (ipAddrs.length >= 1) {
>
> Record record = ipAddrs[0];
>
> String ip = record.rdataToString();
>
>
>
> try {
>
>
>
> return new Socket(ip, port );
>
> }
>
> catch( IOException e ) {
>
> log.error( "Delivering to domain " + domain.
> getDomainName() + " through " + mxServer + " at "
>
> + ip + ":" + port + " failed with exception: " + e.
> getLocalizedMessage() +
>
> "\n Note some ISP's block port outbound connections to
> " + port + " to prevent spamming, you may need to contact them.");
>
> }
>
> }
>
>
>
> Cheers,
>
> Scott
>
>
> On Sun, May 12, 2013 at 11:31 AM, <
> jav...@li...> wrote:
>
> Hello Scott,
> this is another nasty bug that found its way into the previous release. I
> 'm currently making the necessary corrections and additions towards a 2.6
> release. Perhaps even tonight.
>
> Thanks for taking the time to review the code. I appreciate your offer of
> assistance and kindly ask you to wait before reaching a decision regarding
> which server to select. There are a number of ideas I would like to explore
> (e.g. a parallel scaled back version of JES, in the spirit of version
> 1.6.1) and any help towards actually manifesting them is welcomed.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 13:15:46 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: Re: [Javaemailserver-user] issue in relay?
>
>
> Hi,
>
> Thanks for the quick response, I may be interested in helping you in
> some maintaince (although I am in the evaluation phase of my work and may
> go with james). I did have to make this change to get as far as I did, as
> far as I can tell code would have always thrown a npe.
>
> had to modify JESProperties.java at 105 (looks like a intentional snag?)
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> if
> (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding())))
> {
>
> this.fileEncoding = dis.getEncoding();
>
> }
>
> else {
>
> this.fileEncoding = fileEncoding;
>
> }
>
>
>
> to;
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> this.fileEncoding = fileEncoding;
>
>
> Cheers,
>
> Scott
>
>
> On Sat, May 11, 2013 at 3:32 AM, <
> jav...@li...> wrote:
>
> The code submitted during the last update did indeed break
> SMTPRemoteSender. An update is ready, but the testing facility meant to
> prevent something like this from happening again in the future needs some
> work , that is why I have not rolled out a new version. (Entering personal
> details mode) The fact that I got a new job (which I'm really excited about
> and pleased with) is not helping right now, it raises priority issues.
> (Exiting personal details mode) You could open a bug ticket so that I can
> suggest the fix (actually supply the correct code there). The whole SMTP
> client code base actually needs a complete overhaul, not unlike the one
> already implemented for the SMTP server mode in version 2.5. I will try to
> send a new version upstream ASAP.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 01:57:47 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: [Javaemailserver-user] issue in relay?
>
>
> Ok I got it running from the source in eclipse on nonstandard ports,
>
> however it doesn't seem to want to send the mail to external servers?
>
>
> I altered the source to get (I am pretty sure googles email servers are
>
> running) the following (Is there something that would cause this?, I am
>
> behind a firewall, and yes I am trying to spam myself at the moment);
>
>
> It is happening on all of the google mail servers, I am pretty sure some
> of them are running at least (there are 10 or so).
>
>
> log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to
> SMTP
>
> Server: aspmx.l.google.com. failed with exception:
> java.net.ConnectException:
>
> Operation timed out
>
> java.net.ConnectException: Operation timed out
>
> at java.net.PlainSocketImpl.socketConnect(Native Method)
>
> at java.net.AbstractPlainSocketImpl.doConnect(
>
> AbstractPlainSocketImpl.java:339)
>
> at java.net.AbstractPlainSocketImpl.connectToAddress(
>
> AbstractPlainSocketImpl.java:200)
>
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
>
> )
>
>
> - Ignored:
>
>
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
>
>
> at java.net.Socket.connect(Socket.java:579)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
>
> SMTPRemoteSender.java:976)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:181)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:155)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
>
> SMTPSenderStandard.java:493)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
>
> SMTPSenderStandard.java:231)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
>
> SenderPool.java:129)
>
>
>
> Cheers,
>
>
> Scott
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
|
|
From: <jav...@li...> - 2013-05-13 22:05:35
|
Or, you could use the available facility built into JES that uses your provider to relay outgoing SMTP messages. You will find it in the mail.xml element config:mail:outgoingSMTPServer:server. Perceptually, SMTPRemoteSender fulfills the same operational contract as any mail user agent. As a nice side effect, the PBL blacklist issue is also taken care of.
Regards,
Andreas
Date: Mon, 13 May 2013 01:26:17 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi Again,
Ok I have determined my ISP is blocking port 25, after finding a post on wikipedia that some ISP's block outbound connections to port 25 on all servers. I would change the relay code to something like;
MXRecord mxEntry = mxEntries[index];
int port = 25;
Name target = mxEntry.getTarget();
String mxServer = target.toString();
Record [] ipAddrs = new Lookup(mxServer, Type.A).run();
if (ipAddrs.length >= 1) {
Record record = ipAddrs[0];
String ip = record.rdataToString();
try {
return new Socket(ip, port );
}
catch( IOException e ) {
log.error( "Delivering to domain " + domain.getDomainName() + " through " + mxServer + " at "
+ ip + ":" + port + " failed with exception: " + e.getLocalizedMessage() +
"\n Note some ISP's block port outbound connections to " + port + " to prevent spamming, you may need to contact them.");
}
}
Cheers,Scott
On Sun, May 12, 2013 at 11:31 AM, <jav...@li...> wrote:
Hello Scott,
this is another nasty bug that found its way into the previous release. I 'm currently making the necessary corrections and additions towards a 2.6 release. Perhaps even tonight.
Thanks for taking the time to review the code. I appreciate your offer of assistance and kindly ask you to wait before reaching a decision regarding which server to select. There are a number of ideas I would like to explore (e.g. a parallel scaled back version of JES, in the spirit of version 1.6.1) and any help towards actually manifesting them is welcomed.
Regards,
Andreas
Date: Sat, 11 May 2013 13:15:46 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi,
Thanks for the quick response, I may be interested in helping you in some maintaince (although I am in the evaluation phase of my work and may go with james). I did have to make this change to get as far as I did, as far as I can tell code would have always thrown a npe.
had to modify JESProperties.java at 105 (looks like a intentional snag?)
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
if (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding()))) {
this.fileEncoding = dis.getEncoding();
}
else {
this.fileEncoding = fileEncoding;
}
to;
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
this.fileEncoding = fileEncoding;
Cheers,Scott
On Sat, May 11, 2013 at 3:32 AM, <jav...@li...> wrote:
The code submitted during the last update did indeed break SMTPRemoteSender. An update is ready, but the testing facility meant to prevent something like this from happening again in the future needs some work , that is why I have not rolled out a new version. (Entering personal details mode) The fact that I got a new job (which I'm really excited about and pleased with) is not helping right now, it raises priority issues. (Exiting personal details mode) You could open a bug ticket so that I can suggest the fix (actually supply the correct code there). The whole SMTP client code base actually needs a complete overhaul, not unlike the one already implemented for the SMTP server mode in version 2.5. I will try to send a new version upstream ASAP.
Regards,
Andreas
Date: Sat, 11 May 2013 01:57:47 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] issue in relay?
Ok I got it running from the source in eclipse on nonstandard ports,
however it doesn't seem to want to send the mail to external servers?
I altered the source to get (I am pretty sure googles email servers are
running) the following (Is there something that would cause this?, I am
behind a firewall, and yes I am trying to spam myself at the moment);
It is happening on all of the google mail servers, I am pretty sure some of them are running at least (there are 10 or so).
log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to SMTP
Server: aspmx.l.google.com. failed with exception: java.net.ConnectException:
Operation timed out
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(
AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(
AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
)
- Ignored:
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
SMTPRemoteSender.java:976)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:181)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:155)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
SMTPSenderStandard.java:493)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
SMTPSenderStandard.java:231)
at
com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
SenderPool.java:129)
Cheers,
Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-05-13 07:30:26
|
Hi Andreas, I have diagnosed this using the command prompt and telnet, so I am fairly sure it is my isp AT%T, here are the command line/telnet output (NOTE authsmtp.com says it has port 25 open, but that many ISPs block it); $ telnet aspmx.l.google.com 25 Trying 74.125.142.26... telnet: connect to address 74.125.142.26: Operation timed out Trying 2607:f8b0:4001:c02::1b... telnet: connect to address 2607:f8b0:4001:c02::1b: No route to host telnet: Unable to connect to remote host $ telnet mail.authsmtp.com 25 Trying 62.13.128.187... telnet: connect to address 62.13.128.187: Operation timed out $ telnet mail.authsmtp.com 2525 Trying 62.13.128.187... Connected to mail.authsmtp.com. Escape character is '^]'. 220 mail.authsmtp.com ESMTP Sendmail 8.14.2/8.14.2/; Mon, 13 May 2013 08:16:45 +0100 (BST) quit 221 2.0.0 mail.authsmtp.com closing connection Connection closed by foreign host. $ Also on your question about the build I think it works but here are my results; mvn clean install [ERROR] Failed to execute goal on project JES: Could not resolve dependencies for project com.ericdaugherty:JES:jar:2.6.0: Failure to find com.xlat4cast:unixUID:jar:1.0 in http://download.java.net/maven/2/ was cached in the local repository, resolution will not be reattempted until the update interval of java-net has elapsed or updates are forced -> [Help 1] I see the unixUID.jar in the lib dir, but I am not sure which maven repo you are connecting to to find this dependency. I ran the tests from eclipse found 14/54 failures but these seem to be mostly; junit.framework.AssertionFailedError: Exception in constructor: test1 (java.lang.RuntimeException: java.io.FileNotFoundException: target/test-classes/users (Is a directory), so these failures are probably just due to the test being run outside of maven, and maven not getting to the compile phase. Cheers, Scott On Mon, May 13, 2013 at 1:50 AM, <jav...@li... > wrote: > Hi Scott, > most public commercial mail servers reject SMTP connections from dynamic > IP ranges (PBL blacklisting). Although the last time I checked that issue a > connection could be established, if I remember correctly, then rejected > after the EHLO command. Could you please send me directly (my email can be > found in RealeaseNotes.txt under the docs folder) a copy of your mail.xml > file along with the jes.log file? It may also have to do with the fact that > you are using OSX. Actually verifying that JES works on OSX would be nice. > Could you please also run the maven test suit and report on the results? > > I do have to get to work now, will be replying after 10 hours or so. > > Regards, > Andreas > > ------------------------------ > Date: Sun, 12 May 2013 22:58:14 -0500 > > To: jav...@li... > From: jav...@li... > Subject: Re: [Javaemailserver-user] issue in relay? > > Hi Andreas, > > Ok I tried the 2.6 release and I am still having the connection timeout > issue, not sure why this is as I am pretty sure googles email servers are > running just fine (as I am using them to write this email). I am looking > for a pretty simple setup for outgoing email from java only. > > Java Program via Java Mail API sends email message to some smpt email > server I have setup (aka JES). The smpt email server I have setup then > sends/relays the email message to the mail server via the MX records so I > can see the email has arrived at some commonly used email servers/systems > (ie hotmail, yahoo, gmail exc). > > The part that I have been stuck with on all smpt servers (sendmail, > james, jes exc) is getting the relay to actually work, any information > about this will help (books, links exc). > > I do understand to some degree how the JES server is doing relay, since > I can see it discovering the MX records and attempting to create Java > Socket connections to the various mail servers. If you can point me in > the right direction, I will try help you with JES so that does what I need > it to, or at least provides better insight as to why the socket connections > are not connecting to relay the mail. > > Cheers, > Scott > > > > > > > > On Sun, May 12, 2013 at 11:31 AM, < > jav...@li...> wrote: > > Hello Scott, > this is another nasty bug that found its way into the previous release. I > 'm currently making the necessary corrections and additions towards a 2.6 > release. Perhaps even tonight. > > Thanks for taking the time to review the code. I appreciate your offer of > assistance and kindly ask you to wait before reaching a decision regarding > which server to select. There are a number of ideas I would like to explore > (e.g. a parallel scaled back version of JES, in the spirit of version > 1.6.1) and any help towards actually manifesting them is welcomed. > > Regards, > Andreas > > ------------------------------ > Date: Sat, 11 May 2013 13:15:46 -0500 > To: jav...@li... > From: jav...@li... > Subject: Re: [Javaemailserver-user] issue in relay? > > > Hi, > > Thanks for the quick response, I may be interested in helping you in > some maintaince (although I am in the evaluation phase of my work and may > go with james). I did have to make this change to get as far as I did, as > far as I can tell code would have always thrown a npe. > > had to modify JESProperties.java at 105 (looks like a intentional snag?) > > private JESProperties(Properties properties, String fileEncoding, > boolean charMode) { > > this.dis = null; > > if > (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding()))) > { > > this.fileEncoding = dis.getEncoding(); > > } > > else { > > this.fileEncoding = fileEncoding; > > } > > > > to; > > private JESProperties(Properties properties, String fileEncoding, > boolean charMode) { > > this.dis = null; > > this.fileEncoding = fileEncoding; > > > Cheers, > > Scott > > > On Sat, May 11, 2013 at 3:32 AM, < > jav...@li...> wrote: > > The code submitted during the last update did indeed break > SMTPRemoteSender. An update is ready, but the testing facility meant to > prevent something like this from happening again in the future needs some > work , that is why I have not rolled out a new version. (Entering personal > details mode) The fact that I got a new job (which I'm really excited about > and pleased with) is not helping right now, it raises priority issues. > (Exiting personal details mode) You could open a bug ticket so that I can > suggest the fix (actually supply the correct code there). The whole SMTP > client code base actually needs a complete overhaul, not unlike the one > already implemented for the SMTP server mode in version 2.5. I will try to > send a new version upstream ASAP. > > Regards, > Andreas > > ------------------------------ > Date: Sat, 11 May 2013 01:57:47 -0500 > To: jav...@li... > From: jav...@li... > Subject: [Javaemailserver-user] issue in relay? > > > Ok I got it running from the source in eclipse on nonstandard ports, > > however it doesn't seem to want to send the mail to external servers? > > > I altered the source to get (I am pretty sure googles email servers are > > running) the following (Is there something that would cause this?, I am > > behind a firewall, and yes I am trying to spam myself at the moment); > > > It is happening on all of the google mail servers, I am pretty sure some > of them are running at least (there are 10 or so). > > > log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to > SMTP > > Server: aspmx.l.google.com. failed with exception: > java.net.ConnectException: > > Operation timed out > > java.net.ConnectException: Operation timed out > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at java.net.AbstractPlainSocketImpl.doConnect( > > AbstractPlainSocketImpl.java:339) > > at java.net.AbstractPlainSocketImpl.connectToAddress( > > AbstractPlainSocketImpl.java:200) > > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182 > > ) > > > - Ignored: > > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) > > > at java.net.Socket.connect(Socket.java:579) > > > at > > > com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect( > > SMTPRemoteSender.java:976) > > > at > > > com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage( > > SMTPRemoteSender.java:181) > > > at > > > com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage( > > SMTPRemoteSender.java:155) > > > at > > > com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage( > > SMTPSenderStandard.java:493) > > > at > > > com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run( > > SMTPSenderStandard.java:231) > > > at > > > com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run( > > SenderPool.java:129) > > > > Cheers, > > > Scott > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is > the definitive new guide to graph databases and their applications. This > 200-page book is written by three acclaimed leaders in the field. The early > access version is available now. Download your free book today! > http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ Javaemailserver-user > mailing list Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is > the definitive new guide to graph databases and their applications. This > 200-page book is written by three acclaimed leaders in the field. The early > access version is available now. Download your free book today! > http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ Javaemailserver-user > mailing list Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is > the definitive new guide to graph databases and their applications. This > 200-page book is written by three acclaimed leaders in the field. The early > access version is available now. Download your free book today! > http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ Javaemailserver-user > mailing list Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > |
|
From: <jav...@li...> - 2013-05-13 07:13:46
|
Hi All,
Ok I have decided to join your effort to improve JES, which seems like
a very nice and rather simple (compared to james) email server in java.
Also I would like to change the server slightly so that I can pass in the
master password through the command line, although this may seem insecure
to some, it is what I want so that I can run the server without the
password dialog popping up. Also I can be in charge of mac support (since
that's what I am developing on).
Please let me know what I need to do to get access to the trunk.
Cheers,
Scott
On Sun, May 12, 2013 at 11:31 AM, <
jav...@li...> wrote:
> Hello Scott,
> this is another nasty bug that found its way into the previous release. I
> 'm currently making the necessary corrections and additions towards a 2.6
> release. Perhaps even tonight.
>
> Thanks for taking the time to review the code. I appreciate your offer of
> assistance and kindly ask you to wait before reaching a decision regarding
> which server to select. There are a number of ideas I would like to explore
> (e.g. a parallel scaled back version of JES, in the spirit of version
> 1.6.1) and any help towards actually manifesting them is welcomed.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 13:15:46 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: Re: [Javaemailserver-user] issue in relay?
>
>
> Hi,
>
> Thanks for the quick response, I may be interested in helping you in
> some maintaince (although I am in the evaluation phase of my work and may
> go with james). I did have to make this change to get as far as I did, as
> far as I can tell code would have always thrown a npe.
>
> had to modify JESProperties.java at 105 (looks like a intentional snag?)
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> if
> (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding())))
> {
>
> this.fileEncoding = dis.getEncoding();
>
> }
>
> else {
>
> this.fileEncoding = fileEncoding;
>
> }
>
>
>
> to;
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> this.fileEncoding = fileEncoding;
>
>
> Cheers,
>
> Scott
>
>
> On Sat, May 11, 2013 at 3:32 AM, <
> jav...@li...> wrote:
>
> The code submitted during the last update did indeed break
> SMTPRemoteSender. An update is ready, but the testing facility meant to
> prevent something like this from happening again in the future needs some
> work , that is why I have not rolled out a new version. (Entering personal
> details mode) The fact that I got a new job (which I'm really excited about
> and pleased with) is not helping right now, it raises priority issues.
> (Exiting personal details mode) You could open a bug ticket so that I can
> suggest the fix (actually supply the correct code there). The whole SMTP
> client code base actually needs a complete overhaul, not unlike the one
> already implemented for the SMTP server mode in version 2.5. I will try to
> send a new version upstream ASAP.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 01:57:47 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: [Javaemailserver-user] issue in relay?
>
>
> Ok I got it running from the source in eclipse on nonstandard ports,
>
> however it doesn't seem to want to send the mail to external servers?
>
>
> I altered the source to get (I am pretty sure googles email servers are
>
> running) the following (Is there something that would cause this?, I am
>
> behind a firewall, and yes I am trying to spam myself at the moment);
>
>
> It is happening on all of the google mail servers, I am pretty sure some
> of them are running at least (there are 10 or so).
>
>
> log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to
> SMTP
>
> Server: aspmx.l.google.com. failed with exception:
> java.net.ConnectException:
>
> Operation timed out
>
> java.net.ConnectException: Operation timed out
>
> at java.net.PlainSocketImpl.socketConnect(Native Method)
>
> at java.net.AbstractPlainSocketImpl.doConnect(
>
> AbstractPlainSocketImpl.java:339)
>
> at java.net.AbstractPlainSocketImpl.connectToAddress(
>
> AbstractPlainSocketImpl.java:200)
>
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
>
> )
>
>
> - Ignored:
>
>
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
>
>
> at java.net.Socket.connect(Socket.java:579)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
>
> SMTPRemoteSender.java:976)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:181)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:155)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
>
> SMTPSenderStandard.java:493)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
>
> SMTPSenderStandard.java:231)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
>
> SenderPool.java:129)
>
>
>
> Cheers,
>
>
> Scott
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
|
|
From: <jav...@li...> - 2013-05-13 06:51:54
|
Hi Again,
Ok I have determined my ISP is blocking port 25, after finding a post on
wikipedia that some ISP's block outbound connections to port 25 on all
servers. I would change the relay code to something like;
MXRecord mxEntry = mxEntries[index];
int port = 25;
Name target = mxEntry.getTarget();
String mxServer = target.toString();
Record [] ipAddrs = new Lookup(mxServer, Type.A).run();
if (ipAddrs.length >= 1) {
Record record = ipAddrs[0];
String ip = record.rdataToString();
try {
return new Socket(ip, port );
}
catch( IOException e ) {
log.error( "Delivering to domain " + domain.getDomainName()
+ " through " + mxServer + " at "
+ ip + ":" + port + " failed with exception: " + e.
getLocalizedMessage() +
"\n Note some ISP's block port outbound connections
to "+ port + "
to prevent spamming, you may need to contact them.");
}
}
Cheers,
Scott
On Sun, May 12, 2013 at 11:31 AM, <
jav...@li...> wrote:
> Hello Scott,
> this is another nasty bug that found its way into the previous release. I
> 'm currently making the necessary corrections and additions towards a 2.6
> release. Perhaps even tonight.
>
> Thanks for taking the time to review the code. I appreciate your offer of
> assistance and kindly ask you to wait before reaching a decision regarding
> which server to select. There are a number of ideas I would like to explore
> (e.g. a parallel scaled back version of JES, in the spirit of version
> 1.6.1) and any help towards actually manifesting them is welcomed.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 13:15:46 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: Re: [Javaemailserver-user] issue in relay?
>
>
> Hi,
>
> Thanks for the quick response, I may be interested in helping you in
> some maintaince (although I am in the evaluation phase of my work and may
> go with james). I did have to make this change to get as far as I did, as
> far as I can tell code would have always thrown a npe.
>
> had to modify JESProperties.java at 105 (looks like a intentional snag?)
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> if
> (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding())))
> {
>
> this.fileEncoding = dis.getEncoding();
>
> }
>
> else {
>
> this.fileEncoding = fileEncoding;
>
> }
>
>
>
> to;
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> this.fileEncoding = fileEncoding;
>
>
> Cheers,
>
> Scott
>
>
> On Sat, May 11, 2013 at 3:32 AM, <
> jav...@li...> wrote:
>
> The code submitted during the last update did indeed break
> SMTPRemoteSender. An update is ready, but the testing facility meant to
> prevent something like this from happening again in the future needs some
> work , that is why I have not rolled out a new version. (Entering personal
> details mode) The fact that I got a new job (which I'm really excited about
> and pleased with) is not helping right now, it raises priority issues.
> (Exiting personal details mode) You could open a bug ticket so that I can
> suggest the fix (actually supply the correct code there). The whole SMTP
> client code base actually needs a complete overhaul, not unlike the one
> already implemented for the SMTP server mode in version 2.5. I will try to
> send a new version upstream ASAP.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 01:57:47 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: [Javaemailserver-user] issue in relay?
>
>
> Ok I got it running from the source in eclipse on nonstandard ports,
>
> however it doesn't seem to want to send the mail to external servers?
>
>
> I altered the source to get (I am pretty sure googles email servers are
>
> running) the following (Is there something that would cause this?, I am
>
> behind a firewall, and yes I am trying to spam myself at the moment);
>
>
> It is happening on all of the google mail servers, I am pretty sure some
> of them are running at least (there are 10 or so).
>
>
> log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to
> SMTP
>
> Server: aspmx.l.google.com. failed with exception:
> java.net.ConnectException:
>
> Operation timed out
>
> java.net.ConnectException: Operation timed out
>
> at java.net.PlainSocketImpl.socketConnect(Native Method)
>
> at java.net.AbstractPlainSocketImpl.doConnect(
>
> AbstractPlainSocketImpl.java:339)
>
> at java.net.AbstractPlainSocketImpl.connectToAddress(
>
> AbstractPlainSocketImpl.java:200)
>
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
>
> )
>
>
> - Ignored:
>
>
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
>
>
> at java.net.Socket.connect(Socket.java:579)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
>
> SMTPRemoteSender.java:976)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:181)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:155)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
>
> SMTPSenderStandard.java:493)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
>
> SMTPSenderStandard.java:231)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
>
> SenderPool.java:129)
>
>
>
> Cheers,
>
>
> Scott
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
|
|
From: <jav...@li...> - 2013-05-13 06:50:34
|
Hi Scott,
most public commercial mail servers reject SMTP connections from dynamic IP ranges (PBL blacklisting). Although the last time I checked that issue a connection could be established, if I remember correctly, then rejected after the EHLO command. Could you please send me directly (my email can be found in RealeaseNotes.txt under the docs folder) a copy of your mail.xml file along with the jes.log file? It may also have to do with the fact that you are using OSX. Actually verifying that JES works on OSX would be nice. Could you please also run the maven test suit and report on the results?
I do have to get to work now, will be replying after 10 hours or so.
Regards,
Andreas
Date: Sun, 12 May 2013 22:58:14 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi Andreas,
Ok I tried the 2.6 release and I am still having the connection timeout issue, not sure why this is as I am pretty sure googles email servers are running just fine (as I am using them to write this email). I am looking for a pretty simple setup for outgoing email from java only.
Java Program via Java Mail API sends email message to some smpt email server I have setup (aka JES). The smpt email server I have setup then sends/relays the email message to the mail server via the MX records so I can see the email has arrived at some commonly used email servers/systems (ie hotmail, yahoo, gmail exc).
The part that I have been stuck with on all smpt servers (sendmail, james, jes exc) is getting the relay to actually work, any information about this will help (books, links exc).
I do understand to some degree how the JES server is doing relay, since I can see it discovering the MX records and attempting to create Java Socket connections to the various mail servers. If you can point me in the right direction, I will try help you with JES so that does what I need it to, or at least provides better insight as to why the socket connections are not connecting to relay the mail.
Cheers,Scott
On Sun, May 12, 2013 at 11:31 AM, <jav...@li...> wrote:
Hello Scott,
this is another nasty bug that found its way into the previous release. I 'm currently making the necessary corrections and additions towards a 2.6 release. Perhaps even tonight.
Thanks for taking the time to review the code. I appreciate your offer of assistance and kindly ask you to wait before reaching a decision regarding which server to select. There are a number of ideas I would like to explore (e.g. a parallel scaled back version of JES, in the spirit of version 1.6.1) and any help towards actually manifesting them is welcomed.
Regards,
Andreas
Date: Sat, 11 May 2013 13:15:46 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi,
Thanks for the quick response, I may be interested in helping you in some maintaince (although I am in the evaluation phase of my work and may go with james). I did have to make this change to get as far as I did, as far as I can tell code would have always thrown a npe.
had to modify JESProperties.java at 105 (looks like a intentional snag?)
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
if (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding()))) {
this.fileEncoding = dis.getEncoding();
}
else {
this.fileEncoding = fileEncoding;
}
to;
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
this.fileEncoding = fileEncoding;
Cheers,Scott
On Sat, May 11, 2013 at 3:32 AM, <jav...@li...> wrote:
The code submitted during the last update did indeed break SMTPRemoteSender. An update is ready, but the testing facility meant to prevent something like this from happening again in the future needs some work , that is why I have not rolled out a new version. (Entering personal details mode) The fact that I got a new job (which I'm really excited about and pleased with) is not helping right now, it raises priority issues. (Exiting personal details mode) You could open a bug ticket so that I can suggest the fix (actually supply the correct code there). The whole SMTP client code base actually needs a complete overhaul, not unlike the one already implemented for the SMTP server mode in version 2.5. I will try to send a new version upstream ASAP.
Regards,
Andreas
Date: Sat, 11 May 2013 01:57:47 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] issue in relay?
Ok I got it running from the source in eclipse on nonstandard ports,
however it doesn't seem to want to send the mail to external servers?
I altered the source to get (I am pretty sure googles email servers are
running) the following (Is there something that would cause this?, I am
behind a firewall, and yes I am trying to spam myself at the moment);
It is happening on all of the google mail servers, I am pretty sure some of them are running at least (there are 10 or so).
log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to SMTP
Server: aspmx.l.google.com. failed with exception: java.net.ConnectException:
Operation timed out
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(
AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(
AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
)
- Ignored:
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
SMTPRemoteSender.java:976)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:181)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:155)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
SMTPSenderStandard.java:493)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
SMTPSenderStandard.java:231)
at
com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
SenderPool.java:129)
Cheers,
Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-05-13 03:58:22
|
Hi Andreas,
Ok I tried the 2.6 release and I am still having the connection timeout
issue, not sure why this is as I am pretty sure googles email servers are
running just fine (as I am using them to write this email). I am looking
for a pretty simple setup for outgoing email from java only.
Java Program via Java Mail API sends email message to some smpt email
server I have setup (aka JES). The smpt email server I have setup then
sends/relays the email message to the mail server via the MX records so I
can see the email has arrived at some commonly used email servers/systems
(ie hotmail, yahoo, gmail exc).
The part that I have been stuck with on all smpt servers (sendmail,
james, jes exc) is getting the relay to actually work, any information
about this will help (books, links exc).
I do understand to some degree how the JES server is doing relay, since
I can see it discovering the MX records and attempting to create Java
Socket connections to the various mail servers. If you can point me in
the right direction, I will try help you with JES so that does what I need
it to, or at least provides better insight as to why the socket connections
are not connecting to relay the mail.
Cheers,
Scott
On Sun, May 12, 2013 at 11:31 AM, <
jav...@li...> wrote:
> Hello Scott,
> this is another nasty bug that found its way into the previous release. I
> 'm currently making the necessary corrections and additions towards a 2.6
> release. Perhaps even tonight.
>
> Thanks for taking the time to review the code. I appreciate your offer of
> assistance and kindly ask you to wait before reaching a decision regarding
> which server to select. There are a number of ideas I would like to explore
> (e.g. a parallel scaled back version of JES, in the spirit of version
> 1.6.1) and any help towards actually manifesting them is welcomed.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 13:15:46 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: Re: [Javaemailserver-user] issue in relay?
>
>
> Hi,
>
> Thanks for the quick response, I may be interested in helping you in
> some maintaince (although I am in the evaluation phase of my work and may
> go with james). I did have to make this change to get as far as I did, as
> far as I can tell code would have always thrown a npe.
>
> had to modify JESProperties.java at 105 (looks like a intentional snag?)
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> if
> (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding())))
> {
>
> this.fileEncoding = dis.getEncoding();
>
> }
>
> else {
>
> this.fileEncoding = fileEncoding;
>
> }
>
>
>
> to;
>
> private JESProperties(Properties properties, String fileEncoding,
> boolean charMode) {
>
> this.dis = null;
>
> this.fileEncoding = fileEncoding;
>
>
> Cheers,
>
> Scott
>
>
> On Sat, May 11, 2013 at 3:32 AM, <
> jav...@li...> wrote:
>
> The code submitted during the last update did indeed break
> SMTPRemoteSender. An update is ready, but the testing facility meant to
> prevent something like this from happening again in the future needs some
> work , that is why I have not rolled out a new version. (Entering personal
> details mode) The fact that I got a new job (which I'm really excited about
> and pleased with) is not helping right now, it raises priority issues.
> (Exiting personal details mode) You could open a bug ticket so that I can
> suggest the fix (actually supply the correct code there). The whole SMTP
> client code base actually needs a complete overhaul, not unlike the one
> already implemented for the SMTP server mode in version 2.5. I will try to
> send a new version upstream ASAP.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 01:57:47 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: [Javaemailserver-user] issue in relay?
>
>
> Ok I got it running from the source in eclipse on nonstandard ports,
>
> however it doesn't seem to want to send the mail to external servers?
>
>
> I altered the source to get (I am pretty sure googles email servers are
>
> running) the following (Is there something that would cause this?, I am
>
> behind a firewall, and yes I am trying to spam myself at the moment);
>
>
> It is happening on all of the google mail servers, I am pretty sure some
> of them are running at least (there are 10 or so).
>
>
> log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to
> SMTP
>
> Server: aspmx.l.google.com. failed with exception:
> java.net.ConnectException:
>
> Operation timed out
>
> java.net.ConnectException: Operation timed out
>
> at java.net.PlainSocketImpl.socketConnect(Native Method)
>
> at java.net.AbstractPlainSocketImpl.doConnect(
>
> AbstractPlainSocketImpl.java:339)
>
> at java.net.AbstractPlainSocketImpl.connectToAddress(
>
> AbstractPlainSocketImpl.java:200)
>
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
>
> )
>
>
> - Ignored:
>
>
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
>
>
> at java.net.Socket.connect(Socket.java:579)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
>
> SMTPRemoteSender.java:976)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:181)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:155)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
>
> SMTPSenderStandard.java:493)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
>
> SMTPSenderStandard.java:231)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
>
> SenderPool.java:129)
>
>
>
> Cheers,
>
>
> Scott
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
|
|
From: <jav...@li...> - 2013-05-12 23:23:49
|
Hi all, head over to sourceforge to download the latest version of JES. A number of bugs that creeped into version 2.5 have been taken care of. Some rewriting of the SMTP client code also took place. Enjoy the new release. I'm looking forward to some feedback. Regards, Andreas |
|
From: <jav...@li...> - 2013-05-12 16:31:24
|
Hello Scott,
this is another nasty bug that found its way into the previous release. I 'm currently making the necessary corrections and additions towards a 2.6 release. Perhaps even tonight.
Thanks for taking the time to review the code. I appreciate your offer of assistance and kindly ask you to wait before reaching a decision regarding which server to select. There are a number of ideas I would like to explore (e.g. a parallel scaled back version of JES, in the spirit of version 1.6.1) and any help towards actually manifesting them is welcomed.
Regards,
Andreas
Date: Sat, 11 May 2013 13:15:46 -0500
To: jav...@li...
From: jav...@li...
Subject: Re: [Javaemailserver-user] issue in relay?
Hi,
Thanks for the quick response, I may be interested in helping you in some maintaince (although I am in the evaluation phase of my work and may go with james). I did have to make this change to get as far as I did, as far as I can tell code would have always thrown a npe.
had to modify JESProperties.java at 105 (looks like a intentional snag?)
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
if (!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding()))) {
this.fileEncoding = dis.getEncoding();
}
else {
this.fileEncoding = fileEncoding;
}
to;
private JESProperties(Properties properties, String fileEncoding, boolean charMode) {
this.dis = null;
this.fileEncoding = fileEncoding;
Cheers,Scott
On Sat, May 11, 2013 at 3:32 AM, <jav...@li...> wrote:
The code submitted during the last update did indeed break SMTPRemoteSender. An update is ready, but the testing facility meant to prevent something like this from happening again in the future needs some work , that is why I have not rolled out a new version. (Entering personal details mode) The fact that I got a new job (which I'm really excited about and pleased with) is not helping right now, it raises priority issues. (Exiting personal details mode) You could open a bug ticket so that I can suggest the fix (actually supply the correct code there). The whole SMTP client code base actually needs a complete overhaul, not unlike the one already implemented for the SMTP server mode in version 2.5. I will try to send a new version upstream ASAP.
Regards,
Andreas
Date: Sat, 11 May 2013 01:57:47 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] issue in relay?
Ok I got it running from the source in eclipse on nonstandard ports,
however it doesn't seem to want to send the mail to external servers?
I altered the source to get (I am pretty sure googles email servers are
running) the following (Is there something that would cause this?, I am
behind a firewall, and yes I am trying to spam myself at the moment);
It is happening on all of the google mail servers, I am pretty sure some of them are running at least (there are 10 or so).
log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to SMTP
Server: aspmx.l.google.com. failed with exception: java.net.ConnectException:
Operation timed out
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(
AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(
AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
)
- Ignored:
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
SMTPRemoteSender.java:976)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:181)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:155)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
SMTPSenderStandard.java:493)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
SMTPSenderStandard.java:231)
at
com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
SenderPool.java:129)
Cheers,
Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-05-11 18:15:53
|
Hi,
Thanks for the quick response, I may be interested in helping you in
some maintaince (although I am in the evaluation phase of my work and may
go with james). I did have to make this change to get as far as I did, as
far as I can tell code would have always thrown a npe.
had to modify JESProperties.java at 105 (looks like a intentional snag?)
private JESProperties(Properties properties, String fileEncoding,
boolean charMode) {
this.dis = null;
if
(!Charset.forName(fileEncoding).equals(Charset.forName(dis.getEncoding())))
{
this.fileEncoding = dis.getEncoding();
}
else {
this.fileEncoding = fileEncoding;
}
to;
private JESProperties(Properties properties, String fileEncoding,
boolean charMode) {
this.dis = null;
this.fileEncoding = fileEncoding;
Cheers,
Scott
On Sat, May 11, 2013 at 3:32 AM, <jav...@li...
> wrote:
> The code submitted during the last update did indeed break
> SMTPRemoteSender. An update is ready, but the testing facility meant to
> prevent something like this from happening again in the future needs some
> work , that is why I have not rolled out a new version. (Entering personal
> details mode) The fact that I got a new job (which I'm really excited about
> and pleased with) is not helping right now, it raises priority issues.
> (Exiting personal details mode) You could open a bug ticket so that I can
> suggest the fix (actually supply the correct code there). The whole SMTP
> client code base actually needs a complete overhaul, not unlike the one
> already implemented for the SMTP server mode in version 2.5. I will try to
> send a new version upstream ASAP.
>
> Regards,
> Andreas
>
> ------------------------------
> Date: Sat, 11 May 2013 01:57:47 -0500
> To: jav...@li...
> From: jav...@li...
> Subject: [Javaemailserver-user] issue in relay?
>
>
> Ok I got it running from the source in eclipse on nonstandard ports,
>
> however it doesn't seem to want to send the mail to external servers?
>
>
> I altered the source to get (I am pretty sure googles email servers are
>
> running) the following (Is there something that would cause this?, I am
>
> behind a firewall, and yes I am trying to spam myself at the moment);
>
>
> It is happening on all of the google mail servers, I am pretty sure some
> of them are running at least (there are 10 or so).
>
>
> log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to
> SMTP
>
> Server: aspmx.l.google.com. failed with exception:
> java.net.ConnectException:
>
> Operation timed out
>
> java.net.ConnectException: Operation timed out
>
> at java.net.PlainSocketImpl.socketConnect(Native Method)
>
> at java.net.AbstractPlainSocketImpl.doConnect(
>
> AbstractPlainSocketImpl.java:339)
>
> at java.net.AbstractPlainSocketImpl.connectToAddress(
>
> AbstractPlainSocketImpl.java:200)
>
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
>
> )
>
>
> - Ignored:
>
>
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
>
>
> at java.net.Socket.connect(Socket.java:579)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
>
> SMTPRemoteSender.java:976)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:181)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
>
> SMTPRemoteSender.java:155)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
>
> SMTPSenderStandard.java:493)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
>
> SMTPSenderStandard.java:231)
>
>
> at
>
>
> com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
>
> SenderPool.java:129)
>
>
>
> Cheers,
>
>
> Scott
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. This
> 200-page book is written by three acclaimed leaders in the field. The early
> access version is available now. Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________ Javaemailserver-user
> mailing list Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Javaemailserver-user mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user
>
>
|
|
From: <jav...@li...> - 2013-05-11 08:32:25
|
The code submitted during the last update did indeed break SMTPRemoteSender. An update is ready, but the testing facility meant to prevent something like this from happening again in the future needs some work , that is why I have not rolled out a new version. (Entering personal details mode) The fact that I got a new job (which I'm really excited about and pleased with) is not helping right now, it raises priority issues. (Exiting personal details mode) You could open a bug ticket so that I can suggest the fix (actually supply the correct code there). The whole SMTP client code base actually needs a complete overhaul, not unlike the one already implemented for the SMTP server mode in version 2.5. I will try to send a new version upstream ASAP.
Regards,
Andreas
Date: Sat, 11 May 2013 01:57:47 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] issue in relay?
Ok I got it running from the source in eclipse on nonstandard ports,
however it doesn't seem to want to send the mail to external servers?
I altered the source to get (I am pretty sure googles email servers are
running) the following (Is there something that would cause this?, I am
behind a firewall, and yes I am trying to spam myself at the moment);
It is happening on all of the google mail servers, I am pretty sure some of them are running at least (there are 10 or so).
log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to SMTP
Server: aspmx.l.google.com. failed with exception: java.net.ConnectException:
Operation timed out
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(
AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(
AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
)
- Ignored:
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
SMTPRemoteSender.java:976)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:181)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:155)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
SMTPSenderStandard.java:493)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
SMTPSenderStandard.java:231)
at
com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
SenderPool.java:129)
Cheers,
Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-05-11 08:17:34
|
Hi Scott,
thanks for trying out JES.
jes.sh is used so that JES is run as a system daemon. You should try mail.sh instead. There is one catch in a *nix OS with port access. Anything below 1025 is considered privileged and only privileged users (e.g. the root) can access it. As a security precaution (when running JES using the jes.sh script, as outlined in the installation section of the documentation) the user is switched to a non-privileged user (the jesserver) when JES fires up. This is the only instance that jes uses native code (there is no java way of changing the uid as far as I know).
I also have no way of verifying what works and what not on a mac, that's why there is no official support for it. I did at one time spot a few cases where I assumed that something would not run (right) on a mac, that is why I removed the implied mac support in sourceforge during the last update.
Best regards,
Andreas
Date: Fri, 10 May 2013 22:32:50 -0500
To: jav...@li...
From: jav...@li...
Subject: [Javaemailserver-user] Trying to install on Mac OS X/ Java 1.7 as non root.
Hi,
I am trying to hackup the jes.sh script to get it running as a non root user on mac os 10. I understand it calls the wrapper which is a binary program, why is this necessary if JES is written in Java?
Does JES attempt to use some native code for email, if so why?
Why not use something like the following to start it up?java -jar jes.jar
Why require the root user (alternate ports can be configured right)?
Cheers,Scott
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Javaemailserver-user mailing list
Jav...@li...
https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
|
From: <jav...@li...> - 2013-05-11 06:57:54
|
Ok I got it running from the source in eclipse on nonstandard ports,
however it doesn't seem to want to send the mail to external servers?
I altered the source to get (I am pretty sure googles email servers are
running) the following (Is there something that would cause this?, I am
behind a firewall, and yes I am trying to spam myself at the moment);
It is happening on all of the google mail servers, I am pretty sure some of
them are running at least (there are 10 or so).
log4jxml Deliver Standard 4 [ERROR] SMTPRemoteSender - Connection to
SMTP
Server: aspmx.l.google.com. failed with exception:
java.net.ConnectException:
Operation timed out
java.net.ConnectException: Operation timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(
AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(
AbstractPlainSocketImpl.java:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182
)
- Ignored:
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.connect(
SMTPRemoteSender.java:976)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:181)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPRemoteSender.sendMessage(
SMTPRemoteSender.java:155)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.deliverRemoteMessage(
SMTPSenderStandard.java:493)
at
com.ericdaugherty.mail.server.services.smtp.client.SMTPSenderStandard$StandardDeliver.run(
SMTPSenderStandard.java:231)
at
com.ericdaugherty.mail.server.services.smtp.client.SenderPool$FastThread.run(
SenderPool.java:129)
Cheers,
Scott
|
|
From: <jav...@li...> - 2013-05-11 04:40:05
|
Hi,
I am trying to hackup the jes.sh script to get it running as a non root
user on mac os 10. I understand it calls the wrapper which is a binary
program, why is this necessary if JES is written in Java?
Does JES attempt to use some native code for email, if so why?
Why not use something like the following to start it up?
java -jar jes.jar
Why require the root user (alternate ports can be configured right)?
Cheers,
Scott
|
|
From: <jav...@li...> - 2013-02-26 20:31:10
|
Greetings to everyone. Version 2.5 of the Java Email Server is available, with a number of enhancements and improvements. Check the release notes for the specifics. The eye-catcher is the ability to, not only administer domains, users and DIGEST-MD5 realms via a web browser, but also affect changes to most settings of the server as well (including remotely restarting the server). JES-WEB is an android friendly browser module. For any questions regarding this new version (and also previous branch 2 versions) feel free to drop a message to this mailing list. Regards Andreas Kyrmegalos A JES (web) developer |