You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Shawn Fu Sheng <sh...@victz.com> on 2016/09/24 10:31:58 UTC

Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--       
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance. 

Thanks and Regards,
Shawn


Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by Shawn Fu Sheng <sh...@victz.com>.
Hi Haiming,

thank you for your great support. finally i resolved the issue. now every thing ok i am able to receive email from iCloud, yahoo, gmail, aliyun, etc. the root cause was i modified default smtp port 25 to 465 but i didn’t setup SSL. i was not aware the remote server was trying to connect my email server through default port 25 only. just noticed from my returned failure email mentioned as follows in red. 

Wed, 21 Sep 2016 03:06:26 +0000 (GMT)
TCP active open: Failed connect() to TCP port 25 of (my ip address)  (No formatted text for errno = 113)

due to i have postfix installed using 25, so after i modified postfix to another port. changed james smtp back to 25. now everything is working perfectly !!! :p :p :p Thank you again very much for your continous kind help!

Thanks and Regards,
Shawn

On Sep 25, 2016, at 10:39 PM, li hai ming <ha...@outlook.com> wrote:

If you like, you may create an account for me (e.g., lhm@your.domain <ma...@your.domain>, pwd=lhm123456). I can have a try with my email client to see what would happen.
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月25日 17:50
收件人: li hai ming <ma...@outlook.com>
抄送: James Users List <ma...@james.apache.org>
主题: Re: 答复: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi Haiming, 

I am using iPhone and mac native email client, but thing is I can see all emails in INBOX sent from local account. All emails looks good in INBOX and SENT box. 

That's why I am a bit confused. Is there any switch for incoming email in configuration files I need to open?

Thanks and Regards,
Shawn

On 25 Sep 2016, at 1:41 PM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

In this case (mx ok and no log in your james server log file), it seems there is something wrong in your email client.
Which client r u using? Everything OK in the client config?
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月25日 12:31
收件人: Li Haiming <ma...@outlook.com>
抄送: James Users List <ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi Haiming,

thank you for your prompt response. i can see MX record is pointing to my CNAME which pointing to server ip. in smtpserver.xml, i put the ip address instead of this cname, is that correct?

BTW, how is your sending issue now? is it resolved? you may feel free to call FaceTime auto to my email address if you need discussion, please. 

<PastedGraphic-1.png>

Thanks and Regards,
Shawn

On Sep 25, 2016, at 10:58 AM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

Maybe you can use nslookup to check if MX is ok or not.
 
Nslookup
 
> set type=mx
> your.james.mail.host
 
> set type=a
> your.mx.host
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月25日 10:23
收件人: li hai ming <ma...@outlook.com>
抄送: James Users List <ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi Hai ming,

i even unable to find any log regarding incoming email after i gone through all log files under log directory. i suppose could it because of my MX problem or Firewall issue? may i know is the incoming mail using same port with outgoing smtp ? i only opened port 465 as i set in smtpserver.xml. i remember i switched off firewall before and tested also cannot.


Thanks and Regards,
Shawn

On Sep 25, 2016, at 9:34 AM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

 
Regarding receiving problem, have u checked james-server.log to see if any clue there?
 
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 23:21
收件人: li hai ming <ma...@outlook.com>
抄送: James Users List <ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

 
Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?
 
Btw: my james is able to receive the emails from my qq senders.
 
##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com <ma...@xx.yyy.com> in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/ <file://var/mail/relay-denied/>
##
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List <ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--       
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance. 

Thanks and Regards,
Shawn


Re: 答复: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by Shawn Fu Sheng <sh...@victz.com>.
Hi Haiming, 

I am using iPhone and mac native email client, but thing is I can see all emails in INBOX sent from local account. All emails looks good in INBOX and SENT box. 

That's why I am a bit confused. Is there any switch for incoming email in configuration files I need to open?

Thanks and Regards,
Shawn

On 25 Sep 2016, at 1:41 PM, li hai ming <ha...@outlook.com> wrote:

In this case (mx ok and no log in your james server log file), it seems there is something wrong in your email client.
Which client r u using? Everything OK in the client config?
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng
发送时间: 2016年9月25日 12:31
收件人: Li Haiming
抄送: James Users List
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi Haiming,

thank you for your prompt response. i can see MX record is pointing to my CNAME which pointing to server ip. in smtpserver.xml, i put the ip address instead of this cname, is that correct?

BTW, how is your sending issue now? is it resolved? you may feel free to call FaceTime auto to my email address if you need discussion, please. 



Thanks and Regards,
Shawn

On Sep 25, 2016, at 10:58 AM, li hai ming <ha...@outlook.com> wrote:

Maybe you can use nslookup to check if MX is ok or not.
 
Nslookup
 
> set type=mx
> your.james.mail.host
 
