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