[SOGo] SOGo v3, unable to send mails

2016-01-21 Thread Patrick Rauter

Hello,

while testing SOGo v3 (3.0.0b5) I experienced problems when I try to 
compose or forward a message or create a reply to a message, nothing 
happens on the web interface.


This behaviour has been reproduced with Firefox 43.0.4 (Debian 8), 
Chromium 46.0.2490 (Debian 8) and Safari 9.0.3 (OS X 10.10.5), therefore 
I think it is either my server set up, or something within Sogo v3.



The Logfile on the server reveals the following informations:

Jan 21 13:22:20 sogod [11093]: |SOGo| traverse(acquire): TestUser => 
Mail => UIxMailEditor

Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'UIxMailEditor'
Jan 21 13:22:20 sogod [11093]: |SOGo| set clientObject: 
<0xACA84D30[SOGoMailAccounts]: name=Mail container=0xAC9E8410/TestUser>
Jan 21 13:22:20 sogod [11094]: |SOGo| traverse(acquire): TestUser => 
Mail => 0 => compose

Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: '0'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'compose'
Jan 21 13:22:20 sogod [11093]: 141.69.60.236 "GET 
/SOGo/so/TestUser/Mail/UIxMailEditor HTTP/1.1" 200 9377/0 0.009 - - 0
Jan 21 13:22:20 sogod [11094]: <0x0x7f4cace2ef50[NGImap4Client]> TLS 
started successfully.
Jan 21 13:22:20 sogod [11094]: |SOGo| set clientObject: 
<0xACDEB680[SOGoMailAccount]: name=0 container=0xACF0DDF0/Mail>
Jan 21 13:22:20 sogod [11094]: 141.69.60.236 "GET 
/SOGo/so/TestUser/Mail/0/compose HTTP/1.1" 201 78/0 0.345 - - 0


After this, nothing else happens within the log until I press another 
button.


Any clues are welcome.

Regards

  P. Rauter

--
Dipl.-Ing.(FH) Patrick Rauter
IT Service Center
Server Wissenschaftsnetz, Mailsystem, Storage
Benutzerverwaltung / LDAP
Raum H205

Hochschule Ravensburg-Weingarten
Doggenriedstr.
88250 Weingarten

Tel. +49 751 / 501 4602
E-Mail: rau...@hs-weingarten.de



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] SOGo v3, unable to send mails

2016-01-21 Thread Roel van Meer

Patrick Rauter writes:

while testing SOGo v3 (3.0.0b5) I experienced problems when I try to compose  
or forward a message or create a reply to a message, nothing happens on the  
web interface.


I have seen the same, and in my case the problem was caused by the mysql  
database structure. I had a database that was created by Sogo 2.3.3. After  
dropping and recreating the database I was able to send mail.


Maybe this helps,

Roel

This behaviour has been reproduced with Firefox 43.0.4 (Debian 8), Chromium  
46.0.2490 (Debian 8) and Safari 9.0.3 (OS X 10.10.5), therefore I think it  
is either my server set up, or something within Sogo v3.



The Logfile on the server reveals the following informations:

Jan 21 13:22:20 sogod [11093]: |SOGo| traverse(acquire): TestUser => Mail =>  
UIxMailEditor

Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'UIxMailEditor'
Jan 21 13:22:20 sogod [11093]: |SOGo| set clientObject:  
<0xACA84D30[SOGoMailAccounts]: name=Mail container=0xAC9E8410/TestUser>
Jan 21 13:22:20 sogod [11094]: |SOGo| traverse(acquire): TestUser => Mail =>  
0 => compose

Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: '0'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'compose'
Jan 21 13:22:20 sogod [11093]: 141.69.60.236 "GET  
/SOGo/so/TestUser/Mail/UIxMailEditor HTTP/1.1" 200 9377/0 0.009 - - 0
Jan 21 13:22:20 sogod [11094]: <0x0x7f4cace2ef50[NGImap4Client]> TLS started  
successfully.
Jan 21 13:22:20 sogod [11094]: |SOGo| set clientObject:  
<0xACDEB680[SOGoMailAccount]: name=0 container=0xACF0DDF0/Mail>
Jan 21 13:22:20 sogod [11094]: 141.69.60.236 "GET /SOGo/so/TestUser/Mail/ 
0/compose HTTP/1.1" 201 78/0 0.345 - - 0