> set type=a
> your.mx.host
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng
发送时间: 2016年9月25日 10:23
收件人: li hai ming
抄送: James Users List
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi Hai ming,

i even unable to find any log regarding incoming email after i gone through all log files under log directory. i suppose could it because of my MX problem or Firewall issue? may i know is the incoming mail using same port with outgoing smtp ? i only opened port 465 as i set in smtpserver.xml. i remember i switched off firewall before and tested also cannot.


Thanks and Regards,
Shawn

On Sep 25, 2016, at 9:34 AM, li hai ming <ha...@outlook.com> wrote:

 
Regarding receiving problem, have u checked james-server.log to see if any clue there?
 
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng
发送时间: 2016年9月24日 23:21
收件人: li hai ming
抄送: James Users List
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <ha...@outlook.com> wrote:

 
Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?
 
Btw: my james is able to receive the emails from my qq senders.
 
##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/
##
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng
发送时间: 2016年9月24日 18:32
收件人: James Users List
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--       
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance. 

Thanks and Regards,
Shawn


答复: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by li hai ming <ha...@outlook.com>.
In this case (mx ok and no log in your james server log file), it seems there is something wrong in your email client.
Which client r u using? Everything OK in the client config?

发送自 Windows 10 版邮件应用

发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月25日 12:31
收件人: Li Haiming<ma...@outlook.com>
抄送: James Users List<ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Hi Haiming,

thank you for your prompt response. i can see MX record is pointing to my CNAME which pointing to server ip. in smtpserver.xml, i put the ip address instead of this cname, is that correct?

BTW, how is your sending issue now? is it resolved? you may feel free to call FaceTime auto to my email address if you need discussion, please.

[cid:7436102F-4AFF-4AF2-A9ED-AE393D811BF5]

Thanks and Regards,
Shawn

On Sep 25, 2016, at 10:58 AM, li hai ming <ha...@outlook.com>> wrote:

Maybe you can use nslookup to check if MX is ok or not.

Nslookup

> set type=mx
> your.james.mail.host

> set type=a
> your.mx.host

发送自 Windows 10 版邮件应用

发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月25日 10:23
收件人: li hai ming<ma...@outlook.com>
抄送: James Users List<ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Hi Hai ming,

i even unable to find any log regarding incoming email after i gone through all log files under log directory. i suppose could it because of my MX problem or Firewall issue? may i know is the incoming mail using same port with outgoing smtp ? i only opened port 465 as i set in smtpserver.xml. i remember i switched off firewall before and tested also cannot.


Thanks and Regards,
Shawn

On Sep 25, 2016, at 9:34 AM, li hai ming <ha...@outlook.com>> wrote:


Regarding receiving problem, have u checked james-server.log to see if any clue there?


发送自 Windows 10 版邮件应用

发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月24日 23:21
收件人: li hai ming<ma...@outlook.com>
抄送: James Users List<ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <ha...@outlook.com>> wrote:




Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?



Btw: my james is able to receive the emails from my qq senders.



##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com<ma...@xx.yyy.com> in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/
##



发送自 Windows 10 版邮件应用



发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List<ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains



Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired.

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance.

Thanks and Regards,
Shawn


Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by Shawn Fu Sheng <sh...@victz.com>.
Hi Haiming,

thank you for your prompt response. i can see MX record is pointing to my CNAME which pointing to server ip. in smtpserver.xml, i put the ip address instead of this cname, is that correct?

BTW, how is your sending issue now? is it resolved? you may feel free to call FaceTime auto to my email address if you need discussion, please. 



Thanks and Regards,
Shawn

On Sep 25, 2016, at 10:58 AM, li hai ming <ha...@outlook.com> wrote:

Maybe you can use nslookup to check if MX is ok or not.
 
Nslookup
 
> set type=mx
> your.james.mail.host
 
> set type=a
> your.mx.host
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月25日 10:23
收件人: li hai ming <ma...@outlook.com>
抄送: James Users List <ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi Hai ming,

i even unable to find any log regarding incoming email after i gone through all log files under log directory. i suppose could it because of my MX problem or Firewall issue? may i know is the incoming mail using same port with outgoing smtp ? i only opened port 465 as i set in smtpserver.xml. i remember i switched off firewall before and tested also cannot.


Thanks and Regards,
Shawn

On Sep 25, 2016, at 9:34 AM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

 
Regarding receiving problem, have u checked james-server.log to see if any clue there?
 
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 23:21
收件人: li hai ming <ma...@outlook.com>
抄送: James Users List <ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

 
Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?
 
Btw: my james is able to receive the emails from my qq senders.
 
##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com <ma...@xx.yyy.com> in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/ <file://var/mail/relay-denied/>
##
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List <ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--       
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance. 

Thanks and Regards,
Shawn


答复: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by li hai ming <ha...@outlook.com>.
Maybe you can use nslookup to check if MX is ok or not.

Nslookup

