Re: [SOGo] webmail login attacks - captcha?

2018-04-28 Thread xbgmsharp
You can use fail2ban to parse your web server log. If 3 fails from the 
same IP, then ban for x hours.


Filter on POST method and 403 status code and connect uri
 - - [] "POST /SOGo/connect HTTP/1.1" 403 354


On 2018-04-27 22:17, Chris wrote:

On Fri, 27 Apr 2018 09:41:05 +0200
Christian Mack wrote:


The other possibility would be to use one of CAS or SAML2
authentication. Those two generate a session ticket, which is passed
to SOGo for authentication.
SOGo then accesses IMAP- and SIEVE-servers with that ticket.
Because of that your IMAP-, SIEVE- and SMTP-servers have to be enabled
to use those tickets first.


Thank you for your detailed reply. I didn't know that it's possible to
use tickets. Maybe I'll test this when there's a bit more time...


--
Papst Franziskus ruft zum Kampf gegen Fake News auf. Wir finden, der
Mann, der sich als Stellvertreter Christi ausgibt, von dem er
behauptet, dessen Mutter sei zeitlebens Jungfrau gewesen, er hätte über
Wasser gehen und selbiges in Wein verwandeln können, hat vollkommen
recht.

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


Re: [SOGo] php-push-2 needs help

2013-03-27 Thread xbgmsharp

Hi,

Oups, the READONLY feature has been drop.
Therefore the option is not valid anymore.
I will remove it from the configuration template (config.inc.php)
I will merge the configuration file.

For the SamsungS3 die, please create a issue on Github page with the 
debug log output.

https://github.com/dupondje/PHP-Push-2/issues

Regards
Francois

On 2013-03-27 18:31, mayak-cq wrote:

hi all,

 i'm posting here as some the developers of php-push-2 are actively
involved with sogo ...

 i've tried to the switch from sogosync to php-push-2 as the latter
seems to garnering more support activity. sadly, php-push-2 does not
appear to work

 after doing a git and grabbing the source:

 [1] there are two files in the source root directory -- config.php
and config.inc.php
 the documentation suggests that config.inc.php is the starting point
to make changes, but this is not the case.
 config.php has variables defined that are used in the backend, but
missing in config.inc.php

 CALDAV_PORT and CALDAV_PATH are found in config.php but not
conf.inc.php -- they are required to make it work

 [2] the config.php is missing search paths found in config.inc.php

 ini_set('include_path',
 BASE_PATH. include/ . PATH_SEPARATOR .
 BASE_PATH. PATH_SEPARATOR .
 ini_get('include_path') . PATH_SEPARATOR .
 /usr/share/php/ . PATH_SEPARATOR .
 /usr/share/php5/ . PATH_SEPARATOR .
 /usr/share/pear/ . PATH_SEPARATOR .
 /usr/share/awl/inc);

 this block is required to make php-push-2 work, but it is missing
from config.inc but is found in config.inc.php

 [3] when all installed and configs correctly merged, activating
calendar on a Samsung S3 causes exchange client to die; calendars do
not make exchange die, but do not work at all.

 [5] imap/mail does work.

 [6] logs complain about missing variables
 CARDDAV_READONLY and CALDAV_READONLY are missing.

 cheers

 m

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


[SOGo] ANN: sogosync - Open Source ActiveSync with caldav and cardav backend

2012-06-23 Thread xbgmsharp

SOGo Users,

Following z-push release, this is the forth beta release (0.4.0) base on 
Z-Push 2.0 final.

sogosync support read/write carddav and caldav.

It has been tested on iOS 5.1.1 and on Android 2.3/4.0 emulator.

It is an Open Source software release under AGPLv3 and host on Github.com.
Please feel free to test, feedback, contribute to the code, sponsor or 
donate.


https://github.com/xbgmsharp/sogosync/tags

Thanks to all you, who help sogosync getting better.