After this, nothing else happens within the log until I press another button.

Any clues are welcome.

Regards

  P. Rauter

--
Dipl.-Ing.(FH) Patrick Rauter
IT Service Center
Server Wissenschaftsnetz, Mailsystem, Storage
Benutzerverwaltung / LDAP
Raum H205

Hochschule Ravensburg-Weingarten
Doggenriedstr.
88250 Weingarten

Tel. +49 751 / 501 4602
E-Mail: rau...@hs-weingarten.de


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


Re: [SOGo] SOGo v3, unable to send mails

2016-01-21 Thread Emilio Fonseca

Hey Patrick,

See if your problem was not solved with the correction of this bug --> 
http://www.sogo.nu/bugs/view.php?id=3439


Best Regards,

Em 21-01-2016 10:30, Patrick Rauter escreveu:

Hello,

while testing SOGo v3 (3.0.0b5) I experienced problems when I try to 
compose or forward a message or create a reply to a message, nothing 
happens on the web interface.


This behaviour has been reproduced with Firefox 43.0.4 (Debian 8), 
Chromium 46.0.2490 (Debian 8) and Safari 9.0.3 (OS X 10.10.5), 
therefore I think it is either my server set up, or something within 
Sogo v3.



The Logfile on the server reveals the following informations:

Jan 21 13:22:20 sogod [11093]: |SOGo| traverse(acquire): TestUser => 
Mail => UIxMailEditor

Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'UIxMailEditor'
Jan 21 13:22:20 sogod [11093]: |SOGo| set clientObject: 
<0xACA84D30[SOGoMailAccounts]: name=Mail container=0xAC9E8410/TestUser>
Jan 21 13:22:20 sogod [11094]: |SOGo| traverse(acquire): TestUser => 
Mail => 0 => compose

Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: '0'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'compose'
Jan 21 13:22:20 sogod [11093]: 141.69.60.236 "GET 
/SOGo/so/TestUser/Mail/UIxMailEditor HTTP/1.1" 200 9377/0 0.009 - - 0
Jan 21 13:22:20 sogod [11094]: <0x0x7f4cace2ef50[NGImap4Client]> TLS 
started successfully.
Jan 21 13:22:20 sogod [11094]: |SOGo| set clientObject: 
<0xACDEB680[SOGoMailAccount]: name=0 container=0xACF0DDF0/Mail>
Jan 21 13:22:20 sogod [11094]: 141.69.60.236 "GET 
/SOGo/so/TestUser/Mail/0/compose HTTP/1.1" 201 78/0 0.345 - - 0


After this, nothing else happens within the log until I press another 
button.


Any clues are welcome.

Regards

  P. Rauter



--

Emílio Fonseca
Development Analyst
Mav Tecnologia - (31) 3211-

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


Re: [SOGo] SOGo v3, unable to send mails

2016-01-21 Thread Patrick Rauter

Thanks for the clues.

Since dumping the database isn't much trouble on an experimental server 
I have tried it first, but in my case it didn't helped.


Applying the Patch mentioned in http://www.sogo.nu/bugs/view.php?id=3439 
is under way, but i experienced some nasty dependency-problems...


kind regards

  Patrick Rauter

--
Dipl.-Ing.(FH) Patrick Rauter
IT Service Center
Server Wissenschaftsnetz, Mailsystem, Storage
Benutzerverwaltung / LDAP
Raum H205

Hochschule Ravensburg-Weingarten
Doggenriedstr.
88250 Weingarten

Tel. +49 751 / 501 4602
E-Mail: rau...@hs-weingarten.de

