[SOGo] Using Sogo with Plesk

2017-09-07 Thread Daniel Bareiro
Hi all!

I would like to know if anyone has had any experience setting up SOGo as
webmail option in Plesk for all accounts or, if this is not possible,
the course of action to follow would be to install SOGo for each account
separately outside of Plesk.

Any advice is appreciated.

Thanks in advance.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGO Outlook / Thunderbird CalDav / CardDav / ActiveSync Videos

2017-08-02 Thread Daniel Bareiro

On 01/08/17 22:53, Jay Lepore (j...@compumatter.com) wrote:

> Hello all.

Hi, Jay. Good morning.

> I recently hired a developer from Upwork.com by the name of Daniel
> Bareiro to help figure out how this integration of SOGo worked with
> Outlook and Thunderbird.
> 
> He was instrumental on my getting my head around it and I recommend him
> to other members of this group if anyone needs help with any aspect of SOGo

It is very kind of you to make this recommendation on the list. Much
appreciated.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


[SOGo] Configuring Thunderbird to synchronize calendar with SOGo (Zentyal environment)

2017-07-31 Thread Daniel Bareiro
Hi all!

I am trying to synchronize the Thunderbird calendar against a SOGo
installation made in a Zentyal environment.

I was checking the server configuration files:

-
In /etc/apache2/conf-enabled/SOGo.conf:

  # Modified by Zentyal
  # RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e;
env=HTTP_HOST
  RequestHeader set "x-webobjects-server-url" "https://%{REQUEST_HOST}e:443;
  SetEnvIf Host "(.*):?" REQUEST_HOST=$1
-
In /etc/sogo/sogo.conf:

  /* LDAP authentication */
  SOGoUserSources = (
  {
  type = ldap;
  id = sambaLogin;
  displayName = "SambaLogin";
  canAuthenticate = YES;
  CNFieldName = cn;
  IDFieldName = cn;
  UIDFieldName = sAMAccountName;
  hostname = "ldap://127.0.0.1;;
  baseDN = "DC=domainmatter,DC=lan";
  bindDN =
"CN=zentyal-mail-servermatter,CN=Users,DC=domainmatter,DC=lan";
  bindPassword = "XX";
  bindFields = (sAMAccountName, mail);
  filter = "(mail='*')";
  },
  {
  type = ldap;
  id = sambaShared;
  displayName = "Shared Addressbook";
  canAuthenticate = NO;
  isAddressBook = YES;
  CNFieldName = cn;
  IDFieldName = mail;
  UIDFieldName = mail;
  hostname = "ldap://127.0.0.1;;
  baseDN = "DC=domainmatter,DC=lan";
  bindDN =
"CN=zentyal-mail-servermatter,CN=Users,DC=domainmatter,DC=lan";
  bindPassword = "XX";
  filter = "((NOT isCriticalSystemObject='TRUE') AND
(mail=\'*\') AND (NOT objectClass=contact))";
  },
  {
  type = ldap;
  id = sambaContacts;
  displayName = "Shared Contacts";
  canAuthenticate = NO;
  isAddressBook = YES;
  CNFieldName = cn;
  IDFieldName = mail;
  UIDFieldName = mail;
  hostname = "ldap://127.0.0.1;;
  baseDN = "DC=domainmatter,DC=lan";
  bindDN =
"CN=zentyal-mail-servermatter,CN=Users,DC=domainmatter,DC=lan";
  bindPassword = "XX";
  filter = "objectClass=person) AND (objectClass=contact)
AND ((uidNumber>=2000) OR (mail=\'*\'))) AND (NOT
isCriticalSystemObject='TRUE') AND (NOT showInAdvancedViewOnly='TRUE')
AND (NOT uid=Guest)) OR (((objectClass=group) AND (gidNumber>=2000)) AND
(NOT isCriticalSystemObject='TRUE') AND (NOT
showInAdvancedViewOnly='TRUE')))";
  mapping = {
  displayname = ("cn");
  };
  }
  );
-

Then I made these changes prior to installing Sogo Integrator:

-
chrome/content/extensions.rdf:
(...)
isi:updateURL="https://companymatter.com/plugins/updates.php?plugin=%ITEM_ID%version=%ITEM_VERSION%platform=%PLATFORM%;>
(...)
-
defaults/preferences/site.js:
(...)
pref("sogo-integrator.autocomplete.server.urlid", "sambaLogin");
-

Would these changes be correct? I'm not sure if the "id" I used from
SOGoUserSources in /etc/sogo/sogo.conf is the one I should put in
defaults/preferences/site.js.

I don't remember if it's enough to install these addons correctly
configured (ie, I don't have to configure anything else in Lightning) in
order to synchronize the calendar. Because I have created some events
via web, but I don't see them in Lightning and this makes me think that
maybe there is something that is not correctly configured on the client
side.

If it helps, here's what I'm seeing on the console when running Thunderbird:

-
viper@orion:~$ thunderbird -ProfileManager

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed
[calBackendLoader] Using Thunderbird's builtin libical backend
messenger.groupdav.overlay.js: failed to include

Re: [SOGo] SOGO Zeg groupware

2017-02-24 Thread Daniel Bareiro
Hi, Ludovic.

On 23/02/17 13:03, Ludovic Marcotte (lmarco...@inverse.ca) wrote:

>> Or ZEG 2.3 is the version of the image instead of the version of SOGo
>> itself?

> https://sogo.nu/download.html#/zeg

Thanks for the current link!

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


[SOGo] SOGO Zeg groupware

2017-02-23 Thread Daniel Bareiro
Hi all!

A client has come to me with the intention of installing SOGO Zeg
groupware, but that version of ZEG seems very old (from the end of
2015). I understand that on February 14/2017 was published SOGo 3.2.7.
So I think it would be better to install something in the line of SOGo 3.x.

Or ZEG 2.3 is the version of the image instead of the version of SOGo
itself?


Thanks in advance.

Kind regards,
Daniel

[1] http://v2.sogo.nu/downloads/zeg.html



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Outlook CalDAV Synchronizer (was: Re: ANN: SOGo Package Repositories)

2016-08-01 Thread Daniel Bareiro

On 31/07/16 13:22, Alexander Nimmervoll (n...@technikum-wien.at) wrote:

> Hi!

Hi, Alex!

> As one of the developers of CalDavSynchronizer I can confirm that we
> have many users which use it in production with large calendars. SOGo is
> our main caldav server we test against btw and we try to fix any issues
> as soon as possible. The poor performance and stability of other
> commercial outlook caldav addins was my main motivation to start the
> project. 

Much appreciated your comment and interest in this thread. I will
consider CalDavSynchronizer to test it with Horde (the groupware system
that I use on a personal level) and for clients using SOGo.

By the way, do you know if is there any problems with Sourceforge?
Because the CalDavSynchronizer site is temporarily inaccessible.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] ANN: SOGo Package Repositories

