microtan / nhin-d

Automatically exported from code.google.com/p/nhin-d
0 stars 0 forks source link

Error while dalivery maily when recived/send from/to external domain #233

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.database properties to mysql
2.domain list using JPA
3.Mailetcontainer.conf I followed the steps and changed the local host and 
mydomain.com and finally in wrapper.conf I added licence file details as well 
as download and copy the .exe file from http://wrapper.tanukisoftware.com 
v3.5.24 and renamed it to "wrapper-windows-x86-64.exe" and changed in james.bat 
from wrapper-windows-x86-32 to wrapper-windows-x86-64 and from 
wrapper-windows-x86-64 to wrapper-windows-x86-32 because without changing this 
license info i am getting a error ( unable to access mailbox). after changing 
license file i got the same error so i chenged the exe file too. 
4.open cmd and run these commands "startup" to start apache tomcat server.(It 
was started successfully.)
5.Installed all certificates by creating a domain and add anchors and trust 
bundles. Added certificate of transport testing tool anchors for that.    
6.open cmd and run the command " james install" (james3 beta4)(james installed 
successfully.)
7.open cmd and run the command " james start" (james started successfully.)
8.created users.
9. I try to send mails locally i mean to local users it worked perfectly. 
10.From this link http://transport-testing.nist.gov/ttt/ i send a mail to the 
user which i previously created Now i am getting error and i attached error log 
below.
11.Now i send a mail from my user to the email id 
"direct-vdt-ambulatory@ttt.transport-testing.org" but some kind of rely deny(2) 
is occurring. I attached the error log at  last.

What is the expected output? What do you see instead?
Need to send/receive mails properly to external domains.
But it through some exceptions. Please help me

What version of the product are you using? On what operating system?

direct-project-stock-3.0.1.tar.gz in this i am using apache-james3beta4 on 
windows server 2008 64-bit (Note: james-2.3.2 is working properly)

Please provide any additional information below.

Thanx,
Harry.

Original issue reported on code.google.com by itsharsh...@gmail.com on 8 Mar 2014 at 9:54

Attachments:

GoogleCodeExporter commented 9 years ago
If you haven't already got this sorted, the end of your exception trace has a 
description of The jurisdiction policy files are not signed by a trusted 
signer. A quick search uncovers this post 
http://stackoverflow.com/questions/9745193/java-lang-securityexception-the-juris
diction-policy-files-are-not-signed-by-a-t

So it sounds as if you may have installed the wrong unlimited JCE for the 
version of Java you have running.

Original comment by phillip....@nitorgroup.com on 22 Mar 2014 at 2:04

GoogleCodeExporter commented 9 years ago
Hi phillip,

Thanks for your reply and is working fine but while sending i am getting 
trouble when enabling SMTP ATUH 
with this error log

Id='103720422' User='' Connection established from 155.169.252.241
INFO | jvm 1 | 2014/03/08 04:31:53 | INFO 04:31:53,298 | james.smtpserver | 
Id='103720422' User='' org.apache.james.smtpserver.AuthRequiredToRelayRcptHook: 
result=2 (DENY)
INFO | jvm 1 | 2014/03/08 04:31:56 | INFO 04:31:56,445 | james.smtpserver | 
Id='103720422' User='' Connection closed for 155.169.252.241]

If i disable SMTP AUTH I am able to send mails to extarnal domains.

and i had one more doubt please clarify me is it required to do the following 
step.

I added license file details as well as download and copy the .exe file from 
http://wrapper.tanukisoftware.com v3.5.24 and renamed it to 
"wrapper-windows-x86-64.exe" and changed in james.bat from 
wrapper-windows-x86-32 to wrapper-windows-x86-64 and from 
wrapper-windows-x86-64 to wrapper-windows-x86-32 "because without changing this 
license info i am getting a error ( unable to access mailbox)." after changing 
license file i got the same error so i changed the exe file too.

Is i required to add license information in wrapper.conf to send mails because 
i need to be purchased form tanukisoftware.com. actually james is a open source 
but is it required to purchase the license for using the wrapper and is their 
any solution to avoid the error (unable to access inbox) with out adding the 
license.

Again Thanks in advance for your helping nature.
Harry.

Original comment by itsharsh...@gmail.com on 24 Mar 2014 at 2:52

GoogleCodeExporter commented 9 years ago
Hi Harry

For the SMTP auth issues I'm not sure, have you tried disabling the 
AuthRequiredToRelayRcptHook?

Concerning the JSW there's a community edition available for free... I don't 
use the JSW with JAMES and haven't used the JSW in quite some time so I'd 
recommend seeing the tanuki software site for details on handling the license. 
Alternatively there's http://yajsw.sourceforge.net if you want to move to a 
free and unrestricted JSW compatible implementation.

And for "unable to access mailbox" where is this error appearing, in the log 
file?

Phillip

Original comment by phillip....@nitorgroup.com on 25 Mar 2014 at 1:31

GoogleCodeExporter commented 9 years ago
Hi Phillip,

Thanks for your quick response.

In which config file i may find this info to disable this 
"AuthRequiredToRelayRcptHook"
I Disabled <authRequired>(false) and its working fine but i think smtp 
<authRequired> need to keep true because its not a rely email server i 
think(don't know exactly).

Can we run james3b4 without installing the wrapper?

with out using the license in wrapper i got the error "unable to access 
mailbox" for this i attached the log info in the below attachment.

And i will check YAJSW how to use this one but for win-X64 community edition is 
not available at 
http://wrapper.tanukisoftware.com/doc/english/download.jsp#downloadNote1

Again Thanks in advance for your helping nature.
Harry.

Original comment by itsharsh...@gmail.com on 26 Mar 2014 at 11:15

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi Harry

Yeah I just remembered, the 64bit version of the JSW is only available if you 
buy a license... been 5 to 6 years since I dealt with the JSW on a 64bit 
machine. Unless I'm forgetting something there shouldn't be anything stopping 
you running the 32bit wrapper on a 64bit machine.

Concerning the use of the wrapper, yes there is no requirement to use it... it 
just provides a nice way to start JAMES as a service in Windows. See the bat 
file(s) in the bin directory.

If AuthRequiredToRelayRcptHook is enabled you should see it in the same file 
containing <authRequired> (conf/smtpserver.conf)

Phillip

Original comment by phillip....@nitorgroup.com on 26 Mar 2014 at 2:07

GoogleCodeExporter commented 9 years ago
Hi Phillip,

Yes 32bit wrapper also working( I mean james is started) here i am using 
community edition. but the problem while receiving the mails i am getting these 
errors in log file once please check those and advice me how to config and use 
this mails properly.

And AuthRequiredToRelayRcptHook  was not found in (conf/smtpserver.conf).

Again Thanks in advance for your helping nature.
Harry.

Original comment by itsharsh...@gmail.com on 26 Mar 2014 at 3:48

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Phillip,

Without installing the wrapper i was unable to run james3b4 like james2.3.2. 
buy running "Run.bat" if i miss any thing please suggest me how to run this.

Thanks,
Harry.

Original comment by itsharsh...@gmail.com on 27 Mar 2014 at 4:57