Am 21.01.2016 um 13:56 schrieb Roel van Meer:

Patrick Rauter writes:


while testing SOGo v3 (3.0.0b5) I experienced problems when I try to
compose or forward a message or create a reply to a message, nothing
happens on the web interface.


I have seen the same, and in my case the problem was caused by the mysql
database structure. I had a database that was created by Sogo 2.3.3.
After dropping and recreating the database I was able to send mail.

Maybe this helps,

Roel


This behaviour has been reproduced with Firefox 43.0.4 (Debian 8),
Chromium 46.0.2490 (Debian 8) and Safari 9.0.3 (OS X 10.10.5),
therefore I think it is either my server set up, or something within
Sogo v3.


The Logfile on the server reveals the following informations:

Jan 21 13:22:20 sogod [11093]: |SOGo| traverse(acquire): TestUser =>
Mail => UIxMailEditor
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11093]: |SOGo|   do traverse name: 'UIxMailEditor'
Jan 21 13:22:20 sogod [11093]: |SOGo| set clientObject:
<0xACA84D30[SOGoMailAccounts]: name=Mail container=0xAC9E8410/TestUser>
Jan 21 13:22:20 sogod [11094]: |SOGo| traverse(acquire): TestUser =>
Mail => 0 => compose
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'TestUser'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'Mail'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: '0'
Jan 21 13:22:20 sogod [11094]: |SOGo|   do traverse name: 'compose'
Jan 21 13:22:20 sogod [11093]: 141.69.60.236 "GET
/SOGo/so/TestUser/Mail/UIxMailEditor HTTP/1.1" 200 9377/0 0.009 - - 0
Jan 21 13:22:20 sogod [11094]: <0x0x7f4cace2ef50[NGImap4Client]> TLS
started successfully.
Jan 21 13:22:20 sogod [11094]: |SOGo| set clientObject:
<0xACDEB680[SOGoMailAccount]: name=0 container=0xACF0DDF0/Mail>
Jan 21 13:22:20 sogod [11094]: 141.69.60.236 "GET
/SOGo/so/TestUser/Mail/0/compose HTTP/1.1" 201 78/0 0.345 - - 0

After this, nothing else happens within the log until I press another
button.

Any clues are welcome.

Regards

  P. Rauter

--
Dipl.-Ing.(FH) Patrick Rauter
IT Service Center
Server Wissenschaftsnetz, Mailsystem, Storage
Benutzerverwaltung / LDAP
Raum H205

Hochschule Ravensburg-Weingarten
Doggenriedstr.
88250 Weingarten

Tel. +49 751 / 501 4602
E-Mail: rau...@hs-weingarten.de





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] SOGo v3, unable to send mails

2016-01-22 Thread Patrick Rauter