2016-08-01 Thread Daniel Bareiro
Hi, Slávek.

On 28/07/16 16:20, Slávek Banko (slavek.ba...@axis.cz) wrote:

>> The condition for leave out this package is to have clients using
>> Outlook 2013 or higher, right?

> Without OpenChange are two possibilities for MS Outlook support:
> 
> 1) ActiveSync with Outlook 2013 and later.
> 
> 2) Outlook CalDav Synchronizer with Outlook 2007 ane later.
> 
> Do not be fooled by the 'CalDav' in the plugin name, because for some time 
> also allows to synchronize CardDAV! It is an open source and development is 
> very active. Plugin adds into MS Outlook exactly what is missing == CalDAV 
> and CardDAV. For more information, see:
> 
> https://sourceforge.net/projects/outlookcaldavsynchronizer/
> 
> I would say that with this plugin you do not need to deal with OpenChange.

Thank you for your contribution and to have confirmed that it requires
Outlook 2013 or later.

I remember some time ago someone from this list had recommended me using
the CalDAV Synchronizer plugin. I tried to access the site just now but
it seems that is temporarily inaccessible.

The interesting thing about this plugin is that, as someone said in this
subthread, it change the rules of the game. Because now it is no longer
use ActiveSync to synchronize calendar and contacts; any groupware
software with support of CalDAV/CardDAV could be used.

I think this has another positive result. When I've tested Outlook 2013
with ActiveSync, users was able to synchronize contacts, calendar and
emails. The latter makes users to have two email mailboxes in your
control panel, one corresponding to IMAP access and another for the
ActiveSync access. That could be confusing for some users.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Outlook CalDAV Synchronizer

2016-08-01 Thread Daniel Bareiro

On 01/08/16 11:33, sysad...@grouchysysadmin.com wrote:

> Hello,

Hello, Tim.

> I know several people using it successfully. I can personally vouch for
> the plugins stability and effectiveness with multiple calendars and
> address books. It really works great.
> 
> Note, I'm currently using Horde as the server, but I doubt SOGo would
> act any differently.

Thank you for sharing this experience. It's great to know this. Here I
am also using Horde for personal use.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] ANN: SOGo Package Repositories

2016-07-28 Thread Daniel Bareiro

On 28/07/16 14:57, Slávek Banko (slavek.ba...@axis.cz) wrote:

>> but how i can build Sogo without Openchange support I didn t find
>> any documentations or wehre to desactivate it.
>> how to desactivate it in the source ?

> Take file 'control-no-openchange' from packaging/debian-multiarch and use it
> instead of the current 'control'.

The condition for leave out this package is to have clients using
Outlook 2013 or higher, right?

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] ANN: SOGo Package Repositories

2016-07-21 Thread Daniel Bareiro


On 07/21/16 10:49, Zhang Huangbin (z...@iredmail.org) wrote:

> Dear folks,

Hi, Zhang.

It's good to know the opinion of the founder of another open source
project, as the case of iRedMail.

> Maybe the best way to benefit all SOGo users is contacting SOGo package 
> maintainer of EPEL repo
> (for RHEL/CentOS), Debian/Ubuntu official apt repo, then keep SOGo up
to date?

In the case of Debian, I see difficult it, since Debian is not a rolling
release and it has its own operating scheme using three branches:
unstable-> testing-> stable.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] ANN: SOGo Package Repositories

2016-07-21 Thread Daniel Bareiro

> Hi

Hi, Christian.

>> I only see the SOGo packages mentioned in my previous email using the
>> official repositories of Debian. I'm not sure why the Debian maintainers
>> did not include the activesync package or if they included the
>> activesync support in some other package.

> In Debian is an outdated version of SOGo, which didn't include
> ActiveSync support at all.
> Because of that you do not get sogo-activesync from Debian Jessie.

It is a good point :-) Thanks for the clarification. Just for curiosity,
do you remember from what version of SOGo was added the ActiveSync support?

I was researching [1] and the SOGo version in the unstable branch of
Debian repositories is the 2.2.17.

In any case, it is always the option to generate the packets using the
procedure mentioned by Achim, or use the Nightly repositories of Inverse.

Thanks for your reply.

Kind regards,
Daniel

[1]
https://packages.debian.org/search?keywords=sogo=names=all=all



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] ANN: SOGo Package Repositories

2016-07-20 Thread Daniel Bareiro
On 07/20/16 09:45, "sg gs" (s...@mail.com) wrote:

> daniel,

Hi, sg gs.

> we use the nightlies for ~3 weeks now without any problems, but i must
> admit, currently in an evaluation phase - all users, all mails migrated,
> no calendar nor addressbook migration yet.
>  
> did you install the package for activesync.
>  
> -
> at our site (yes it's jessie too):
> #apt-cache search sogo
> fusiondirectory-plugin-sogo - SOGo plugin for FusionDirectory
> fusiondirectory-plugin-sogo-schema - LDAP schema for FusionDirectory
> SOgo plugin
> sogo-common - Scalable groupware server - common files
> sogo-openchange - Scalable groupware server - OpenChange backend
> xul-ext-sogo-connector - transforms Icedove into a full DAV client for
> groupware servers
> sogo - a modern and scalable groupware
> sogo-activesync - a modern and scalable groupware - ActiveSync module
> sogo-dbg - a modern and scalable groupware - debugging symbols
> sogo-dev - a modern and scalable groupware - development files
> -

Thanks for sharing your experience.

I only see the SOGo packages mentioned in my previous email using the
official repositories of Debian. I'm not sure why the Debian maintainers
did not include the activesync package or if they included the
activesync support in some other package.

The output on your previous email was after adding nightly?


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] ANN: SOGo Package Repositories

2016-07-20 Thread Daniel Bareiro
Hi!

On 07/20/16 08:34, Sebastian Hempel (sebast...@hempel-roeslau.de) wrote:

>> why not go for the nightlies?

> Until now nightly for me sounds like a testing "version". I read other
> posts, that this isn't the case. So switching to nightly looks like an
> alternative.

The case with this is that every time you try to update the operating
system with apt-get/aptitude or the package manager that uses the
distribution of each, we will have a new version of SOGo to update and
may not there are changes between the last build and the previous.

I currently use Debian stable (Jessie) for my servers and they have
included SOGo on the repositories, although it seems (if I'm not missing
something) it is not incorporating all packages:

--
$ apt-cache search sogo
fusiondirectory-plugin-sogo - SOGo plugin for FusionDirectory
fusiondirectory-plugin-sogo-schema - LDAP schema for FusionDirectory
SOgo plugin
sogo - Scalable groupware server
sogo-common - Scalable groupware server - common files
sogo-dbg - Scalable groupware server - debugging symbols
sogo-openchange - Scalable groupware server - OpenChange backend
xul-ext-sogo-connector - transforms Icedove into a full DAV client for
groupware servers
--

