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