Changes from v0.3.0 to v0.4.0
- Z-Push 2.0
- Updated: documentation
- Added: wiki
- Changed: Improved carddav speed on big (+400) addressbook
- Fixed: CalDAV event reminder (issue #7)
- Fixed: Unknown WebClient warning in SOGo
- Fixed: MimeType 'text/*' warning in SOGo
- Fixed: CalDAV 2 way sync (issue #30)
- Fixed: alldayevent start  endtime (issue #36)

Kind regards,
Francois
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGosync questions

2012-06-16 Thread xbgmsharp

Hi,

Le 13/06/2012 13:19, Hans de Groot a écrit :

HI list,

I am trying out sogosync and am surprised I actually saw email comming 
in. I thought email was not supported?


It does support IMAP but it is not part of sogosync, it is by default in 
z-push.


It's not very stable though since the mail also disappears again and 
reapeared again later. Same with my test contact I made in sogo. It 
apeared on my (android)  phone and than I had the same contact 3 times 
and later it went back to one contact. Also sogod is suddenly using 
lots of cpu and the z-push log is contantly logging stuff, errors, 
warnings and info.


Depending on the number of events and contacts it might take time for 
the first sync.

Activesync can only sync 25 elements at a time.
Mail and calendar are filter by time range, however there is not such 
feature for contact in carddav server.
If you have any error in z-push-error.log please send them, because you 
should not.




I in stalled the sogosync from git hub (todays version).

I tried adding an exchange account but I did not have succes there. 
Does anyone know if this is possible?


What do you mean by exchange account?
Because it the way you need to setup for ios and Android at least. and 
it does work.


I did configure the proxy to use ssl but I only specified a domain 
name. not any path. ie: sogo.dandy.nl and not 
sogo.dandy.nl/Microsoft-Server-ActiveSync


But I got these lines in my apache log:
RPC_IN_DATA /rpc/rpcproxy.dll?sogo.dandy.nl:6004 HTTP/1.1 400 312
Ofcourse I do not have any ddl on my apache server. Should I configure 
outlook (2010) differently?


Where outlook is coming from?
Activesync is a 2 way sync for mobile device not to Outlook.
As it is pure HTTP you can surely configure a proxy in the middle.
RPC is not poart of ActiveSync protocol.



Is it possible to configure outlook (2010) so it only syncs contacts 
and calendars with SOGo 1.3.*? and use imap for mail?


No it is not the purpose of ActiveSync.
To do so you SOGo2 which implement the communiction protocol for Outlook.

The error you show below are due to a wrong URL, therefor it can not 
create the correct XMl element.


include/carddav.php:412 SimpleXMLElement::__construct(): Entity: line 2: 
parser warning : xmlns:D: 'DAV:' is not a valid URI (2)


Regards



Here are some of the errors I get in the z-push logs:


13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): Entity: line 2: parser warning : 
xmlns:D: 'DAV:' is not a valid URI (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): multistatus 
xmlns:ap=http://apache.org/dav/props/; xmlns:D=DAV:responseh (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct():
^ (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): Entity: line 2: parser warning : 
xmlns:D: 'DAV:' is not a valid URI (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): multistatus 
xmlns:ap=http://apache.org/dav/props/; xmlns:D=DAV:responseh (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct():
^ (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): Entity: line 2: parser warning : 
xmlns:D: 'DAV:' is not a valid URI (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): multistatus 
xmlns:ap=http://apache.org/dav/props/; xmlns:D=DAV:responseh (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct():
^ (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): Entity: line 2: parser warning : 
xmlns:D: 'DAV:' is not a valid URI (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct(): multistatus 
xmlns:ap=http://apache.org/dav/props/; xmlns:D=DAV:responseh (2)
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [WARN] 
/var/www/html/sogosync/include/carddav.php:412 
SimpleXMLElement::__construct():
13/06/2012 13:14:07 [ 7034] [on...@dandy.nl] [INFO] 
ExportChangesDiff-InitializeExporter(): Found '0' changes


And

13/06/2012 12:52:00 [ 6805] [on...@dandy.nl] [ERROR] trace: 

Re: [SOGo] ANN: sogosync - Open Source ActiveSync with caldav and cardav backend

2012-05-31 Thread xbgmsharp

Hi,

Thanks for reporting.
You might want to check this some see to have the same problem.
https://github.com/xbgmsharp/sogosync/issues/20

Regards

Le 30/05/2012 22:32, Jeff Folk a écrit :

On May 30, 2012, at 3:24 PM, Martin Rabl wrote:

Am 30.05.12 21:18, schrieb Jeff Folk:

On May 30, 2012, at 1:58 PM, Jeff Folk wrote:
May 30 14:04:56 sme httpd: PHP Fatal error:  require_once()
[a href='function.require'function.require/a]:
Failed opening required 'XMLDocument.php'

but the doc exists...

check the filesystem rights.

[root@sme share]# ls -la /usr/share/awl/inc
total 472
drwxr-xr-x 2 root root  4096 May 30 10:08 .
drwxr-xr-x 4 root root  4096 May 30 10:08 ..
-rw-r--r-- 1 root root  1918 Dec 21  2009 AuthPlugin.php
-rw-r--r-- 1 root root  3240 Oct 24  2011 AuthPlugins.php
-rw-r--r-- 1 root root  4973 Sep 10  2011 AwlCache.php
-rw-r--r-- 1 root root  5183 Oct 24  2011 AwlDatabase.php
-rw-r--r-- 1 root root 12513 Jan 12 16:30 AwlDBDialect.php
-rw-r--r-- 1 root root 19383 Sep 10  2011 AwlQuery.php
-rw-r--r-- 1 root root   713 Apr 16  2010 AwlUpgrader.php
-rw-r--r-- 1 root root 24410 Jan 13 04:40 AWLUtilities.php
-rw-r--r-- 1 root root 24410 Oct 24  2011 AWLUtilities.php.in
-rw-r--r-- 1 root root 28786 Sep 10  2011 classBrowser.php
-rw-r--r-- 1 root root 17238 Sep 10  2011 classEditor.php
-rw-r--r-- 1 root root 24907 Sep 10  2011 DataEntry.php
-rw-r--r-- 1 root root 12642 Sep 10  2011 DataUpdate.php
-rw-r--r-- 1 root root  5312 Dec 21  2009 EMail.php
-rw-r--r-- 1 root root 59342 Sep 10  2011 iCalendar.php
-rw-r--r-- 1 root root 15808 Feb  5  2010 MenuSet.php
-rw-r--r-- 1 root root 20946 Apr 16  2010 PgQuery.php
-rw-r--r-- 1 root root 34697 Oct 24  2011 Session.php
-rw-r--r-- 1 root root  4202 Jan  6  2011 Translation.php
-rw-r--r-- 1 root root 14004 Sep 10  2011 User.php
-rw-r--r-- 1 root root  6198 Sep 10  2011 Validation.php
-rw-r--r-- 1 root root 13529 Nov  1  2011 vCalendar.php
-rw-r--r-- 1 root root 35744 Jan 12 22:26 vComponent.php
-rw-r--r-- 1 root root 10189 Sep 10  2011 XMLDocument.php
-rw-r--r-- 1 root root 10009 Oct 24  2011 XMLElement.php

I did notice there is a problem running your suggested install php5 line for 
me... Specifically with php-curl:

[root@sme share]# yum install php-curl
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
  * base: mirror.team-cymru.org
  * smeaddons: distro.ibiblio.org
  * smeextras: distro.ibiblio.org
  * smeos: distro.ibiblio.org
  * smeupdates: distro.ibiblio.org
  * updates: mirror.hmc.edu
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Resolving Dependencies
--  Running transaction check
---  Package php53-common.i386 0:5.3.3-7.el5_8 set to be updated
--  Processing Conflict: php53-common conflicts php-common
--  Finished Dependency Resolution
php53-common-5.3.3-7.el5_8.i386 from updates has depsolving problems
   --  php53-common conflicts with php-common
Error: php53-common conflicts with php-common
  You could try using --skip-broken to work around the problem
  You could try running: package-cleanup --problems
 package-cleanup --dupes
 rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

I already am running php 5.3.3-1:

[root@sme share]# yum list php
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
  * base: holmes.umflint.edu
  * smeaddons: distro.ibiblio.org
  * smeextras: distro.ibiblio.org
  * smeos: distro.ibiblio.org
  * smeupdates: distro.ibiblio.org
  * updates: centos.mirrorcatalogs.com
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Installed Packages
php.i386   5.3.3-1.el5.sme.6   installed



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


Re: [SOGo] ANN: sogosync - Open Source ActiveSync with caldav and cardav backend

2012-05-30 Thread xbgmsharp

On 2012-05-30 16:46, Jeff Folk wrote:

On May 29, 2012, at 10:11 AM, xbgmsharp wrote:


SOGo Users,

Following z-push release, this is the third beta release (0.3.0) 
base Z-Push 1.5.10 final version.
sogosync now support read/write carddav and caldav and support 
multiple addressbook and calendar.


It has been tested on iOS 5.1.1 and on Android 2.3/4.0 emulator.

It is an Open Source software released under AGPLv3 and host on 
Github.com.
Please feel free to feedback, contribute to the code, sponsor or 
donate.


More on https://github.com/xbgmsharp/sogosync

Kind regards,
Francois



I notice that this requires libawl-php, which is unavailable in any
of the repositories installed in my system (SME Server 8.0beta7). Is
there a particular version I should be searching for to install? I
would be looking for a CentOS 5.x EL5 version if there is one.

Jeff--


libawl-php is part of Redhat and Debian, so it should be part of 
CentOS.

You can find one here, http://debian.mcmillan.net.nz/packages/awl/
However i don't know about SME but it should wor because SME Server is 
built on CentOS.



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


[SOGo] ANN: sogosync - Open Source ActiveSync with caldav and cardav backend

2012-05-29 Thread xbgmsharp

SOGo Users,

Following z-push release, this is the third beta release (0.3.0) base 
Z-Push 1.5.10 final version.
sogosync now support read/write carddav and caldav and support multiple 
addressbook and calendar.


It has been tested on iOS 5.1.1 and on Android 2.3/4.0 emulator.

It is an Open Source software released under AGPLv3 and host on 
Github.com.
Please feel free to feedback, contribute to the code, sponsor or 
donate.


More on https://github.com/xbgmsharp/sogosync

Kind regards,
Francois

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


[SOGo] ANN: sogosync - Open Source ActiveSync with caldav and cardav backend

2012-05-07 Thread xbgmsharp

SOGo Users,

sogosync now support read/write carddav and caldav and support multiple 
addressbook and calendar.
This is a beta release (0.0.2). A lot of testing is need to avoid any 
bugs.

Thanks to all of you who all ready did.
I will take a look at all of them next week, as i will have more time.

Please feel free to test and report any issue or feature request.

It has been tested on iOS 5.0.1 and on Android 2.3/4.0 emulator.

It is an Open Source software released under AGPLv3 and host on 
Github.com.


Please feel free to feedback, contribute to the code, sponsor or 
donate.


More on https://github.com/xbgmsharp/sogosync

Kind regards,
Francois

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


Re: [SOGo] ANN: sogosync - Open Source ActiveSync with caldav and cardav backend

2012-03-28 Thread xbgmsharp

Hello,

On iPhone there is a good native support for cardav/caldav and IMAP.
On Android there is good support with additional application.
However it is not the case of all phone especially the windows phone or 
blackberry.


ActiveSync is just easier to setup and to provision for enterprise.
It also offer interesting feature for organization.
This is a good overview:
http://en.wikipedia.org/wiki/Comparison_of_Exchange_ActiveSync_clients

So to reply to our question, if you don't need anything ActiveSync 
specific there is no need for you to use it.


Francois

On 2012-03-28 10:22, Alessio Fattorini wrote:

Il 27/03/2012 18:16, Stephan Heck ha scritto:

On 27.03.2012 11:01, xbgmsharp wrote:

SOGo Users,

This is a follow up on from this thread.
'[SOGo] Why not move from Funambol to Z-Push? Many features will be
obtained.', http://www.mail-archive.com/users@sogo.nu/msg08451.html


Sorry, but i not understand :-)
Can you explain me why should i use active-sync in place of native
caldav/cardav iphone support?
Should i use active-sync only for push e-mail?

--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it


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


[SOGo] ANN: sogosync - Open Source ActiveSync with caldav and cardav backend

2012-03-27 Thread xbgmsharp

SOGo Users,

This is a follow up on from this thread.
'[SOGo] Why not move from Funambol to Z-Push? Many features will be 
obtained.', http://www.mail-archive.com/users@sogo.nu/msg08451.html
even farther from this reply, 
http://www.mail-archive.com/users@sogo.nu/msg08828.html, on the same 
suject.


I am pleased to announce sogosync, It is an unmodified Z-Push from svn 
upstream (1.5.x branch) with caldav and cardav backend.


So far it is a read-only carddav and caldav and support multiple 
addressbook and calendar.
I have also made the configuration easier with preconfigure file 
working against http://sogo-demo.inverse.ca.
'public' addressbook are skip as they are provide by LDAP Z-push 
backend.
Email (IMAP) and GAL (Global Address List) support are provide by 
standard Z-push backend.


It has been tested on iOS 5.0.1.

It is Open Source software released under AGPLv3 and host on 
Github.com.


Please feel free to feedback, contribute to the code, sponsor or 
donate.


More on https://github.com/xbgmsharp/sogosync

Kind regards,
Francois

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


Re: [SOGo] Why not move from Funambol to Z-Push? Many features will be obtained.

2012-03-27 Thread xbgmsharp

On 2012-03-20 23:09, mayak-cq wrote:

snip



well -- secret be told -- it is being worked on and i am partially
funding the development

i'll let francois give the details.

 snip


this is really great news! Thanks a lot for supporting this
development!
Is synchronization of multiple address books going to be possible
via z-push?

 snip

 hi heiner,

 i may be mistaken, but i don't think so. activesync doesn't support
it.

 perhaps someone else can confirm. idea is currently to develop a
carddav/caldav backend for z-push with ldap auth -- *perhaps*
something could be done on the caldav server side to combine books.

 thanks

 m


Activesync does support multiple addressbook as well as calendar.
However the client might not support it.
On iOS it is working fine.

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


Re: [SOGo] Why not move from Funambol to Z-Push? Many features will be obtained.

2012-03-27 Thread xbgmsharp

On 2012-03-20 23:40, Donny Brooks wrote:

On Tuesday, March 20, 2012 04:09 PM CDT, mayak-cq
ma...@australsat.com wrote:




  well -- secret be told -- it is being worked on and i am
partially
  funding the development
 
  i'll let francois give the details.

 this is really great news! Thanks a lot for supporting this
development!
 Is synchronization of multiple address books going to be possible
via z-push?

hi heiner,

i may be mistaken, but i don't think so. activesync doesn't support
it.

perhaps someone else can confirm. idea is currently to develop a
carddav/caldav backend for z-push with ldap auth -- *perhaps*
something
could be done on the caldav server side to combine books.

thanks

m

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

 We use the current z-push for our iDevices and androids for email
(but not calendar since the CalDAVSync-Beta program on android and
native iOS caldav both work beautifully). I am just looking for a
working ActiveSync frontend that will work with our iOS 5.XX users to
get their email. Should the implementation of z-push for SOGo work
with this or are you just trying to get an activesync compatible
caldav/carddav sync?

 --
 Donny B.


You can use z-push to only support EMAIL. it is just a matter of 
configuration (ie: not using combined backend) additional backend are 
not mandatory.





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


Re: [SOGo] Migrationpath 3.x - 10.x ?

2012-03-07 Thread xbgmsharp

You have 2 options.
By an SSL cert or use http://www.softlights.net/projects/mxtools/

Le 2012-03-07 16:39, Alessio Fattorini a écrit :

I have made a lot of tests on this.
http://wiki.sogo.nu/TB-upgrade-3-to-10

Migration works, but only in two cases:
- with and update URL as https://
but TB should have https cert installed (exception isn't enough) and
i can do it only manually (bye bye automatic process!)

- with and update URL on http://
but i should sign sogo-integrator addon with maccoy tool. This tool
is only visual, no command line :-(, then i can't put it into an rpm.
I need to automate everything.

I test possibility to disable and re-enable secure check by
Thunderbird, but it's impossible to make it automatically :-(

Any ideas? Otherwise i must abandon this way :-|

--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it


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


Re: [SOGo] Migrationpath 3.x - 10.x ?

2012-02-11 Thread xbgmsharp

Stéphane GAUDICHE stephane.gaudi...@esc-rennes.fr a écrit :


Le 10/02/2012 15:10, Alessio Fattorini a écrit :
Hi Alessio,

Good question, i think that the only way is
* update thunderbird

how do you push Tb10ESR? Manually?


// Configure Thunderbird update
// https://wiki.mozilla.org/Software_Update
force_bool_pref(app.update.silent, true);
force_bool_pref(app.update.enabled, true);
force_bool_pref(app.update.auto, true);
force_int_pref(app.update.mode, 1);
force_char_pref(app.update.url.override,http://sogo.${domain}/thunderbird/updates.php?version=%VERSION%target=%BUILD_TARGET%lang=%LOCALE%;);
force_bool_pref(app.update.cert.requireBuiltIn, false);


* disable old inverse addons

It's done automatically as far I've already seen it.


// https://developer.mozilla.org/en/Installing_extensions
force_int_pref(extensions.autoDisableScopes, 0);
force_bool_pref(app.update.silent, false);
force_bool_pref(extensions.shownSelectionUI, true);


* lightning should update itself automatically

and the best for the end:


Same as above


* install manually new sogo-integrator (required i think)
* auto-install integrator.

Howto get that, smoothly!


Same as above



The users who updated(derived) from Tb3.1 to ... Tb10 are safe but
it's wired and unstable
cause it's works but with restriction [Calendar ok, mainly use, but no
button].
I was thinking for my Tb3.1+light+integrator migration's user that we
had to find a way
to provide a connector version fully compatible with Tb3.1 and Tb10esr.
This holy connector should able to push the information to Tb3.1 client
to get the right update of Tb10 (THE esr one!)
Maybe located on the sogo server, same place as the plugins folder?
i.e: https:webmail.mydomain.com/*plugins/* or  ../*Tb10esr/* (just to
allowed migration phase)

My others users  (new users in TB10ESR) are, just, waiting for the moment!

Other question: is it possible to ask to the integrator or connector to
make Tb switch to Tb10 to Tb10ESR?


You need to set this 'app.update.url.override' however the sogo  
extension can override any settings via 'defaults/preferences/site.js'
You can push any other extension via 'chrome/content/extensions.rdf'  
both from the sogo-integrator extension.



I search on canal keyword but Google doesn't help me (2010 posts or blogs)
--
Stéphane
--
users@sogo.nu
https://inverse.ca/sogo/lists


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

Re: [SOGo] SOGo extensions for Thunderbird 10!

2012-02-08 Thread xbgmsharp

Hello,

Thanks for this great news.

The main page for the ESR version and download link at the bottom.
http://www.mozilla.org/thunderbird/organizations/index.html

A few questions:
 - why there is still a lightning-1.0b2.108i* extension in the  
repository if we are suppose to use the official Lightning, or is it a  
left over?

 - weren't sogo-connector and sogo-integrator suppose to merge at some point?
 - would the extension support an upgrade from 3.1.18 to 10.0esr?

Thanks
Francois


Hello everybody,

We've just completed porting SOGo Connector and Integrator to
Thunderbird 10 ESR.

You can get the first pre-release of the extensions from
http://inverse.ca/downloads/extensions/nightly/

Note that you need to use Thunderbird 10 ESR. You also need to install
Lightning v1.2.1 from the official channels.

Please report any issues you have.

Thanks!

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)

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


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

Re: [SOGo] SOGo Outlook connector

2012-01-19 Thread xbgmsharp

Hello,

Maybe i am wrong here or out of scope, but MAPI is deprecaded starting  
Exchange 2007 and MS offer a new API call EWS.

There is allready some project using to integrate with Exchange 2007 and 2010:

http://blogs.msdn.com/b/exchangefaqs/archive/2008/01/23/exchange-web-service-ews.aspx

http://live.gnome.org/Evolution/EWS

http://git.gnome.org/browse/evolution-ews/tree/README

Regards,
Francois

Ludovic Marcotte lmarco...@inverse.ca a écrit :


On 18/01/12 12:49, André Schild wrote:
- If you wish to host your sogo server on a public server, then   
your only hope for safety is to use a tunnel/vpn until   
rpc-over-https is implemented in samba4 and sogo (Personally I fear  
 it will not be available this year)

I'm a bit more optimistic ;-)

The effort was evaluated to 3-6 weeks.

Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)

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


--
Thanks for using xbgm# / Devmon / BBwin.
http://xbgm.sourceforge.net/
http://devmon.sourceforge.net/
http://bbwin.sourceforge.net/
Please feedback.
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] script dav

2011-08-05 Thread xbgmsharp

Hello,

I am trying to add/update events and contacts using dav.
I am unable to make it work. I always get ' 401 Unauthorized' reply.
I try with a perl module (HTTP::DAV) and a python lib (davlib).
When i use FF to to same URL i got the user/pass request and it works  
fine, got a blank page after.


I found a script post on the list but i still get the same error.
http://comments.gmane.org/gmane.comp.groupware.sogo.user/5720
But still get ' 401 Unauthorized' reply.

So my question is it possible to access calendar and contacts using  
dav via scripts?

If yes what should be the URL?
I do use https://domain.tld/SOGo/dav/ or https://domain.tld/SOGo/dav/username/
to authenticate but for both 401 reply.

SOGo reply
'''
PROPFIND /SOGo/dav/ HTTP/1.1 401 0/90 0.001 - - 0
'''

Does anybody use some script to automate task on SOGo?
I know there is a python extensions but it is only on SOGo action.
I will use it when a contacts or events has been update but I first  
need to be able to push data into it.


In the mean time I did a script using the SOGo DB but i think it will  
be better if i can directly use the dav functionality.


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

[SOGo] Add a contact via script

2011-07-26 Thread xbgmsharp

Hello

I would like to be able add/update contacts (carddav) using script.
I don't mind coding it, but i am missing some information by looking  
at the log file.


SOgo automatically add repetitive email an contact.
How ever i use a tools for appointment and i would like to have all my  
customer in a dedicated addressbook so i can easily access the contact  
the from iPhone/iPad/webmail.


As of now, i have to add them manually and i do have like 600 contacts  
and around 20 contacts every week where maybe a third is new.


I could use an LDAP to add all client but it will be read only and  
will be painfull to edit LDAP entry in case of a missing field or  
spell error insert by the customer.


One way would be to script the web interface using wget/curl, the  
other way  and probably easier way, would be modify/update directly  
the DB.


Apache Log
GET /SOGo/so/username/Contacts/personal/newcontact HTTP/1.1 302 20
GET  
/SOGo/so/username/Contacts/personal//4743-4E2E7480-1-32B70580.vcf/editAsContact HTTP/1.1 200  
5403
POST  
/SOGo/so/username/Contacts/personal/4743-4E2E7480-1-32B70580.vcf/saveAsContact  
HTTP/1.1 200 321
POST  
/SOGo/so/username/Contacts/personal/4743-4E2E7480-1-32B70580.vcf/delete  
HTTP/1.1 204 -


Sogo Log
GET /SOGo/so/username/Contacts/personal/newcontact HTTP/1.1 302 0/0  
0.029 - - 24K
GET  
/SOGo/so/username/Contacts/personal//4743-4E2E7480-1-32B70580.vcf/editAsContact HTTP/1.1 200 5403/0 0.022 21674 75%  
120K
POST  
/SOGo/so/username/Contacts/personal/4743-4E2E7480-1-32B70580.vcf/saveAsContact  
HTTP/1.1 200 439/735 0.015 - - 32K


How is this ID 4743-4E2E7480-1-32B70580 generated?
Because i do have existing contact and the format is  
C488F672-CA60-0001-1561-E6B019C010B1


Thanks


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

Re: [SOGo] sogo-tool check-doubles doesn't works

2011-03-03 Thread xbgmsharp

I wish i could check-doubles before removing them.
Even if i can ignored the warning, it will be nice to get some output  
show which entry it is checking.


The command is pretty fast if you look at the number of duplicated  
contacts i have in the DB.


I have create a bug report.
http://www.sogo.nu/bugs/view.php?id=1164

Ludovic Marcotte lmarco...@inverse.ca a écrit :


On 11-03-02 12:04 PM, xbgmsharp wrote:

Hello,

I have a lot of duplicated contacts in Sogo due to a bug in an old   
version of Sogo TB extensions. I have update them.

Now i would like to clean up the duplicate contact.

Looks like sogo-tool have an option to do it but i am unable to use it.
It is not on multi domain system.

As sogo user:
sogo@sogo:~$ /usr/sbin/sogo-tool check-doubles
The warning limit for folder records is set at 1000

sogo@sogo:~$ /usr/sbin/sogo-tool remove-doubles
Usage: remove-doubles USER FOLDER

USER   the owner of the contact folder
FOLDER the id of the folder to clean up

How about something like:

/usr/sbin/sogo-tool remove-doubles lmarcotte personal

? It'll remove dupes in my personal address book.

sogo=# select * from sogo_folder_info where c_path2 = 'lmarcotte' and
c_path4 = 'personal' and c_path3 = 'Contacts';
 c_folder_id |   c_path   | c_path1 |  c_path2
| c_path3  | c_path4  | c_foldername  |
 c_location  |
c_quick_location  |
c_acl_location  | c_folder_type
-++-+---+--+--+---+--++--+---
   3 | /Users/lmarcotte/Contacts/personal | Users   | lmarcotte
| Contacts | personal | Personal Address Book |
http://sogo:sogo@127.0.0.1:5432/sogo/sogolmarcott0035eedfc6f |
http://sogo:sogo@127.0.0.1:5432/sogo/sogolmarcott0035eedfc6f_quick |
http://sogo:sogo@127.0.0.1:5432/sogo/sogolmarcott0035eedfc6f_acl |
Contact
(1 row)

sogo=#


I found the same question but with no answer or i am not abble to   
use the archive search of the mailinglist.


https://inverse.ca/sogo/lists/arc/users/2011-02/msg00181.html

The *warning* can be ignored.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)

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


--
Thanks for using xbgm# / Devmon / BBwin.
http://xbgm.sourceforge.net/
http://devmon.sourceforge.net/
http://bbwin.sourceforge.net/
Please feedback.
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] XML configuration file

2011-03-02 Thread xbgmsharp

Hello,

By reading the mailing list, i saw some people having the file  
.GNUstepDefaults in XML format.


As an example when i do a defaults write sogod SOGoLanguage English  
on a fresh configuration file, it still use the old format of the  
configuration file.


The documentation does not reflect the use of an XML configuration file.

Should we still use the GNUstep format or an XML file?

I am using sogo-1.3.5a on Debian-5.0.8 lenny.

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


Re: [SOGo] XML configuration file

2011-03-02 Thread xbgmsharp

Thanks
Starting which version?
Would i need to convert the configuration file when upgrade to Debian  
6.0 Squeeze?


Squeeze Version 1.20.1
http://packages.debian.org/lenny/gnustep-base-common
Lenny Version 1.16.1
http://packages.debian.org/squeeze/gnustep-base-common


Martin Rabl martin.r...@rablnet.de a écrit :


It depends on the installed version of GNUStep.

Am 02.03.2011 10:14, schrieb xbgmsharp:

Hello,

By reading the mailing list, i saw some people having the file
.GNUstepDefaults in XML format.

As an example when i do a defaults write sogod SOGoLanguage English on
a fresh configuration file, it still use the old format of the
configuration file.

The documentation does not reflect the use of an XML configuration file.

Should we still use the GNUstep format or an XML file?

I am using sogo-1.3.5a on Debian-5.0.8 lenny.

Regards,
Francois



--
Viele Grüße,

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


--
Thanks for using xbgm# / Devmon / BBwin.
http://xbgm.sourceforge.net/
http://devmon.sourceforge.net/
http://bbwin.sourceforge.net/
Please feedback.
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] sogo-tool check-doubles doesn't works

2011-03-02 Thread xbgmsharp

Hello,

I have a lot of duplicated contacts in Sogo due to a bug in an old  
version of Sogo TB extensions. I have update them.

Now i would like to clean up the duplicate contact.

Looks like sogo-tool have an option to do it but i am unable to use it.
It is not on multi domain system.

As sogo user:
sogo@sogo:~$ /usr/sbin/sogo-tool check-doubles
The warning limit for folder records is set at 1000

sogo@sogo:~$ /usr/sbin/sogo-tool remove-doubles
Usage: remove-doubles USER FOLDER

 USER   the owner of the contact folder
 FOLDER the id of the folder to clean up

I found the same question but with no answer or i am not abble to use  
the archive search of the mailinglist.


https://inverse.ca/sogo/lists/arc/users/2011-02/msg00181.html

I am using Sogo-1.3.5a and Debian-5.0.8 Lenny

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


[SOGo] Thunderbird public calendar with multi domain support

2010-11-24 Thread xbgmsharp

Hello

When sogo is configure with multi domain.
Thunderbird with all extensions is creating a public calendar in  
addition to the normal one (ie: personal and Addresses MyDomain, as  
specify in the configuration file).


The additional public calendar is not available on the Web interface.
So i believe it is a bug in one all the sogo extensions.

But even if the SOGo Integrator's site.js is configured on a  
per-domain basis. Look for the  
sogo-integrator.autocomplete.server.urlid preference value, this is  
not documented and it still not does work.



Each domain have a specific extensions.
-rw-r--r-- 1 root root 138K nov 6 16:33 sogo-integrator-3.103-domain1.xpi
-rw-r--r-- 1 root root 138K nov 6 16:33 sogo-integrator-3.103-domain2.xpi
-rw-r--r-- 1 root root 138K oct 19 16:24 sogo-integrator-3.103-sogo-demo.xpi

What should be the value of sogo-integrator.autocomplete.server.urlid.
By default:
pref(sogo-integrator.autocomplete.server.urlid, public);
to:
pref(sogo-integrator.autocomplete.server.urlid, MyDomain.ltd-public);

The urlid need to match id = MyDomain.ltd-public

with isAddressBook = YES; for each domain.

The private SQL addressebook and the LDAP system addressebook are  
working fine, but

sogo keep asking for one more adressebook call mydomain.tld-public.

REPORT /SOGo/dav/myuser/Contacts/mydomain.tld-public/ HTTP/1.1 207 126

As you describe the private SQL addressebook is read/write enable  
and the LDAP system

addressebook is readonly as it is LDAP.

Why is sogo asking for a new adressbook as all of the configure  
addressbook are there and working.


Can someone point me to a solution?

For multi domains support remove SOGoUserSources and change it to:

domains = {
   MyDomain.ltd = {
   SOGoMailDomain = MyDomain.ltd;
   SOGoUserSources = (
   {
   type = ldap;
   CNFieldName = cn;
   IDFieldName = uid;
   UIDFieldName = uid;
   MailFieldNames = (mailLocalAddress, mailAlias);
   baseDN = ou=MyDomain,dc=MyDomain,dc=ldt;
   canAuthenticate = YES;
   displayName = Addresses MyDomain;
   hostname = localhost;
   id = MyDomain.ltd-public;
   isAddressBook = YES;
   port = 389;
}
);
};
MyDomain2.ltd = {
   SOGoMailDomain = MyDomain2.ltd;
   SOGoUserSources = (
   {
   type = ldap;
   CNFieldName = cn;
   IDFieldName = uid;
   UIDFieldName = uid;
   MailFieldNames = (mailLocalAddress, mailAlias);
   baseDN = ou=MyDomain2,dc=MyDomain,dc=ldt;
   canAuthenticate = YES;
   displayName = Addresses MyDomain2;
   hostname = localhost;
   id = MyDomain2.ltd-public;
   isAddressBook = YES;
   port = 389;
}
);
};
};

Thanks

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

Re: [SOGo] Integrator and Contacts woes...

2010-11-22 Thread xbgmsharp

Hello,

Sorry i don't get it, but maybe it is not the same issue.

The pref:
pref(sogo-integrator.autocomplete.server.urlid, mydomain.tld-public);
match sogo configuration:
id = mydomain.tld-public;

with isAddressBook = YES; for each domain.

The private SQL addressebook and the LDAP system addressebook are  
working fine, but sogo keep asking for one more adressebook call  
mydomain.tld-public.


REPORT /SOGo/dav/myuser/Contacts/mydomain.tld-public/ HTTP/1.1 207 126

As you describe the private SQL addressebook is read/write enable  
and the LDAP system addressebook is readonly as it is LDAP.


Why is sogo asking for a new adressbook as all of the configure  
addressbook are there and working.


Regards,
Francois

Wolfgang Sourdeau wsourd...@inverse.ca a écrit :




It never ends, bumping sogod daemons much CPU.

These two addressbooks are LDAP address books. The normal ones   
are working properly. But these LDAP address books seem to make   
probles with SOGo connector. Any hint?


It's a mix of a bug in SOGo, a lack of feature in Thunderbird and a
configuration issue. Let me explain

In SOGo, we use SQL-based addressbooks for all user addressbooks and
LDAP-based addressbooks for system addressbooks. What system means
is that it represents a read-only source of user informations that is
managed only by the system administrator and outside of SOGo itself. In
Thunderbird, all user addressbooks but only one system addressbook can
be used for finding users when composing emails or inviting people to
an event. That's a limit of Thunderbird.
In SOGo Connector, user addressbooks are synchronized (via webdav sync)
with local Thunderbird addressbooks while system addressbooks are
queried in real time via a carddav request.

I suspect the problem that occurs is that SOGo Connector considers
those 2 addressbooks as user addressbooks rather than system
addressbooks, which trigger webdav sync queried, which are not
supported for system addressbooks. There would thus be 2 bugs:
- SOGo Connector must consider them as system addressbooks
- SOGo must not report those addressbooks as webdavsync capable
In order to confirm this, please provide us with a sniff log of the
SOGo traffic when this occurs, from the moment you launch Thunderbird
until the problem starts to show up.

Regarding your configuration, you should probably declare unikn_users
as value for the publicid key mentionned by Ludovic. Following its
name I believe it is more likely to be queried for useful information
than the other ones.

Cheers,
--
Wolfgang Sourdeau  ::  +1 (514) 447-4918 ext. 125  ::  wsourd...@inverse.ca
Inverse inc. Leaders behind SOGo (sogo.nu) and PacketFence
(www.packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists


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

Re: [SOGo] AddressBook.app support in SOGo!

2010-09-07 Thread xbgmsharp

Hello,

Thanks for the information.
Even so I still have errors.
I try the different setting of proxyPatch with no result is still get

OPTIONS /.well-known/carddav HTTP/1.1 404 43
So new phone cannot verify is using

I do get a 200 reply when i use the port 443 as part of the standard  
SOGO virtualhost for webmail and calendars


OPTIONS /.well-known/carddav HTTP/1.1 200 -
But the note able to verify ethier.



Mark Adams m...@campbell-lange.net a écrit :


For posterity, A working CardDAV Apache VirtualHost config is as follows.

Replace your.server.com with your fqdn (ignore the SSL stuff if you
don't want that).

#Below for CardDAV access
VirtualHost your.server.com:8843
SSLEngine on
SSLCertificateFile /etc/ssl/your_server_com.crt
SSLCertificateKeyFile /etc/ssl/your_server_com.key
ErrorLog /var/log/apache2/error.log

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

Proxy http://127.0.0.1:2
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 8843
  RequestHeader set x-webobjects-server-name your.server.com
  RequestHeader set x-webobjects-server-url https://your.server.com;

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

  RequestHeader set x-webobjects-server-protocol HTTP/1.0
  RequestHeader set x-webobjects-remote-host 127.0.0.1

  Order allow,deny
  Allow from all
/Proxy
/VirtualHost

Thanks again to Inverse for their continued work on SOGo.

Regards,
Mark

On Mon, Aug 23, 2010 at 10:43:26AM +0100, Mark Adams wrote:

Unfortunately it's still not right. I've found that with it set as I
note below, new phones cannot verify. If you change it to

ProxyPass / http://127.0.0.1:[port]/SOGo/dav/ as specifed in Wolfgangs
howto, then phones can verify but can not sync anything. If you change
it back to what I have below (without /SOGo/dav/) after verifying then
the phones will start syncing events.

Any ideas Inverse?

On Fri, Aug 20, 2010 at 10:03:58PM +0100, Mark Adams wrote:
 Hi Ryan,

 What Wolfgang says is right, except for me the 2nd ProxyPass had to be
 the following; (no SOGo/dav/ at the end)

 ProxyPass / http://127.0.0.1:[port]/ interpolate

 If you need the full config let me know and i'll send through to you.

 Cheers,
 Mark

 On Fri, Aug 20, 2010 at 04:01:18PM -0400, Wolfgang Sourdeau wrote:
  Hi Ryan,
 
 
  You need a VirtualHost section with exactly the same directives as in
  your original SOGo configuration except 3 things:
  1) it must listen on 8800 (clear) or 8843 (ssl)
  2) you need both ProxyPass directives instead of one:
 
  ProxyPass /SOGo/ http://127.0.0.1:[port]/SOGo/ interpolate
  ProxyPass / http://127.0.0.1:[port]/SOGo/dav/ interpolate
 
  3) the Proxy subsection must also be modified to reflect the port you
  have chosen:
 
  For port 8843 you'd have something like this:
 
  Proxy http://127.0.0.1:[port]
RequestHeader set x-webobjects-server-port 8843
RequestHeader set x-webobjects-server-name mygoodcompany.com:8843
RequestHeader set x-webobjects-server-url
  https://mygoodcompany.com:8843;
RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host 127.0.0.1
 
AddDefaultCharset UTF-8
  /Proxy
 
  Note that Apache will likely issue a warning about the redefinition of
  the http://127.0.0.1:[port] proxy but you can safely ignore it.
  --
  Wolfgang Sourdeau  ::  +1 (514) 447-4918 ext. 125  ::
wsourd...@inverse.ca

  Inverse inc. Leaders behind SOGo (sogo.nu) and PacketFence
  (www.packetfence.org)

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

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



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




--
Thanks for using xbgm# / Devmon / BBwin.
http://xbgm.sourceforge.net/
http://devmon.sourceforge.net/
http://bbwin.sourceforge.net/
Please feedback.


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

Re: [SOGo] AddressBook.app support in SOGo!

2010-09-07 Thread xbgmsharp


Hello,

Uusing SOGo 1.3.1 with:
VirtualHost xyz:8843
...
ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
Proxy http://127.0.0.1:2/
...
/Proxy
/VirtualHost

I get:
 OPTIONS /.well-known/carddav HTTP/1.1 404 43
 OPTIONS / HTTP/1.1 401 -
 OPTIONS / HTTP/1.1 200 -
 PROPFIND / HTTP/1.1 207 336


Thanks
Francois


Mark Adams m...@campbell-lange.net a écrit :


You need to have BOTH the ProxyPass directives listed below.

On Tue, Sep 07, 2010 at 02:56:37PM +0200, xbgmsharp wrote:

Hello,

Thanks for the information.
Even so I still have errors.
I try the different setting of proxyPatch with no result is still get

OPTIONS /.well-known/carddav HTTP/1.1 404 43
So new phone cannot verify is using

I do get a 200 reply when i use the port 443 as part of the standard
SOGO virtualhost for webmail and calendars

OPTIONS /.well-known/carddav HTTP/1.1 200 -
But the note able to verify ethier.



Mark Adams m...@campbell-lange.net a écrit :


For posterity, A working CardDAV Apache VirtualHost config is as follows.

Replace your.server.com with your fqdn (ignore the SSL stuff if you
don't want that).

#Below for CardDAV access
VirtualHost your.server.com:8843
SSLEngine on
SSLCertificateFile /etc/ssl/your_server_com.crt
SSLCertificateKeyFile /etc/ssl/your_server_com.key
ErrorLog /var/log/apache2/error.log

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

Proxy http://127.0.0.1:2
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 8843
  RequestHeader set x-webobjects-server-name your.server.com
  RequestHeader set x-webobjects-server-url https://your.server.com;

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

  RequestHeader set x-webobjects-server-protocol HTTP/1.0
  RequestHeader set x-webobjects-remote-host 127.0.0.1

  Order allow,deny
  Allow from all
/Proxy
/VirtualHost

Thanks again to Inverse for their continued work on SOGo.

Regards,
Mark

On Mon, Aug 23, 2010 at 10:43:26AM +0100, Mark Adams wrote:

Unfortunately it's still not right. I've found that with it set as I
note below, new phones cannot verify. If you change it to

ProxyPass / http://127.0.0.1:[port]/SOGo/dav/ as specifed in Wolfgangs
howto, then phones can verify but can not sync anything. If you change
it back to what I have below (without /SOGo/dav/) after verifying then
the phones will start syncing events.

Any ideas Inverse?

On Fri, Aug 20, 2010 at 10:03:58PM +0100, Mark Adams wrote:
 Hi Ryan,

 What Wolfgang says is right, except for me the 2nd ProxyPass had to be
 the following; (no SOGo/dav/ at the end)

 ProxyPass / http://127.0.0.1:[port]/ interpolate

 If you need the full config let me know and i'll send through to you.

 Cheers,
 Mark

 On Fri, Aug 20, 2010 at 04:01:18PM -0400, Wolfgang Sourdeau wrote:
  Hi Ryan,
 
 
  You need a VirtualHost section with exactly the same directives as in
  your original SOGo configuration except 3 things:
  1) it must listen on 8800 (clear) or 8843 (ssl)
  2) you need both ProxyPass directives instead of one:
 
  ProxyPass /SOGo/ http://127.0.0.1:[port]/SOGo/ interpolate
  ProxyPass / http://127.0.0.1:[port]/SOGo/dav/ interpolate
 
  3) the Proxy subsection must also be modified to reflect the port you
  have chosen:
 
  For port 8843 you'd have something like this:
 
  Proxy http://127.0.0.1:[port]
RequestHeader set x-webobjects-server-port 8843
RequestHeader set x-webobjects-server-name   
mygoodcompany.com:8843

RequestHeader set x-webobjects-server-url
  https://mygoodcompany.com:8843;
RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host 127.0.0.1
 
AddDefaultCharset UTF-8
  /Proxy
 
  Note that Apache will likely issue a warning about the redefinition of
  the http://127.0.0.1:[port] proxy but you can safely ignore it.
  --
  Wolfgang Sourdeau  ::  +1 (514) 447-4918 ext. 125  ::
wsourd...@inverse.ca
  Inverse inc. Leaders behind SOGo (sogo.nu) and PacketFence
  (www.packetfence.org)

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

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



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








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





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

Re: [SOGo] Specify listening address for sogod?

2010-07-24 Thread xbgmsharp

Hello,

WOPort = 127.0.0.1:2;

or

http://www.sogo.nu/fr/support/faq/article/how-can-i-bind-the-sogod-processes-to-particular-ip-address-1.html


Jeremy Kiffiak takod...@gmail.com a écrit :


Hey Matto,

I am fairly new to SOGo myself but will give this my best shot!  :-)

I am unaware of a WOIPaddress option (or something similar) but there
is WOHtppAllowHost which by default is set to localhost (I have
explicitly set this in my .GNUstepDefaults just to be sure).

SOGo itself cannot be accessed directly due to the limitations of
SOPE which doesn't have a built-in web-server (and thus the need for
the Apache reverse proxy).  This isn't exactly what you are looking
for but I believe it ends up having the same affect.

Anyways, hopefully I didn't lead you down the wrong path...  :-D

Jeremy



On 24-Jul-10, at 8:03 AM, Matto Marjanovic wrote:


Hi,

Is there a config option to specify which net interfaces sogod binds  to?
This would be the analog to WOPort, for IP address instead of port  number.

The use case I have is to tell sogod to listen on localhost only.
In a simple setup with apache and sogod on the same host, there is
typically no good reason for sogod to accept connections from
anywhere else.


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




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