For example, I do not see the package for activesync.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and necessity of using OpenChange

2016-04-13 Thread Daniel Bareiro

On 12/04/16 22:48, "MicTieMix" (mictie...@gmail.com) wrote:

> Hi Daniel,

Hi, Michael.

> If you go to Sogo/calendar and right-cloick on the calendar, it will you show 
> you 'Links to this Calendar'
> Just use the CalDav-URL in  CalDavSynchronizer.

Great. I haven't here available at this time any installation to test
it, but I guess for tasks and address books should be something similar.

Thanks for your reply.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and necessity of using OpenChange

2016-04-12 Thread Daniel Bareiro

Hi, Steve.

On 11/04/16 12:54, Steve Ankeny (stev...@cinergymetro.net) wrote:

>> Thank you for confirming and the references. I appreciate it. I'll see
>> how I will do this implementation and will consult you any questions
>> that arise.
>>
>> Thanks for your time.

> no problem, Daniel
> 
> I am not an expert!  However, I've struggled with OpenChange, and I've
> come to the conclusion the better way for my users is to use EAS with
> Outlook 2013, and like you, I think the CalDav Synchronizer looks great.

According to what I was seeing in the documentation that you mentioned,
the installation seems more complex and (correct me if I'm wrong,
please) seems necessarily to requires LDAP. I have no experience with
LDAP, so I probably have to fight with this installation in the case of
do it for the first time.

In the installation I did (only) for Outlook 2013 and Android clients, I
installed "sogo" and "sogo-activesync" packages (I am struck that Debian
Jessie has no the "sogo-activesync" package) in Ubuntu from SOGo
repositories. I also installed MySQL to create a database with users for
SOGo. Here these clients was connected using ActiveSync smoothly.

If I understood correctly, for users with older versions of Outlook who
want to use ActiveSync, instead of having SOGo users in a MySQL database
these must be on a LDAP directory, right?

While on this way SOGo contemplates using very old versions of Outlook
living with other newer of Outlook and all homogeneously using
ActiveSync, I think it would be the only case where SOGo worth
installing. Because if we will install SOGo for Outlook clients
connecting via CalDAV/CarDAV, we could use another web application as
the case of Horde Groupware.

> That will help with Address Books and Contacts, but it will not help
> with receiving Mail in Outlook.

When I had configured Outlook 2013 to use ActiveSync, I remember that it
showed two mail boxes: one for the IMAP connection and another for
synchronization with ActiveSync. This could be confusing for users,
especially because that environment had an IMAP server without the
capabilities necessary to synchronize emails using ActiveSync. So in a
mailbox the users were seeing all the emails obtained using IMAP and the
other mailbox looked empty.

> That's where using EAS should work.  I'm on the same page as you as far
> as not using OpenChange.  My users are long time Thunderbird users, so
> using MAPI for Mail made sense, but "some" users need Outlook.
> 
> So, for those few users, I believe EAS should do the job.
> Dovecot/Postfix, SOGo, Samba, no OpenChange

Yes, it is an option. Although the case of using CalDAV/CarDAV also
avoids confusion due to the double mailbox that a user might have in
Outlook if they use IMAP and ActiveSync simultaneously.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and necessity of using OpenChange

2016-04-12 Thread Daniel Bareiro


On 11/04/16 13:41, "MicTieMix" (mictie...@gmail.com) wrote:

> Hi Daniel,

Hi, MicTieMix.

> No, just install on PC, I am using it with Outlook 2013 / 64bit on Win10
> Straight forward, no hassles ...

So it is not necessary to make any changes to the SOGo configuration
files for CalDAV/CarDAV synchronization works?

I was doing some research here and it seems that there are users using
Outlook 2003 and 2007 (surprise me that they use so Precambrian
versions). I had read the plugin is compatible with Outlook 2007+. Maybe
it could be ok anyway; I can tell these users they have to update.

I'll give it a try and let you know.

Thanks for your reply.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and necessity of using OpenChange

2016-04-11 Thread Daniel Bareiro
Hi, MicTieMix.

On 10/04/16 05:19, "MicTieMix" (mictie...@gmail.com) wrote:

> If you don’t mind to install a little helper ‘CalDav Synchronizer’ from
> https://sourceforge.net/projects/outlookcaldavsynchronizer/) you don’t
> need OpenChange or ActiveSync.
> 
> I am using this for several weeks, it’s working fine and is actively
> maintained and updated

Thanks for the reply and suggestion. Very interesting alternative. I
will consider it.

Do we need to configure something extra for get enabled CalDAV/CarDAV in
SOGo?


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and necessity of using OpenChange

2016-04-11 Thread Daniel Bareiro
Hi, Steve.

On 09/04/16 11:37, Steve Ankeny (stev...@cinergymetro.net) wrote:

> Review pg 3, 51-58 of the SOGo Installation and Configuration Guide
>  (PDF)
> 
> Generally, you will find that Outlook 2010, and below, require
> OpenChange for use with the "Outlook Anywhere" protocol, while Outlook
> 2013 can be used without OpenChange with the Enterprise ActiveSync protocol.
> 
> Note: IF you need OpenChange, you MUST install the Inverse version of
> Samba 4.1.18
> 
> Follow the Native Microsoft Outlook Configuration Guide
> 
> (PDF)  Works ONLY on Ubuntu Trusty & Debian 8

Thank you for confirming and the references. I appreciate it. I'll see
how I will do this implementation and will consult you any questions
that arise.

Thanks for your time.


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo connector and Horde Groupware

2016-01-08 Thread Daniel Bareiro
Hi again!

On 04/01/16 07:58, Daniel Bareiro wrote:

> I tried SOGo connector Thunderbird extension for Thunderbird 31 and 38
> (version 31.0.2) on Icedove 38.5.0 but I do not see that it synchronizes
> the data. When running with "icedove -console" it gives some javascript
> errors:
> 
> -
> sync.addressbook.groupdav.js: failed to include
> 'chrome://inverse-library/content/sogoWebDAV.js'
> [Exception... "Component returned failure code: 0x80040111
> (NS_ERROR_NOT_AVAILABLE) [nsIXPCComponents_Utils.import]"  nsresult:
> "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
> chrome://inverse-library/content/sogoWebDAV.js ::  :: line
> 20"  data: no]
> File: undefined
> Line: 20
> 
>  Stack:
> 
> @chrome://inverse-library/content/sogoWebDAV.js:20:0
> jsInclude@chrome://sogo-connector/content/general/sync.addressbook.groupdav.js:26:12
> @chrome://sogo-connector/content/general/sync.addressbook.groupdav.js:40:0
> jsInclude@chrome://sogo-connector/content/addressbook/messenger.groupdav.overlay.js:26:12
> @chrome://sogo-connector/content/addressbook/messenger.groupdav.overlay.js:37:0
> mimeVerify.jsm: module initialized
> startup from sogo-connector
> *** new sync: 1
>   1/sync with
> https://webmail.opcion-libre.com.ar/rpc.php/addressbooks/dbareiro/contacts~LxqlsjtvQuOkUHxTuKdPDg8/...
> JavaScript error:
> chrome://sogo-connector/content/general/sync.addressbook.groupdav.js,
> line 323: TypeError: request.propfind is not a function
> JavaScript error:
> chrome://messenger/content/messengercompose/messengercompose.xul, line
> 1: TypeError: Enigmail.msg.addressOnChange(...) is undefined
> JavaScript error:
> chrome://messenger/content/messengercompose/messengercompose.xul, line
> 1: TypeError: Enigmail.msg.addressOnChange(...) is undefined
> mimeEncrypt.js: module initialized
> -
> 
> I found an issue [1] open from July 2014 with a similar error to the
> mentioned here, but I'm not sure if this is the same problem.
> 
> I would appreciate any comment.

Any help on this? If I can provide more information, please let me know.

> [1] http://www.sogo.nu/bugs/view.php?id=2836


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


[SOGo] SOGo connector and Horde Groupware

2016-01-04 Thread Daniel Bareiro
Hi all and Happy New Year!!

I tried SOGo connector Thunderbird extension for Thunderbird 31 and 38
(version 31.0.2) on Icedove 38.5.0 but I do not see that it synchronizes
the data. When running with "icedove -console" it gives some javascript
errors:

-
sync.addressbook.groupdav.js: failed to include
'chrome://inverse-library/content/sogoWebDAV.js'
[Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXPCComponents_Utils.import]"  nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
chrome://inverse-library/content/sogoWebDAV.js ::  :: line
20"  data: no]
File: undefined
Line: 20

 Stack:

@chrome://inverse-library/content/sogoWebDAV.js:20:0
jsInclude@chrome://sogo-connector/content/general/sync.addressbook.groupdav.js:26:12
@chrome://sogo-connector/content/general/sync.addressbook.groupdav.js:40:0
jsInclude@chrome://sogo-connector/content/addressbook/messenger.groupdav.overlay.js:26:12
@chrome://sogo-connector/content/addressbook/messenger.groupdav.overlay.js:37:0
mimeVerify.jsm: module initialized
startup from sogo-connector
*** new sync: 1
  1/sync with
https://webmail.opcion-libre.com.ar/rpc.php/addressbooks/dbareiro/contacts~LxqlsjtvQuOkUHxTuKdPDg8/...
JavaScript error:
chrome://sogo-connector/content/general/sync.addressbook.groupdav.js,
line 323: TypeError: request.propfind is not a function
JavaScript error:
chrome://messenger/content/messengercompose/messengercompose.xul, line
1: TypeError: Enigmail.msg.addressOnChange(...) is undefined
JavaScript error:
chrome://messenger/content/messengercompose/messengercompose.xul, line
1: TypeError: Enigmail.msg.addressOnChange(...) is undefined
mimeEncrypt.js: module initialized
-

I found an issue [1] open from July 2014 with a similar error to the
mentioned here, but I'm not sure if this is the same problem.

I would appreciate any comment.

Thanks in advance.

Best regards,
Daniel

[1] http://www.sogo.nu/bugs/view.php?id=2836




signature.asc
Description: OpenPGP digital signature


[SOGo] IMAP server and ActiveSync

2015-08-13 Thread Daniel Bareiro
Hi all!

Sorry if this message get duplicated but I sent it two days ago and was
not published (I'm not sure if it will have been automatically discarded
by having two links ---about the email of Ludovic and the
imapCapability.pl tool that I mention below--- which do that it would
have been considered as spam).

I'm setting SOGo with ActiveSync. Synchronization of contacts, tasks and
address book worked smoothly, but I'm having problems with
synchronization of emails. I think this is because the mail server
(MailEnable) does not have the capabilities required (UIDPLUS, SORT and
QRESYNC) according to an email sent by Ludovic. I was checking the
IMAP server with imapCapability.pl script and I found the following:

-
The server supports the following IMAP capabilities:

IMAP4rev1 IMAP4 AUTH=LOGIN AUTH=CRAM-MD5 IDLE CHILDREN UIDPLUS
-

Then Outlook 2013 users see his/her IMAP account (with all the emails)
and the ActiveSync account where they see his/her folders but empty. To
prevent users could be confused with this, is there some way to avoid
email synchronizing with ActiveSync?

Thanks in advance.


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and Outlook 2013

2015-08-09 Thread Daniel Bareiro
Hi Andreas.

I hope you get the message that I'm responding because I sent it
yesterday and it seems that has not yet been published.

On 07/08/15 10:10, Daniel Bareiro wrote:

 Is Android working properly in your case with ActiveSync? E-mail works
 fine for me but I can't see any calender, tasks or contacts. If I force
 the synchronization it takes ages to complete and I see no data at all.
 Which version of Android are you using? I'm using 5.1.1

 I am experiencing the totally opposite case. That is I can synchronize
 the address book, contacts and tasks. But I can not synchronize emails.
 This happens to me both in Outlook 2013 and Android. I see all folders
 (including the ones I've created) but these are empty. You're familiar
 with this issue with email using ActiveSync?

 Investigating a little more about the issue, I found this [1] email of
 Ludovic when ActiveSync support was added on SOGo. I was doing some
 tests on the mail server using the imapCapability.pl [2] script and I
 found the following:
 
 ---
 The server supports the following IMAP capabilities:
 
 IMAP4rev1 IMAP4 AUTH=LOGIN AUTH=CRAM-MD5 IDLE CHILDREN UIDPLUS
 ---
 
 I do not see listed here the SORT and QRESYNC capabilities although I'm
 not sure if it's because they are not enabled on the mail server
 (MailEnable) or simply because they are not supported.
 
 It would be interesting to know if the behavior mentioned (folders
 displayed but these are empty) may be due to the missing capabilities here.

To verify if the problem of ActiveSync to synchronizing emails has to do
with the capabilities of MailEnable IMAP server, I made a test setting
another instance of SOGo pointing to a Cyrus IMAP server (which has
enabled these capabilities).

Here again I see empty folders in Outlook 2013. However the difference
is that I see in the SOGo log other entries not previously seen with
MailEnable server:

Aug 08 13:07:17 sogod [12785]: 10.1.0.33 OPTIONS
/SOGo/Microsoft-Server-ActiveSync HTTP/1.1 200 0/0 0.011 - - 0
Aug 08 13:07:27 sogod [12785]: 10.1.0.33 OPTIONS
/SOGo/Microsoft-Server-ActiveSync HTTP/1.1 200 0/0 0.003 - - 0
Aug 08 13:07:31 sogod [12785]: 10.1.0.33 POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSyncUser=dbareiroDeviceId=388D10A98E8E47BFAC6B12D34016740EDeviceType=WindowsOutlook15
HTTP/1.1 200 1254/13 4.266 - - 260K
Aug 08 13:07:34 sogod [12785]:
0x0x7f3496f92f50[SOGoActiveSyncDispatcher] Change detected, we push the
content.
Aug 08 13:07:34 sogod [12785]: 10.1.0.33 POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=SyncUser=dbareiroDeviceId=388D10A98E8E47BFAC6B12D34016740EDeviceType=WindowsOutlook15
HTTP/1.1 200 831/887 2.657 - - 2M
Aug 08 13:07:35 sogod [12785]: 0x0x7f3497225ed0[NGImap4Client] Note: no
key found for sorting, using 'DATE': (null)
Aug 08 13:07:38 sogod [12785]: 0x0x7f3497225ed0[NGImap4Client] Note: no
key found for sorting, using 'DATE': (null)
Aug 08 13:07:39 sogod [12789]:
0x0x7f3497006b00[SOGoActiveSyncDispatcher] Sleeping 10 seconds while
detecting changes...
Aug 08 13:07:39 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:39 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:40 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 08 13:07:41 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 08 13:07:41 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:41 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:41 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:41 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:42 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 08 13:07:42 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:42 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:43 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:43 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.
Aug 08 13:07:43 sogod [12785]: 0x0x7f3493331bc0[NSString] Got invalid
multibyte sequence. ToEncode: UTF-16LE FromEncode: UTF-8.

(...)

2015-08-08 13:08:38.710 sogod[12785] MimeType

Re: [SOGo] SOGo and Outlook 2013

2015-08-06 Thread Daniel Bareiro
On 06/08/15 14:31, Andreas Hainke wrote:

 Hi Daniel

Hi, Andreas.

 Is Android working properly in your case with ActiveSync? E-mail works
 fine for me but I can't see any calender, tasks or contacts. If I force
 the synchronization it takes ages to complete and I see no data at all.
 Which version of Android are you using? I'm using 5.1.1

I am experiencing the totally opposite case. That is I can synchronize
the address book, contacts and tasks. But I can not synchronize emails.
This happens to me both in Outlook 2013 and Android. I see all folders
(including the ones I've created) but these are empty. You're familiar
with this issue with email using ActiveSync?

The test was made by a friend of mine (because I do not use Android). As
I see in the logs, I think he uses Android/4.4.4-EAS-2.0. He said it
takes thousand of years to synchronize mail folders, but always looks
empty. Another person using Android/5.1.1-EAS-2.0 also told me that
could seamlessly synchronize the address book and contacts.

 While synching with Android a whole bunch of messages are logged like these:
 [...]
 Aug 05 11:24:24 sogod [1154]: 10.10.10.112 POST
 /SOGo/Microsoft-Server-ActiveSync?Cmd=SyncUser=test1%40piraten.lanDeviceId=android1422999340364DeviceType=Android
 HTTP/1.1 200 1947/102 1.395 - - -60K
 Aug 05 11:24:26 sogod [1154]:
 0x0x7f1e059c9ef0[SOGoActiveSyncDispatcher] Change detected, we push
 the content.
 Aug 05 11:24:26 sogod [1154]: 10.10.10.112 POST
 /SOGo/Microsoft-Server-ActiveSync?Cmd=SyncUser=test1%40piraten.lanDeviceId=android1422999340364DeviceType=Android
 HTTP/1.1 200 73/58 0.521 - - 0
 Aug 05 11:24:27 sogod [1154]: 0x0x7f1e059d2960[NGImap4Client] Note: no
 key found for sorting, using 'DATE': (null)
 Aug 05 11:24:28 sogod [1154]:
 0x0x7f1e060b4e30[SOGoActiveSyncDispatcher] Change detected, we push
 the content.
 Aug 05 11:24:28 sogod [1154]: 10.10.10.112 POST
 /SOGo/Microsoft-Server-ActiveSync?Cmd=SyncUser=test1%40piraten.lanDeviceId=android1422999340364DeviceType=Android
 HTTP/1.1 200 4018/97 1.289 - - 536K
 Aug 05 11:24:29 sogod [1154]:
 0x0x7f1e05f6c5d0[SOGoActiveSyncDispatcher] Change detected, we push
 the content.
 Aug 05 11:24:29 sogod [1154]: 10.10.10.112 POST
 /SOGo/Microsoft-Server-ActiveSync?Cmd=SyncUser=test1%40piraten.lanDeviceId=android1422999340364DeviceType=Android
 HTTP/1.1 200 53/121 0.011 - - 0
 Aug 05 11:24:29 sogod [1154]:
 0x0x7f1e0602e6e0[SOGoActiveSyncDispatcher] Change detected, we push
 the content.
 Aug 05 11:24:29 sogod [1154]: 10.10.10.112 POST
 /SOGo/Microsoft-Server-ActiveSync?Cmd=SyncUser=test1%40piraten.lanDeviceId=android1422999340364DeviceType=Android
 HTTP/1.1 200 298/65 0.079 - - 0
 [...]

In my logs don't see entries with we push of content or no key found
for sorting:

root@s18513723:/var/log/apache2# grep push other_vhosts_access.log
root@s18513723:/var/log/apache2# grep push access.log
root@s18513723:/var/log/apache2# grep key access.log
root@s18513723:/var/log/apache2# grep key other_vhosts_access.log
root@s18513723:/var/log/apache2#

The rest are similar to yours entries, I think:

sogo.domain.com:443 190.0.177.185 - - [06/Aug/2015:18:41:03 -0500] POST
/Microsoft-Server-ActiveSync?Cmd=SyncUser=dbareiroDeviceId=androidc700756609DeviceType=Android
HTTP/1.1 200 692 - Android/4.4.4-EAS-2.0
sogo.domain.com:443 190.0.177.185 - - [06/Aug/2015:18:41:06 -0500] POST
/Microsoft-Server-ActiveSync?Cmd=PingUser=dbareiroDeviceId=androidc700756609DeviceType=Android
HTTP/1.1 200 666 - Android/4.4.4-EAS-2.0
sogo.domain.com:443 190.0.177.185 - - [06/Aug/2015:18:41:56 -0500] POST
/Microsoft-Server-ActiveSync?Cmd=SyncUser=dbareiroDeviceId=androidc700756609DeviceType=Android
HTTP/1.1 200 692 - Android/4.4.4-EAS-2.0
sogo.domain.com:443 190.0.177.185 - - [06/Aug/2015:18:42:25 -0500] POST
/Microsoft-Server-ActiveSync?Cmd=PingUser=dbareiroDeviceId=androidc700756609DeviceType=Android
HTTP/1.1 502 926 - Android/4.4.4-EAS-2.0
sogo.domain.com:443 186.19.252.3 - - [06/Aug/2015:19:01:57 -0500] POST
/Microsoft-Server-ActiveSync?Cmd=PingUser=dbareiroDeviceId=androidc700756609DeviceType=Android
HTTP/1.1 502 1597 - Android/4.4.4-EAS-2.0
sogo.domain.com:443 186.19.252.3 - - [06/Aug/2015:19:07:43 -0500] POST
/Microsoft-Server-ActiveSync?Cmd=PingUser=dbareiroDeviceId=androidc700756609DeviceType=Android
HTTP/1.1 502 1597 - Android/4.4.4-EAS-2.0
sogo.domain.com:443 186.19.252.3 - - [06/Aug/2015:19:09:56 -0500] POST
/Microsoft-Server-ActiveSync?Cmd=PingUser=dbareiroDeviceId=androidc700756609DeviceType=Android
HTTP/1.1 502 926 - Android/4.4.4-EAS-2.0

It caught my attention that from time to time I see some hits with HTTP
502 instead of HTTP 200. Have you seen that too in your case?


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and Outlook 2013

2015-08-06 Thread Daniel Bareiro

Hi, Andreas.

On 05/08/15 19:39, Daniel Bareiro wrote:

 I traced it down, like you suggested, not using SSL could be the
 problem. I tried to setup Outlook 2013 with plain http and get an error
 while account configuration dialog. I captured the traffic with
 wireshark. Outlook 2013 only tries to connect to port 443 in my case
 even if I supply the server address including port. That seems to be the
 problem. Try to enable SSL.

 Surprisingly using Windows Mail (shipped with Windows 10) and ActiveSync
 works with plain http.

 Interesting. With this I can say that I see some light at the end of the
 tunnel :-) I also appreciate that you've taken the time to make a
 Wireshark capture. It was something that today crossed my mind (I was
 running out my choices).
 
 I'll do a test configuring the access to SOGo with https and I'll let
 you know the results. Have you had any problems in Outlook using
 self-signed certificates?

Yesterday I configured an Apache HTTPS access to SOGo and it was great
to see that Outlook could connect to the server. I had some warnings
because the certificate was self-signed but after installing the
certificate in Outlook, I had no such pop up. The synchronization of
calendar and address book ran smoothly.

For curiosity I installed Wireshark today in the Windows virtual machine
for see the traffic from Outlook. I tried filtering by the servername of
the SOGo server, by port 443, by IP address and I could not get packages
with some of these filters. Which filter you used to isolate the packets?

But now, to my surprise, I erased the ActiveSync account and after to
create it again I can not synchronize data at all :-(

Any idea what might be going? Even I do not see entries in Apache.

Update: while I write this email I tried restarting the SOGo server and
even memcached and Outlook has synchronized again. For some reason it
now appears that Apache is now writing the log in
/var/log/apache2/other_vhosts_access.log. I'll add CustomLog and
ErrorLog directives to have separate entries in the specified files.

Thanks for your time.


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and Outlook 2013

2015-08-05 Thread Daniel Bareiro
On 05/08/15 02:53, Andreas Hainke wrote:

 Hi Daniel

Hi, Andreas.

 I only uncommented the line ProxyPass /Microsoft-Server-ActiveSync
 http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync retry=60
 connectiontimeout=5 timeout=360 as you already did.
 
 And I add this to /etc/sogo/sogo.conf
 (http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf pages 53/54)
 
   WOWorkersCount = 40;
   SOGoMaximumPingInterval = 3540;
   SOGoMaximumSyncInterval = 3540;
   SOGoInternalSyncInterval = 30;
 
 After these changes I restarted sogo, memcache and apache.

I have also added these lines in /etc/sogo/sogo.conf, but without
changes in the result.

 My sogo.log has a lot of these messages:
 
 Aug 04 22:23:57 sogod [1808]:
 0x0x7f1ce1658d40[SOGoActiveSyncDispatcher] Sleeping 30 seconds while
 detecting changes...
 Aug 04 22:23:59 sogod [4933]:
 0x0x7f1ce07c21d0[SOGoActiveSyncDispatcher] Sleeping 30 seconds while
 detecting changes...
 Aug 04 22:24:17 sogod [720]: [WARN] 0x0x7f1ce0469a60[WOWatchDogChild]
 pid 1808 has been hanging in the same request for 8 minutes
 Aug 04 22:24:28 sogod [1808]:
 0x0x7f1ce1658d40[SOGoActiveSyncDispatcher] Sleeping 30 seconds while
 detecting changes...
 Aug 04 22:24:29 sogod [4933]:
 0x0x7f1ce07c21d0[SOGoActiveSyncDispatcher] Sleeping 30 seconds while
 detecting changes...
 
 That are all changes I did, as far as I remember.
 
 The SOGo documentation also mentions to install libwbxml for ActiveSync.

Yes, libwbxml was automatically installed as dependence of sogo-activesync.

What strikes me is that I don't see on /var/log/apache2/access.log any
access to /Microsoft-Server-ActiveSync from the virtual machine where
I'm doing tests with Windows. Do you see any entry in your Apache from
the Outlook IP to access /Microsoft-Server-ActiveSync?

I also see that the documentation says on page 50: Outlook 2013 does
not search the GAL. One possible alternative solution is to configure
Outlook to use LDAP server (over SSL) with authentication.

Are you using Outlook with LDAP? Currently I'm using a MySQL database
for authenticating the users of SOGo, not LDAP. Nor am I using Apache
SSL connections. Could this affect the connection issue? Anyway, I guess
I would have to see at least some entry on the Apache log.

Thanks for your time.


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and Outlook 2013

2015-08-05 Thread Daniel Bareiro
On 05/08/15 17:05, Andreas Hainke wrote:

 Hi Daniel

Hi, Andreas.

 Have a look at /etc/default/sogo, PREFORK=xyz overrides the setting of
 WOWorkersCount. But this setting is only relevant if sogo logs messages like
 Aug 05 08:00:38 sogod [720]: [ERROR] 0x0x7f1ce01f7000[WOWatchDog] No
 child available to handle incoming request!

Thanks for the observation. Just today I've noticed a lot of lines of
this type when sync with Android and ActiveSync (few minutes ago I sent
an email with some tests I made with Android without any problem). In
Debian the PREFORK line (PREFORK=3) was commented. So I added a line
with PREFORK=20. After that, so far I have not seen lines with No child
available to handle incoming request!

 What strikes me is that I don't see on /var/log/apache2/access.log any
 access to /Microsoft-Server-ActiveSync from the virtual machine where
 I'm doing tests with Windows. Do you see any entry in your Apache from
 the Outlook IP to access /Microsoft-Server-ActiveSync?

 Yes I have quite a lot of entries in the access log like this:

 10.10.10.190 - - [05/Aug/2015:10:52:41 +0200] POST
 /Microsoft-Server-ActiveSync?Cmd=PingUser=te...@piraten.lanDeviceId=C199A908AC31425381AA3BCA7BDA590EDev
 iceType=WindowsOutlook15 HTTP/1.1 502 793 - Outlook/15.0
 (15.0.4737.1000; C2R; x86)

Perfect! Thank you for the confirmation!

 I also see that the documentation says on page 50: Outlook 2013 does
 not search the GAL. One possible alternative solution is to configure
 Outlook to use LDAP server (over SSL) with authentication.

 Are you using Outlook with LDAP? Currently I'm using a MySQL database
 for authenticating the users of SOGo, not LDAP. Nor am I using Apache
 SSL connections. Could this affect the connection issue? Anyway, I guess
 I would have to see at least some entry on the Apache log.

 I'm using LDAP, but only for SOGo user authentication. I haven't changed
 anything for the global address list. GAL is not available in my setup.

Good. Thank you for the confirmation.

 I traced it down, like you suggested, not using SSL could be the
 problem. I tried to setup Outlook 2013 with plain http and get an error
 while account configuration dialog. I captured the traffic with
 wireshark. Outlook 2013 only tries to connect to port 443 in my case
 even if I supply the server address including port. That seems to be the
 problem. Try to enable SSL.
 
 Surprisingly using Windows Mail (shipped with Windows 10) and ActiveSync
 works with plain http.

Interesting. With this I can say that I see some light at the end of the
tunnel :-) I also appreciate that you've taken the time to make a
Wireshark capture. It was something that today crossed my mind (I was
running out my choices).

I'll do a test configuring the access to SOGo with https and I'll let
you know the results. Have you had any problems in Outlook using
self-signed certificates?


Thank you very much for your time.


Best regards,
Daniel




signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and Outlook 2013

2015-08-05 Thread Daniel Bareiro
Hi again.

On 05/08/15 08:24, Daniel Bareiro wrote:

 What strikes me is that I don't see on /var/log/apache2/access.log any
 access to /Microsoft-Server-ActiveSync from the virtual machine where
 I'm doing tests with Windows. Do you see any entry in your Apache from
 the Outlook IP to access /Microsoft-Server-ActiveSync?
 
 I also see that the documentation says on page 50: Outlook 2013 does
 not search the GAL. One possible alternative solution is to configure
 Outlook to use LDAP server (over SSL) with authentication.
 
 Are you using Outlook with LDAP? Currently I'm using a MySQL database
 for authenticating the users of SOGo, not LDAP. Nor am I using Apache
 SSL connections. Could this affect the connection issue? Anyway, I guess
 I would have to see at least some entry on the Apache log.

During the day I tested with ActiveSync on Android. For this I used the
same username and password of login on the web interface of SOGo, the
server (sogo.domain.com --- without /SOGo), and indicating port 80 and
unsecured connection.

In this way Android is connected successfully and seamlessly synchronize
the address book and calendar. All these operations are recorded in the
Apache log with /Microsoft-Server-ActiveSync entries.

But Outlook does not register anything in Apache. Ie that it does not
even reach Apache. I wonder if this is a problem on Outlook side (eg it
expected accessed using another port) or it use some other mechanism.

Any clues?

Thanks in advance.


Best regards,
Daniel




signature.asc
Description: OpenPGP digital signature


Re: [SOGo] error with recipient user@domain / error 503

2015-08-04 Thread Daniel Bareiro
Hi, Christian. Thanks for your reply.

On 04/08/15 07:03, Christian Mack wrote:

 Seems you didn't activate authentication for SMTP at all.
 The local domain would be the one of your SMTP server (==
 s18491687.onlinehome-server.com), not the From one.
 
 Just try:
 SOGoSMTPAuthenticationType = PLAIN;

I tried your suggestion. In fact I had tried it before sending this mail
using PLAIN and plain (I read that it had to be lowercase), but has
not worked. After this attempt I get the following message in the web
interface:

cannot send message: (smtp) authentication failure


The SOGo log in debug mode is similar to the one showed in the initial
message, with AUTH=LOGIN.


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and Outlook 2013

2015-08-04 Thread Daniel Bareiro
On 04/08/15 17:34, Andreas Hainke wrote:

 Hi Daniel

Hi, Andreas. Thank you very much for replying my mail.

 I tested today with Outlook 2013 and SOGo on Debian 8.1 with nightly
 builds. Currently installed: sogo - 2.3.1.20150730-1 and sogo-activesync
 - 2.3.1.20150730-1 (test system with a couple of test users).
 
 Outlook is configured using compatible with Outlook.com or Exchange
 ActiveSync  (https and self signed certificate) and it works pretty
 good. I only tested basic functionality like sending/receiving mails,
 creating/deleting appointments, tasks and contacts.
 
 I also created a short video which shows the use of Outlook with SOGo
 (https://www.foteviken.de/?p=2784).

How interesting. Thank you for sharing your case. I see we have a very
similar environment. Here I am using Ubuntu 14.04 for SOGo server and
the packages are from:

deb http://inverse.ca/ubuntu trusty trusty

I did not know had to be installed the sogo-activesync package (thanks
for the tip!). Just in case, after that I restarted SOGo and now in the
log I see something like:

Aug 04 14:15:19 sogod [22571]: version 2.3.1 (build @shiva.inverse
201507231602) -- starting
Aug 04 14:15:19 sogod [22571]: vmem size check enabled: shutting down
app when vmem  384 MB
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f7e9748[SOGoProductLoader] SOGo
products loaded from '/usr/lib/GNUstep/SOGo':
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f7e9748[SOGoProductLoader]
SchedulerUI.SOGo, ActiveSync.SOGo, MailPartViewers.SOGo, MailerUI.SOGo,
PreferencesUI.SOGo, Appointments.SOGo, Mailer.SOGo,
AdministrationUI.SOGo, ContactsUI.SOGo, CommonUI.SOGo, MainUI.SOGo,
Contacts.SOGo
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f9859c8[WOWatchDog] listening on
127.0.0.1:2
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f9859c8[WOWatchDog] watchdog
process pid: 22571
Aug 04 14:15:19 sogod [22571]: 0x0x7f441c6746c0[WOWatchDogChild]
watchdog request timeout set to 10 minutes
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f9859c8[WOWatchDog] preparing 3
children
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f9859c8[WOWatchDog] child
spawned with pid 22572
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f9859c8[WOWatchDog] child
spawned with pid 22573
Aug 04 14:15:19 sogod [22571]: 0x0x7f441f9859c8[WOWatchDog] child
spawned with pid 22574


That is, before I didn't see the ActiveSync.SOGo module. That is a step
forward :-)

Aug 04 05:08:58 sogod [15919]: 0x0x7fa39c1cc988[SOGoProductLoader]
SchedulerUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo,
PreferencesUI.SOGo, Appointments.SOGo, Mailer.SOGo,
AdministrationUI.SOGo, ContactsUI.SOGo, CommonUI.SOGo, MainUI.SOGo,
Contacts.SOGo

But still I keep getting a message that Outlook can not find the server.
Must I restart another service (memcached?) or doing any special
configuration on SOGo or Apache for Outlook (or another client) can
synchronize through ActiveSync?

Thank you very much again for your time.


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo and Outlook 2013

2015-08-04 Thread Daniel Bareiro
On 04/08/15 18:49, Daniel Bareiro wrote:

 But still I keep getting a message that Outlook can not find the server.
 Must I restart another service (memcached?) or doing any special
 configuration on SOGo or Apache for Outlook (or another client) can
 synchronize through ActiveSync?

To add some more information about it, I just uncomment these lines I
found in the Apache configuration:

ProxyPass /Microsoft-Server-ActiveSync \
http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync \
retry=60 connectiontimeout=5 timeout=360


But after restarting Apache I see the following warnings (I thing):

root@s18513723:/etc/apache2/conf-enabled# /etc/init.d/apache2 restart
 * Restarting web server apache2
[Tue Aug 04 17:22:18.590401 2015] [proxy:warn] [pid 24150:tid
140070112782208] AH01146: Ignoring parameter 'retry=60' for worker
'http://127.0.0.1:2/SOGo' because of worker sharing
[Tue Aug 04 17:22:18.590462 2015] [proxy:warn] [pid 24150:tid
140070112782208] AH01146: Ignoring parameter 'connectiontimeout=5' for
worker 'http://127.0.0.1:2/SOGo' because of worker sharing
[Tue Aug 04 17:22:18.590467 2015] [proxy:warn] [pid 24150:tid
140070112782208] AH01146: Ignoring parameter 'timeout=360' for worker
'http://127.0.0.1:2/SOGo' because of worker sharing
   ...done.

Still the service is restarted. But Outlook still is unable to access
the server.


Best regards,
Daniel




signature.asc
Description: OpenPGP digital signature


[SOGo] SOGo and Outlook 2013

2015-08-04 Thread Daniel Bareiro
Hi all.

Is SOGo 2.3.1-1 compatible with Outlook 2013? I tried to add an account
type compatible with Outlook.com or Exchange ActiveSync to synchronize
address book and calendar. But Outlook try to find the server
indefinitely without achieving any response.

On information of the server I'm using sogo.domain.com and on
information of session I'm using the user and password for login on the
SOGo web interface.


Thanks in advance!

Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


[SOGo] error with recipient user@domain / error 503

2015-08-03 Thread Daniel Bareiro
Hi all!

I'm trying to send emails from the web interface of SOGo. With other
mail clients like Thunderbird I had no problems with SMTP sending but
with SOGo I get an error like this:

Jul 30 11:58:02 sogod [13783]: 0x0x7f390adab858[SOGoMailer] error with
recipient 'u...@otherdomain.com'


When increase the debug level on SOGo log I see the following:

C: connect to 0x0x7f5a7656a688[NGInternetSocketAddress]
host=mail.everywattmatters.com not-filled
S: SMTP-Reply: code=220 line='s18491687.onlinehome-server.com ESMTP
MailEnable Service, Version: 8.50-- ready at 08/02/15 08:49:22'
C: EHLO s18513723.onlinehome-server.com
S: SMTP-Reply: code=250 line='AUTH=LOGIN'
S: size extension supported.
S: help extension supported.
C: MAIL FROM:dbare...@domain.com
C: RCPT TO:u...@otherdomain.com
Aug 02 08:49:22 sogod [24840]: 0x0x7f5a76433f58[SOGoMailer] error with
recipient 'u...@otherdomain.com'
C: QUIT
S: SMTP-Reply: code=221 line='Service closing transmission channel'
Aug 02 08:49:22 sogod [24840]: 10.1.0.40, 186.57.195.120 POST
/SOGo/so/dbareiro/Mail/0/folderDrafts/newDraft1438530515-1/send
HTTP/1.1 200 84/248 1.208 - - -8K


Here we can see that the method used is AUTH=LOGIN. From what I read,
SOGo currently only supports PLAIN method, but I would like to confirm
if the error may be due to this.

From the side of the mail server (Windows / MailEnable), I see something
like the following:

RCPT TO:u...@otherdomain.com
503 This mail server requires authentication when attemption to send to
a non-local e-mail address.
Please check your mail client settings or contact your administrator to
verify that the domain or address is defined for this server.


Note: I'm also getting this message when trying to make a delivery to
users with the same domain of the sender.

Is there any way to accomplish authentication when send email from SOGo?

Perhaps an alternative is to do local delivery from SOGo to a Postfix
for it doing relay with an authenticated user, but if there is another
alternative, I would listen.

Thanks in advance!


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature


[SOGo] parseTimeZone: cannot parse time notation 'GMT'

2015-07-31 Thread Daniel Bareiro
Hi all!

I recently have installed SOGo 2.3.1-1 on Ubuntu 14.04 and I found the
following errors in the log when access to the mails:

Jul 31 08:18:31 sogod [13785]: 186.57.195.120 GET
/SOGo/so/dbareiro/Mail HTTP/1.1 302 0/0 0.003 - - 0
2015-07-31 08:18:33.617 sogod[13785] parseTimeZone: cannot parse time
notation 'GMT'
2015-07-31 08:18:33.622 sogod[13785] parseTimeZone: cannot parse time
notation 'GMT'
2015-07-31 08:18:33.625 sogod[13785] parseTimeZone: cannot parse time
notation 'GMT'
2015-07-31 08:18:33.629 sogod[13785] parseTimeZone: cannot parse time
notation 'GMT'
2015-07-31 08:18:33.634 sogod[13785] parseTimeZone: cannot parse time
notation 'GMT'


I read [1] that in previous versions of SOGo this same error could be
caused by having outdated data base, but I think this is not the case
because it was a clean install.

I would appreciate if anyone experienced this with the latest version of
SOGo and can share a way to fix it.


Thanks in advance.

Best regards,
Daniel

[1] https://lists.inverse.ca/sogo/arc/users/2012-02/msg00530.html



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOGo shows empty folders

2015-07-28 Thread Daniel Bareiro
Hi, Christian.

On 28/07/15 12:40, Christian Mack wrote:

 Do you have a '\' character in your password?
 Then you are experiencing a bug, which is fixed in SOGo 2.3.1 ;-)

Thanks for your reply.

Unfortunately, this is not the case :-(


Best regards,
Daniel



signature.asc
Description: OpenPGP digital signature