> set type=mx
> your.james.mail.host

> set type=a
> your.mx.host

发送自 Windows 10 版邮件应用

发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月25日 10:23
收件人: li hai ming<ma...@outlook.com>
抄送: James Users List<ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Hi Hai ming,

i even unable to find any log regarding incoming email after i gone through all log files under log directory. i suppose could it because of my MX problem or Firewall issue? may i know is the incoming mail using same port with outgoing smtp ? i only opened port 465 as i set in smtpserver.xml. i remember i switched off firewall before and tested also cannot.


Thanks and Regards,
Shawn

On Sep 25, 2016, at 9:34 AM, li hai ming <ha...@outlook.com>> wrote:


Regarding receiving problem, have u checked james-server.log to see if any clue there?


发送自 Windows 10 版邮件应用

发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月24日 23:21
收件人: li hai ming<ma...@outlook.com>
抄送: James Users List<ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <ha...@outlook.com>> wrote:




Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?



Btw: my james is able to receive the emails from my qq senders.



##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com<ma...@xx.yyy.com> in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/
##



发送自 Windows 10 版邮件应用



发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List<ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains



Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired.

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance.

Thanks and Regards,
Shawn


Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by Shawn Fu Sheng <sh...@victz.com>.
Hi Hai ming,

i even unable to find any log regarding incoming email after i gone through all log files under log directory. i suppose could it because of my MX problem or Firewall issue? may i know is the incoming mail using same port with outgoing smtp ? i only opened port 465 as i set in smtpserver.xml. i remember i switched off firewall before and tested also cannot.


Thanks and Regards,
Shawn

On Sep 25, 2016, at 9:34 AM, li hai ming <ha...@outlook.com> wrote:

 
Regarding receiving problem, have u checked james-server.log to see if any clue there?
 
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 23:21
收件人: li hai ming <ma...@outlook.com>
抄送: James Users List <ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

 
Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?
 
Btw: my james is able to receive the emails from my qq senders.
 
##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com <ma...@xx.yyy.com> in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/ <file://var/mail/relay-denied/>
##
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List <ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--       
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance. 

Thanks and Regards,
Shawn


答复: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by li hai ming <ha...@outlook.com>.
Regarding receiving problem, have u checked james-server.log to see if any clue there?


发送自 Windows 10 版邮件应用

发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月24日 23:21
收件人: li hai ming<ma...@outlook.com>
抄送: James Users List<ma...@james.apache.org>
主题: Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <ha...@outlook.com>> wrote:




Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?



Btw: my james is able to receive the emails from my qq senders.



##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com<ma...@xx.yyy.com> in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/
##



发送自 Windows 10 版邮件应用



发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List<ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains



Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired.

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance.

Thanks and Regards,
Shawn


Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by Shawn Fu Sheng <sh...@victz.com>.
Hi,

can’t see much from you logs. those are INFO messages not error. may be you can share your logs or config file? BTW, how did you config your receiving part? which config file i should update? is it smtpserver.xml?


Thanks and Regards,
Shawn

On Sep 24, 2016, at 11:14 PM, li hai ming <ha...@outlook.com> wrote:

 
Hi,
I also have beta5 up and running. When sending email from james to my qq email, I got below error.
Any config I should change?
 
Btw: my james is able to receive the emails from my qq senders.
 
##
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com <ma...@xx.yyy.com> in folder Sent
INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/ <file://var/mail/relay-denied/>
##
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List <ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--       
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance. 

Thanks and Regards,
Shawn


答复: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by li hai ming <ha...@outlook.com>.

Hi,

I also have beta5 up and running. When sending email from james to my qq email, I got below error.

Any config I should change?



Btw: my james is able to receive the emails from my qq senders.



##

INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,478 | james.mailetcontext | Local delivery with ToSenderFolder mailet for mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 with sender user@xx.yyy.com in folder Sent

INFO   | jvm 1    | 2016/09/24 23:11:37 | INFO  23:11:37,495 | james.mailetcontext | Storing mail Mail1474729897353-d54c9c61-b19c-445e-86f5-da2b4706ba14 in file://var/mail/relay-denied/

##



发送自 Windows 10 版邮件应用



发件人: Shawn Fu Sheng<ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List<ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains



Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired.

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance.

Thanks and Regards,
Shawn


Re: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains

Posted by Shawn Fu Sheng <sh...@victz.com>.
Hi Haiming,

below xml in conf folder are required, you need change quota-template.xml to quota.xml. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml


INFO   | jvm 1    | 2016/09/24 22:49:11 | Caused by: org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component quota


Thanks and Regards,
Shawn

On Sep 24, 2016, at 10:50 PM, li hai ming <haiming.li@outlook.com <ma...@outlook.com>> wrote:

Hi,
I follow your stops but get error when ./james start. Any clue?
 
