1

Topic: Adding account dificult on iPad

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version:  Ubuntu 16.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello

I have some difficulties to add my 8 mail accounts on my new iPad. The accounts are working on my old iPad.
When I add an Exchange account, the verificaion doesn't succeed. If I add the account anyway, the iPad says : "account errors, connection to server failed" and the mails are loaded very slowly. Sometimes, very rare, the account is accepted.
I have tested with wifi and 4G
I don't understand, none of the IPs in he logs are mine.


Sorry for my english, I'm french.
Thanks for you help, here's the logs :

Dec  4 12:22:48 mail postfix/postscreen[3282]: CONNECT from [80.125.162.15]:50154 to [192.168.1.21]:25
Dec  4 12:22:53 mail postfix/postscreen[3282]: PASS OLD [80.125.162.15]:50154
Dec  4 12:22:54 mail postfix/smtpd[3285]: connect from prcmxdzc04.prccase.sfr.fr[80.125.162.15]
Dec  4 12:22:54 mail postfix/smtpd[3285]: Anonymous TLS connection established from prcmxdzc04.prccase.sfr.fr[80.125.162.15]: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Dec  4 12:22:54 mail postfix/smtpd[3285]: NOQUEUE: reject: RCPT from prcmxdzc04.prccase.sfr.fr[80.125.162.15]: 450 4.7.1 <mxout.infra.case.sfr.fr>: Helo command rejected: Host not found; from=<ack206266407$
Dec  4 12:23:19 mail postfix/smtpd[3285]: disconnect from prcmxdzc04.prccase.sfr.fr[80.125.162.15] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
Dec  4 12:23:32 mail postfix/postscreen[3282]: CONNECT from [5.238.219.109]:51067 to [192.168.1.21]:25
Dec  4 12:23:32 mail postfix/dnsblog[3283]: addr 5.238.219.109 listed by domain zen.spamhaus.org as 127.0.0.11
Dec  4 12:23:32 mail postfix/dnsblog[3283]: addr 5.238.219.109 listed by domain zen.spamhaus.org as 127.0.0.4
Dec  4 12:23:33 mail postfix/postscreen[3282]: PREGREET 19 after 1 from [5.238.219.109]:51067: HELO Smith593.edu\r\n
Dec  4 12:23:33 mail postfix/postscreen[3282]: DNSBL rank 3 for [5.238.219.109]:51067
Dec  4 12:23:35 mail postfix/postscreen[3282]: NOQUEUE: reject: RCPT from [5.238.219.109]:51067: 550 5.7.1 Service unavailable; client [5.238.219.109] blocked using zen.spamhaus.org; from=<Aaron@Smith593.e$
Dec  4 12:23:36 mail postfix/postscreen[3282]: HANGUP after 3.2 from [5.238.219.109]:51067 in tests after SMTP handshake
Dec  4 12:23:36 mail postfix/postscreen[3282]: DISCONNECT [5.238.219.109]:51067
Dec  4 12:26:39 mail postfix/anvil[3287]: statistics: max connection rate 1/60s for (smtpd:80.125.162.15) at Dec  4 12:22:54
Dec  4 12:26:39 mail postfix/anvil[3287]: statistics: max connection count 1 for (smtpd:80.125.162.15) at Dec  4 12:22:54
Dec  4 12:26:39 mail postfix/anvil[3287]: statistics: max cache size 1 at Dec  4 12:22:54
Dec  4 12:49:02 mail postfix/postscreen[3755]: CONNECT from [80.125.162.15]:39102 to [192.168.1.21]:25
Dec  4 12:49:07 mail postfix/postscreen[3755]: PASS OLD [80.125.162.15]:39102
Dec  4 12:49:07 mail postfix/smtpd[3758]: connect from prcmxdzc04.prccase.sfr.fr[80.125.162.15]
Dec  4 12:49:07 mail postfix/smtpd[3758]: Anonymous TLS connection established from prcmxdzc04.prccase.sfr.fr[80.125.162.15]: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Dec  4 12:49:07 mail postfix/smtpd[3758]: NOQUEUE: reject: RCPT from prcmxdzc04.prccase.sfr.fr[80.125.162.15]: 450 4.7.1 <mxout.infra.case.sfr.fr>: Helo command rejected: Host not found; from=<ack206266407$
Dec  4 12:49:35 mail postfix/smtpd[3758]: disconnect from prcmxdzc04.prccase.sfr.fr[80.125.162.15] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
Dec  4 12:52:55 mail postfix/anvil[3760]: statistics: max connection rate 1/60s for (smtpd:80.125.162.15) at Dec  4 12:49:07
Dec  4 12:52:55 mail postfix/anvil[3760]: statistics: max connection count 1 for (smtpd:80.125.162.15) at Dec  4 12:49:07
Dec  4 12:52:55 mail postfix/anvil[3760]: statistics: max cache size 1 at Dec  4 12:49:07

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Adding account dificult on iPad

Thomas B wrote:

When I add an Exchange account, the verificaion doesn't succeed. If I add the account anyway, the iPad says : "account errors, connection to server failed" and the mails are loaded very slowly. Sometimes, very rare, the account is accepted.

Any relevant error in SOGo log file? /var/log/sogo/sogo.log.

3

Re: Adding account dificult on iPad

ZhangHuangbin wrote:
Thomas B wrote:

When I add an Exchange account, the verificaion doesn't succeed. If I add the account anyway, the iPad says : "account errors, connection to server failed" and the mails are loaded very slowly. Sometimes, very rare, the account is accepted.

Any relevant error in SOGo log file? /var/log/sogo/sogo.log.

Thanks a lot for your response.

In sogo log file, there is some errors like that :
(I've changed the emails with  ********@*******.fr)


Dec 11 09:37:14 sogod [1713]: [WARN] <0x0x561cfa62f660[WOWatchDogChild]> pid 1796 has been hanging in the same request for 3 minutes
Dec 11 09:37:14 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:37:14 sogod [1713]: [WARN] <0x0x561cfa6093e0[WOWatchDogChild]> pid 1794 has been hanging in the same request for 15 minutes
Dec 11 09:37:15 sogod [1796]: <0x0x561d00dabdc0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******.fr in Ping...
Dec 11 09:37:15 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:37:17 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:37:17 sogod [1797]: [ERROR] <0x0x561d00f26c80[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x561d01171050]: method=POST uri=/SOGo/Microsoft-Server-ActiveSync?User=********@*******.fr&DeviceId=9MIAJ3QNVH0FD71GDS2EBD0DGC&DeviceType=iPad&Cmd=Ping app=SOGo rqKey=Mic$
Dec 11 09:37:17 sogod [1797]: mail.******.fr "POST /SOGo/Microsoft-Server-ActiveSync?User=t********@*******.fr&DeviceId=9MIAJ3QNVH0FD71GDS2EBD0DGC&DeviceType=iPad&Cmd=Ping HTTP/1.0" 200 13/0 905.425 - - 260K
Dec 11 09:37:17 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:37:17 sogod [1797]: <0x0x561d00f70c40[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******.fr in Ping...
Dec 11 09:37:18 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:37:20 sogod [1794]: [ERROR] <0x0x561d00c287a0[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x561d00cc12c0]: method=POST uri=/SOGo/Microsoft-Server-ActiveSync?User=a********@*******.fr&DeviceId=9MIAJ3QNVH0FD71GDS2EBD0DGC&DeviceType=iPad&Cmd=Ping app=SOGo rqKey=Microsoft-S$
Dec 11 09:37:20 sogod [1794]: mail.*****.fr "POST /SOGo/Microsoft-Server-ActiveSync?User=********@*******.fr&DeviceId=9MIAJ3QNVH0FD71GDS2EBD0DGC&DeviceType=iPad&Cmd=Ping HTTP/1.0" 200 13/125 905.271 - - 0
Dec 11 09:37:20 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!




Dec 11 09:39:49 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:39:50 sogod [1713]: [WARN] <0x0x561cfa636ce0[WOWatchDogChild]> pid 1795 has been hanging in the same request for 5 minutes
Dec 11 09:39:50 sogod [1713]: [WARN] <0x0x561cfa607780[WOWatchDogChild]> pid 1791 has been hanging in the same request for 31 minutes
Dec 11 09:39:50 sogod [1794]: <0x0x561d00c4e240[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******.fr in Ping...
Dec 11 09:39:50 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:39:52 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:39:52 sogod [1795]: <0x0x561d004b6870[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ****@*****.fr in Ping...
Dec 11 09:39:53 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:39:55 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:39:56 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:39:58 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:39:59 sogod [1793]: <0x0x561d00ee9290[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ******@*****.fr in Ping...
Dec 11 09:39:59 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:00 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:01 sogod [1791]: <0x0x561d00408db0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******.fr in Ping...
Dec 11 09:40:02 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:03 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:05 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:06 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:08 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:09 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:09 sogod [1713]: [WARN] <0x0x561cfa607cb0[WOWatchDogChild]> pid 1792 has been hanging in the same request for 7 minutes
Dec 11 09:40:10 sogod [1713]: [WARN] <0x0x561cfa630330[WOWatchDogChild]> pid 1798 has been hanging in the same request for 4 minutes
Dec 11 09:40:10 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:11 sogod [1789]: <0x0x561d008f7890[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******.fr in Ping...
Dec 11 09:40:12 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:12 sogod [1798]: <0x0x561d00c75960[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******.fr in Ping...
Dec 11 09:40:12 sogod [1792]: <0x0x561d006af010[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******.fr in Ping...
Dec 11 09:40:12 sogod [1790]: <0x0x561d00ce7800[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user ********@*******s.fr in Ping...
Dec 11 09:40:13 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!
Dec 11 09:40:14 sogod [1713]: [WARN] <0x0x561cfa62f660[WOWatchDogChild]> pid 1796 has been hanging in the same request for 6 minutes
Dec 11 09:40:15 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!

4

Re: Adding account dificult on iPad

Thomas B wrote:

Dec 11 09:40:15 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!

Update /etc/default/sogo, increase the prefork child processes, restart sogo service. That's it.

5 (edited by Thomas B 2018-12-12 18:32:56)

Re: Adding account dificult on iPad

ZhangHuangbin wrote:
Thomas B wrote:

Dec 11 09:40:15 sogod [1713]: [ERROR] <0x0x561cfa6b5ca0[WOWatchDog]> No child available to handle incoming request!

Update /etc/default/sogo, increase the prefork child processes, restart sogo service. That's it.


Thanks a lot ! I've changed the prefork to 80 and everything is now very quick.

You were very helpfull, so I hope you will enjoy the cup of coffee I sent to you ...

6

Re: Adding account dificult on iPad

Thomas B wrote:

You were very helpfull, so I hope you will enjoy the cup of coffee I sent to you ...

Thank you. smile