Re: [Javaemailserver-user] issue in relay?
Brought to you by:
edaugherty,
mfg8876
|
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 > > |