STATUS | wrapper  | 2016/09/24 22:49:03 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2016/09/24 22:49:04 | Launching a JVM...
INFO   | jvm 1    | 2016/09/24 22:49:04 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org <http://wrapper.tanukisoftware.org/>
INFO   | jvm 1    | 2016/09/24 22:49:04 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2016/09/24 22:49:04 |
INFO   | jvm 1    | 2016/09/24 22:49:05 | INFO  22:49:05,291 | org.apache.james.container.spring.context.JamesServerApplicationContext | Refreshing org.apache.james.container.spring.context.JamesServerApplicationContext@3abcf3c5: startup date [Sat Sep 24 22:49:05 CST 2016]; root of context hierarchy
INFO   | jvm 1    | 2016/09/24 22:49:10 | log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.ConfigurationUtils).
INFO   | jvm 1    | 2016/09/24 22:49:10 | log4j:WARN Please initialize the log4j system properly.
INFO   | jvm 1    | 2016/09/24 22:49:10 | log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info.
INFO   | jvm 1    | 2016/09/24 22:49:11 | WARN  22:49:11,006 | org.apache.james.container.spring.context.JamesServerApplicationContext | Exception encountered during context initialization - cancelling refresh attempt
INFO   | jvm 1    | 2016/09/24 22:49:11 | org.springframework.beans.FatalBeanException: Unable to configure Quota system; nested exception is org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component quota
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.bean.factorypostprocessor.QuotaBeanFactoryPostProcessor.postProcessBeanFactory(QuotaBeanFactoryPostProcessor.java:66)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at java.lang.reflect.Method.invoke(Method.java:498)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2016/09/24 22:49:11 | Caused by: org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component quota
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.lifecycle.ConfigurationProviderImpl.getConfiguration(ConfigurationProviderImpl.java:135)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.bean.factorypostprocessor.QuotaBeanFactoryPostProcessor.postProcessBeanFactory(QuotaBeanFactoryPostProcessor.java:50)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       ... 14 more
INFO   | jvm 1    | 2016/09/24 22:49:11 |
INFO   | jvm 1    | 2016/09/24 22:49:11 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.FatalBeanException: Unable to configure Quota system; nested exception is org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component quota
INFO   | jvm 1    | 2016/09/24 22:49:11 | org.springframework.beans.FatalBeanException: Unable to configure Quota system; nested exception is org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component quota
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.bean.factorypostprocessor.QuotaBeanFactoryPostProcessor.postProcessBeanFactory(QuotaBeanFactoryPostProcessor.java:66)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at java.lang.reflect.Method.invoke(Method.java:498)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2016/09/24 22:49:11 | Caused by: org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component quota
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.lifecycle.ConfigurationProviderImpl.getConfiguration(ConfigurationProviderImpl.java:135)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       at org.apache.james.container.spring.bean.factorypostprocessor.QuotaBeanFactoryPostProcessor.postProcessBeanFactory(QuotaBeanFactoryPostProcessor.java:50)
INFO   | jvm 1    | 2016/09/24 22:49:11 |       ... 14 more
STATUS | wrapper  | 2016/09/24 22:49:13 | <-- Wrapper Stopped
 
发送自 Windows 10 版邮件应用
 
发件人: Shawn Fu Sheng <ma...@victz.com>
发送时间: 2016年9月24日 18:32
收件人: James Users List <ma...@james.apache.org>
主题: Apache James Server 3.0-beta5-SNAPSHOT : Unable receive email from outside domains
 
Hi,

good day. I cloned the trunk source code from git (22Sep2016) and builded zip, tested seems everything ok but unable receive email from outside domains. anyone could help give me a hint how to troubleshoot, please? i made sure the MX and SPF record has been pointed to the correct CNAME address and verified by NSLOOKUP shown ok. the steps listed as follows for your advice, please.


1) cloned trunk source code from git, executed mvn package -DskipTests=true -Pwith-assembly
2) copied and extracted james-server-app-3.0.0-beta5-SNAPSHOT-app.zip under directory /james-project/server/app/target/ to target server.
3) modified below xml bind IP to server IP and enable SMTP authRequired. 

events.xml
imapserver.xml
indexer.xml
mailetcontainer.xml
managesieveserver.xml
pop3server.xml
quota.xml
smtpserver.xml

4)comment below RemoteAddrNotInNetwork matcher.

       <!--       
       <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
          <processor>relay-denied</processor>
          <notice>550 - Requested action not taken: relaying denied</notice>
       </mailet>
       -->

after above, i created test domain and test user, started services, opened firewall 25,465, 110. 995, 143, 993, i am now able to connect SMTP and IMAP via my iPhone. able to send email to iCloud and yahoo mails. but when they reply, i can’t receive. but i am able to receive email from local user.

Appreciate your help, please. thank you in advance. 

Thanks and Regards,
Shawn