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