Kaltx`i,

I have successfully applied the changes mentioned in "Fixes #3439" and 
not only did I learn something new about dependency-problems, but at 
least I've got a working SOGo v3.


Thanks for the help.

  Patrick Rauter

--
Dipl.-Ing.(FH) Patrick Rauter
IT Service Center
Server Wissenschaftsnetz, Mailsystem, Storage
Benutzerverwaltung / LDAP
Raum H205

Hochschule Ravensburg-Weingarten
Doggenriedstr.
88250 Weingarten

Tel. +49 751 / 501 4602
E-Mail: rau...@hs-weingarten.de

Am 21.01.2016 um 17:24 schrieb Patrick Rauter:

Thanks for the clues.

Since dumping the database isn't much trouble on an experimental server
I have tried it first, but in my case it didn't helped.

Applying the Patch mentioned in http://www.sogo.nu/bugs/view.php?id=3439
is under way, but i experienced some nasty dependency-problems...

kind regards

   Patrick Rauter


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


Re: [SOGo] SOGo v3, unable to send mails Update

2016-01-22 Thread Patrick Rauter

Hello,

I was so happy with the send-button, that I neglected the issue with the 
reply, reply to all and forward-buttons, which are not fixed by the 
patch of fix #3439...


I have applied the same logic to the functions in "UIxMailActions.m" and 
now they are working to...


I have attached this fix, in case anybody can use it, or forward it to 
the developers.


With kind regards

  Patrick Rauter

--
Dipl.-Ing.(FH) Patrick Rauter
IT Service Center
Server Wissenschaftsnetz, Mailsystem, Storage
Benutzerverwaltung / LDAP
Raum H205

Hochschule Ravensburg-Weingarten
Doggenriedstr.
88250 Weingarten

Tel. +49 751 / 501 4602
E-Mail: rau...@hs-weingarten.de

Am 21.01.2016 um 17:24 schrieb Patrick Rauter:

Thanks for the clues.

Since dumping the database isn't much trouble on an experimental server
I have tried it first, but in my case it didn't helped.

Applying the Patch mentioned in http://www.sogo.nu/bugs/view.php?id=3439
is under way, but i experienced some nasty dependency-problems...

kind regards

   Patrick Rauter

64c64,65
<   mailboxName = [drafts relativeImap4Name];
---
>   mailboxName = [drafts absoluteImap4Name]; // Ex: /INBOX/Drafts/
>   mailboxName = [mailboxName substringWithRange: NSMakeRange(1, [mailboxName length] -2)];
108c109,110
<   mailboxName = [drafts relativeImap4Name];
---
>   mailboxName = [drafts absoluteImap4Name]; // Ex: /INBOX/Drafts/
>   mailboxName = [mailboxName substringWithRange: NSMakeRange(1, [mailboxName length] -2)];
root@sogov3:~/sogo-3.0.0b5/UI/MailerUI# man diff
root@sogov3:~/sogo-3.0.0b5/UI/MailerUI# diff -Naur UIxMailActions.m ~/sogo-3.0.0b5_20160122/UI/MailerUI/UIxMailActions.m
--- UIxMailActions.m2015-12-18 20:44:20.0 +0100
+++ /root/sogo-3.0.0b5_20160122/UI/MailerUI/UIxMailActions.m2016-01-22 11:25:34.0 +0100
@@ -61,7 +61,8 @@
   [newMail fetchMailForReplying: co toAll: toAll];
 
   accountName = [account nameInContainer];
-  mailboxName = [drafts relativeImap4Name];
+  mailboxName = [drafts absoluteImap4Name]; // Ex: /INBOX/Drafts/
+  mailboxName = [mailboxName substringWithRange: NSMakeRange(1, [mailboxName length] -2)];
   messageName = [newMail nameInContainer];
 
   data = [NSDictionary dictionaryWithObjectsAndKeys:
@@ -105,7 +106,8 @@
   [newMail fetchMailForForwarding: co];
 
   accountName = [account nameInContainer];
-  mailboxName = [drafts relativeImap4Name];
+  mailboxName = [drafts absoluteImap4Name]; // Ex: /INBOX/Drafts/
+  mailboxName = [mailboxName substringWithRange: NSMakeRange(1, [mailboxName length] -2)];
   messageName = [newMail nameInContainer];
 
   data = [NSDictionary dictionaryWithObjectsAndKeys:


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] SOGo v3, unable to send mails Update

2016-01-22 Thread Emilio Fonseca

Hey Patrick,

the changes that you mentioned are in this commit --> 
https://github.com/inverse-inc/sogo/commit/b55ef0d05b93c908f6a6c305f9901a7e2078a621


Kind regards.

Em 22-01-2016 08:50, Patrick Rauter escreveu:

Hello,

I was so happy with the send-button, that I neglected the issue with 
the reply, reply to all and forward-buttons, which are not fixed by 
the patch of fix #3439...


I have applied the same logic to the functions in "UIxMailActions.m" 
and now they are working to...


I have attached this fix, in case anybody can use it, or forward it to 
the developers.


With kind regards

  Patrick Rauter



--

Emílio Fonseca
Development Analyst
Mav Tecnologia - (31) 3211-

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