Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Jun 22, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

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 
"[email protected]" 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 [email protected] on 8 Mar 2014 at 9:54

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 22 Mar 2014 at 2:04

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Mar 2014 at 2:52

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 25 Mar 2014 at 1:31

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 26 Mar 2014 at 11:15

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 26 Mar 2014 at 2:07

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 26 Mar 2014 at 3:48

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 27 Mar 2014 at 4:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant