[SOGo] ZEG migrate from example.com to own domain

2016-09-26 Thread Madars Vitolins

Hi Folks,

I have done run successfully example.com domain with external IMAP/STMP 
server. Now I move to production by changing the domain name by using 
http://wiki.sogo.nu/ZEGReconfiguration documentation.


All process went well, SOGo web is working fine, but outlook keeps 
saying that server is in offline (Outlook cannot logon). Only logs I can 
find from Outlook anywhere mode is from Apache:


-
[Mon Sep 26 04:56:10.246795 2016] [wsgi:error] [pid 2773] RPCProxy started
[Mon Sep 26 04:56:10.247144 2016] [wsgi:error] [pid 2773] 
INFO:openchange.web.auth.NTLMAuthHandler:client did not pass auth cookie
[Mon Sep 26 04:56:10.253964 2016] [wsgi:error] [pid 2773] 
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock 
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (2773)
[Mon Sep 26 04:56:10.275789 2016] [wsgi:error] [pid 3176] 
INFO:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler daemon spawned 
with pid 3176

[Mon Sep 26 04:56:10.781187 2016] [wsgi:error] [pid 2773] RPCProxy started
[Mon Sep 26 04:56:10.781549 2016] [wsgi:error] [pid 2773] 
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock 
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (2773)

[Mon Sep 26 04:56:10.12 2016] [wsgi:error] [pid 2770] RPCProxy started
[Mon Sep 26 04:56:10.889136 2016] [wsgi:error] [pid 2770] 
INFO:openchange.web.auth.NTLMAuthHandler:client did not pass auth cookie
[Mon Sep 26 04:56:10.889622 2016] [wsgi:error] [pid 2770] 
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock 
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (2770)
[Mon Sep 26 04:56:10.895183 2016] [wsgi:error] [pid 2773] [client 
192.168.0.96:49253] [2773:RPC_IN_DATA:49253] WARNING: reattempting to 
connect to OUT channel... (1/10)

[Mon Sep 26 04:56:10.895538 2016] [wsgi:error] [pid 2770] RPCProxy started
[Mon Sep 26 04:56:10.895764 2016] [wsgi:error] [pid 2770] 
INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock 
/var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (2770)
[Mon Sep 26 04:56:11.940787 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254] mod_wsgi (pid=2770): Exception occurred processing 
WSGI script '/usr/lib/openchange/web/rpcproxy/rpcproxy.wsgi'.
[Mon Sep 26 04:56:11.940944 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254] Traceback (most recent call last):
[Mon Sep 26 04:56:11.941038 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254]   File 
"/usr/lib/openchange/web/rpcproxy/rpcproxy/channels.py", line 590, in 
sequence
[Mon Sep 26 04:56:11.941381 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254] for data in self._runloop():
[Mon Sep 26 04:56:11.941609 2016] [wsgi:error] [pid 2773] [client 
192.168.0.96:49253] [2773:RPC_IN_DATA:49253] ERROR: client connection closed
[Mon Sep 26 04:56:11.941705 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254]   File 
"/usr/lib/openchange/web/rpcproxy/rpcproxy/channels.py", line 538, in 
_runloop
[Mon Sep 26 04:56:11.941796 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254] = self._process_server_event(unix_fd, oc_fd, data)
[Mon Sep 26 04:56:11.942174 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254]   File 
"/usr/lib/openchange/web/rpcproxy/rpcproxy/channels.py", line 479, in 
_process_server_event
[Mon Sep 26 04:56:11.942267 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254] oc_packet = RPCPacket.from_file(self.oc_conn, 
self.logger)
[Mon Sep 26 04:56:11.942372 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254]   File 
"/usr/lib/python2.7/dist-packages/openchange/utils/packets.py", line 
206, in from_file
[Mon Sep 26 04:56:12.043416 2016] [wsgi:error] [pid 2770] [client 
192.168.0.96:49254] values = unpack_from("

Re: [SOGo] Open-change question

2016-09-19 Thread Madars Vitolins

Hi,

Thanks for answer, will check that.

But I have one more general question.

Where the e-mail messages for outlook are stored? Are they in Mysql DB? 
When new e-mail comes in, how do they travel from IMAP/Dovecot to Mysql 
(if so)?


Does the Sogo monitors every mailbox, understands that there is new 
e-mail, and moves it to DB? And then OpenChange/Mapistore picks the 
message from DB and provides it to Outlook?


Thanks a lot in advance,
Madars

On 2016.09.19. 11:10, Martin LEUSCH (sce.t...@imereos.fr) wrote:

Hi,

For your sieve problem, by default the sieve server of Dovecot accept 
connection only from the localhost, you have modify Dovecot 
configuration on your external server.


MAPIStore is not trusted by your external IMAP server, to access to 
IMAP accounts of your users, you can add a file with your users 
password to MAPIStore. (see SOGo documention here 
<https://sogo.nu/files/docs/SOGoNativeOutlookConfigurationGuide.html#_imap_server_and_trust> 
and here 
<https://sogo.nu/files/docs/SOGoNativeOutlookConfigurationGuide.html#_adding_users>).



Le 17/09/2016 à 10:29, Madars Vitolins (madars.vitol...@gmail.com) a 
écrit :

Any news?

On 2016.09.15. 13:50, Madars Vitolins wrote:

Hi Guys,


I have installed ZEG virtual machine image and try to reconfigure it 
to use my existing - external STMP/IMAP server. All went ok, the 
SOGo web login does see my imap and see the e-mails in, but problem 
is with OpenChange/MAPI/Outlook. It does logon to account, but it 
seems that it sees the maildir of the ZEG server and not my external 
IMAP.


1. Can you explain where are OpenChange/MAPIStore object settings, 
how does OpenChange transfer e-mail to Outlook, in to what IP 
address/what folder it looks for settings?



So basically I have changes settings in: /etc/sogo/sogo.conf 
(SOGoIMAPServer, SOGoSieveServer, SOGoSMTPServer). Do I miss 
anything else?



2. Is the sieve critical at this point, does it somehow participates 
in mail delivery to MAPIStore? Because I still debugging Sieve 
support on my existing external IMAP (Dovecot) server.


Sogo version 3.1 used.

Thanks a lot in advance,
Madars







--
users@sogo.nu
https://inverse.ca/sogo/lists


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Open-change question

2016-09-18 Thread Madars Vitolins

Any news?

On 2016.09.15. 13:50, Madars Vitolins wrote:

Hi Guys,


I have installed ZEG virtual machine image and try to reconfigure it 
to use my existing - external STMP/IMAP server. All went ok, the SOGo 
web login does see my imap and see the e-mails in, but problem is with 
OpenChange/MAPI/Outlook. It does logon to account, but it seems that 
it sees the maildir of the ZEG server and not my external IMAP.


1. Can you explain where are OpenChange/MAPIStore object settings, how 
does OpenChange transfer e-mail to Outlook, in to what IP address/what 
folder it looks for settings?



So basically I have changes settings in: /etc/sogo/sogo.conf 
(SOGoIMAPServer, SOGoSieveServer, SOGoSMTPServer). Do I miss anything 
else?



2. Is the sieve critical at this point, does it somehow participates 
in mail delivery to MAPIStore? Because I still debugging Sieve support 
on my existing external IMAP (Dovecot) server.


Sogo version 3.1 used.

Thanks a lot in advance,
Madars





--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Open-change question

2016-09-15 Thread Madars Vitolins

Hi Guys,


I have installed ZEG virtual machine image and try to reconfigure it to 
use my existing - external STMP/IMAP server. All went ok, the SOGo web 
login does see my imap and see the e-mails in, but problem is with 
OpenChange/MAPI/Outlook. It does logon to account, but it seems that it 
sees the maildir of the ZEG server and not my external IMAP.


1. Can you explain where are OpenChange/MAPIStore object settings, how 
does OpenChange transfer e-mail to Outlook, in to what IP address/what 
folder it looks for settings?



So basically I have changes settings in: /etc/sogo/sogo.conf 
(SOGoIMAPServer, SOGoSieveServer, SOGoSMTPServer). Do I miss anything else?



2. Is the sieve critical at this point, does it somehow participates in 
mail delivery to MAPIStore? Because I still debugging Sieve support on 
my existing external IMAP (Dovecot) server.


Sogo version 3.1 used.

Thanks a lot in advance,
Madars



--
users@sogo.nu
https://inverse.ca/sogo/lists