RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-29 Thread Ian James Vale
Hi,

Well, I got it working. I had a bit of a Homer Simpson moment with a 'doh!' 
when I realized that I hadn't done some port configuration on my router and 
that was stopping comms coming into the network.

As for the SSL, I'm am thinking that I hadn't restarted the httpd service at 
some point and that needed to be done to get eM Client to see the 
CalDAV/CardDAV properly.

So, it all now seems to be working. I'm going to be giving eM Client a trial 
run over the next month alongside Outlook, but from initial mucking around this 
morning, it's looking likely that I will finally be able to move away from MS 
Outlook and keep my personal data off the public cloud! :)

I had planned to do an OpenChange/Outlook implementation but that may no longer 
be necessary, for me at least. I will still potentially look to doing it, if 
only for demonstration purposes for potential commercial clients. But that can 
wait until ClearOS is ready for Samba4, etc.

All that's left now is to get my antiquated Windows Mobile 6.1 smart phone to 
work with CalDAV/CardDAV. But that's likely to be a whole other story...

Ian

-Original Message-
From: Ian James Vale [mailto:ianjamesv...@icefire.eu] 
Sent: 28 June 2013 20:25
To: users@sogo.nu
Subject: RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient


Hi,

Well, I don't quite know what I did, but I seem to have SSL access via my 
custom port :) :$

I've been hacking around trying to change that port number back from 80 to a 
different port number than 1234 that I had before. I've changed something 
somewhere other than (etc/httpd/conf.d/) ssl.conf or SOGo.conf, but I can't 
figure out where and I only seem to be able to use 1234 at the moment!

Anyway, to cut the long story short, I decided to have one last go connecting 
on 1234 via the following in eM Client and now it works, albeit with a server 
name warning on the certificate file:

https://sogo.example.com:1234/SOGo/dav/username/

If I can ever figure out what I did to get it working I'll reply here.

Ian

-Original Message-
From: Bruce Marriner [mailto:bruce+s...@bmts.us]
Sent: 28 June 2013 17:24
To: users@sogo.nu
Subject: RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient



On Friday, June 28, 2013 11:03 AM CDT, Ian James Vale 
ianjamesv...@icefire.eu wrote:

 Hi Bruce,

 I've just been hacking around and changed SOGo.conf in 
 etc/httpd/conf.d from SSL HTTPS (443) to HTTP, and redirected the 
 firewall port forward from the web server to the mail server and that 
 now allows eM Client to see the Calendar.

 When on 443 or custom port 1234 I can do the web browser test you 
 suggested and get the web page you got: -- An error occurred during 
 object publishing no WebDAV GET support?! --

 Therefore it would appear the problem is to do with the SSL somehow 
 and how eM Client works with it. My thoughts are that it might be 
 server certificate related but as yet I don't know precisely what 
 might be wrong with it.

Ah, it very well could be an SSL issue.  I don't use SSL on my SOGo install (or 
very many things anywhere) because the NSA is already reading and storing all 
my private information and probably selling it to Google, China, and anybody 
else who wants it.  Also generally speaking.. SSL tends to make a pretty damn 
easy thing turn into a bit more of a PIA then it's worth for me.

You might try 8443 as it's a common alternate SSL port if you're not already 
using that.  Maybe there's some SSL settings that need to be adjusted to match 
your port number.  I'm sure there's some configuration in Apache needed.

You might try to get it working without SSL then add SSL into the mix 
afterwards.  I find that's generally easier when I have to do SSL.



-- 
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] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-28 Thread Odhiambo Washington
Ian,

There is nothing that stops you from running SOGo interface on port 80.
Just use NameVirtualHost in your httpd.conf.
Apache will happily proxy your requests to the SOGo daemon.


On 27 June 2013 23:32, Ian James Vale ianjamesv...@icefire.eu wrote:

 Hi Bruce,

 This is a first time configuration for CalDAV/CardDAV for my SOGo install.
 The web interface works fine, by the way.

 Unfortunately I can never use the 'normal' ports 80 and 443, because as I
 said the web server (that's already operational) is using them, so I have
 SOGo configured to use 1234 and it's working OK from the web interface
 point of view.

 ZEG isn't possible as I don't have hardware that can do virtualization.

 As far as I know Apache on the mail server is as correct as it can be, but
 I'm not an Apache expert so really can't be sure.

 (By the way, I am not knowledgeable regarding virtual hosts on Apache, and
 from what I've read on help pages I'd need an extensive tutorial to get to
 grips with it as there are way too many settings that I could screw up due
 to my lack of awareness of what they are).

 Ian


 -Original Message-
 From: Bruce Marriner [mailto:bruce+s...@bmts.us]
 Sent: 27 June 2013 21:24
 To: users@sogo.nu
 Subject: Re: [SOGo] How to set up CardDav, CalDav etc for IMAP with
 eMClient

  Ian, has CalDAV/CardDAV ever worked with anything with your current setup
 or are you trying to configure it for the first time now?  Have you tried
 to test it using normal ports instead of non-standard ports?  Just to get
 it working in a normal setup first before moving on to something custom?
  Have you configured Apache with the correct settings per the documentation
 (or using a ZEG install for an example)?


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

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




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-28 Thread Ian James Vale
Odhiambo/Bruce,

 

OK. I've converted the firewall to port forward 443 to my SOGo server, which
has been reset to listen on that port (Web Interface works fine). However,
eM Client still can't connect to CalDAV.

 

Is there any way I can test my SOGo install to see if the CalDAV/CardDAV is
running, as if eM Client is at fault I need to know?

 

Cheers,

 

Ian

 

For info:

My internet static ip address points at a single gateway machine, and ports
have to be forwarded through it to the appropriate servers.

There are two separate machines: a web server and a mail server, each with
its own internal IP address.

The web server is supposed to handle all port HTTP and HTTPS requests, while
the mail server is supposed to handle all SMTP, IMAP and SOGo requests.

That's why I can't have the mail server listening on ports 80 or 443 as it
will never hear the requests as they will always (normally) be dealt with by
the web server machine.

 

From: Odhiambo Washington [mailto:odhia...@gmail.com] 
Sent: 28 June 2013 10:27
To: users@sogo.nu
Subject: Re: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

 

Ian,

 

There is nothing that stops you from running SOGo interface on port 80. Just
use NameVirtualHost in your httpd.conf.

Apache will happily proxy your requests to the SOGo daemon.

 

On 27 June 2013 23:32, Ian James Vale ianjamesv...@icefire.eu wrote:

Hi Bruce,

This is a first time configuration for CalDAV/CardDAV for my SOGo install.
The web interface works fine, by the way.

Unfortunately I can never use the 'normal' ports 80 and 443, because as I
said the web server (that's already operational) is using them, so I have
SOGo configured to use 1234 and it's working OK from the web interface point
of view.

ZEG isn't possible as I don't have hardware that can do virtualization.

As far as I know Apache on the mail server is as correct as it can be, but
I'm not an Apache expert so really can't be sure.

(By the way, I am not knowledgeable regarding virtual hosts on Apache, and
from what I've read on help pages I'd need an extensive tutorial to get to
grips with it as there are way too many settings that I could screw up due
to my lack of awareness of what they are).

Ian



-Original Message-
From: Bruce Marriner [mailto:bruce+s...@bmts.us
mailto:bruce%2bs...@bmts.us ]
Sent: 27 June 2013 21:24
To: users@sogo.nu
Subject: Re: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

 Ian, has CalDAV/CardDAV ever worked with anything with your current setup
or are you trying to configure it for the first time now?  Have you tried to
test it using normal ports instead of non-standard ports?  Just to get it
working in a normal setup first before moving on to something custom?  Have
you configured Apache with the correct settings per the documentation (or
using a ZEG install for an example)?


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

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





 

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.

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

RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-28 Thread Bruce Marriner
 
On Friday, June 28, 2013 05:59 AM CDT, Ian James Vale 
ianjamesv...@icefire.eu wrote: 
 
 Odhiambo/Bruce,
 
  
 
 OK. I've converted the firewall to port forward 443 to my SOGo server, which
 has been reset to listen on that port (Web Interface works fine). However,
 eM Client still can't connect to CalDAV.
 
  
 
 Is there any way I can test my SOGo install to see if the CalDAV/CardDAV is
 running, as if eM Client is at fault I need to know?
 
  

Sorta, maybe..  You should be able to connect with a web browser and it should 
ask you to login and if I do that.. Once I login I get the following when I 
open (Of course replace the domain name, and the username with your 
information.) 

http://mysogo.org/SOGo/dav/myusername
---
An error occurred during object publishing

no WebDAV GET support?!
---

If you get that, then, at least that much is the same :)  You might try other 
DAV clients, like maybe your cell phone if you have one?  The url I used im eM 
client was just like the one above too.  I also have port 8800 setup to work 
since the iPhone expects to use that port instead.  So if I change my url in my 
web browser or eM client to..

http://mysogo.org:8800/SOGo/dav/myusername

Then that also works and I get the same response from the web browser.   So 
giving eM client a port should work just fine.

I thought there were some settings in the apache conf file for the DAV stuff 
too or maybe that was just for getting iPhone to work I know I had to add a 
listener on port 8800 too.  I forget where it might be in the manual since it's 
been awhile since I've installed SOGo and I pretty much just walked through the 
instructions mostly.

Sorry, I don't have a do this fix for your problem :(.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-28 Thread Ian James Vale
Hi Bruce,

I've just been hacking around and changed SOGo.conf in etc/httpd/conf.d from 
SSL HTTPS (443) to HTTP, and redirected the firewall port forward from the web 
server to the mail server and that now allows eM Client to see the Calendar.

When on 443 or custom port 1234 I can do the web browser test you suggested and 
get the web page you got: -- An error occurred during object publishing no 
WebDAV GET support?! --

Therefore it would appear the problem is to do with the SSL somehow and how eM 
Client works with it. My thoughts are that it might be server certificate 
related but as yet I don't know precisely what might be wrong with it.

Ian

-Original Message-
From: Bruce Marriner [mailto:bruce+s...@bmts.us] 
Sent: 28 June 2013 15:29
To: users@sogo.nu
Subject: RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient


 
On Friday, June 28, 2013 05:59 AM CDT, Ian James Vale 
ianjamesv...@icefire.eu wrote: 
 
 Odhiambo/Bruce,
 
  
 
 OK. I've converted the firewall to port forward 443 to my SOGo server, 
 which has been reset to listen on that port (Web Interface works 
 fine). However, eM Client still can't connect to CalDAV.
 
  
 
 Is there any way I can test my SOGo install to see if the 
 CalDAV/CardDAV is running, as if eM Client is at fault I need to know?
 
  

Sorta, maybe..  You should be able to connect with a web browser and it should 
ask you to login and if I do that.. Once I login I get the following when I 
open (Of course replace the domain name, and the username with your 
information.) 

http://mysogo.org/SOGo/dav/myusername
---
An error occurred during object publishing

no WebDAV GET support?!
---

If you get that, then, at least that much is the same :)  You might try other 
DAV clients, like maybe your cell phone if you have one?  The url I used im eM 
client was just like the one above too.  I also have port 8800 setup to work 
since the iPhone expects to use that port instead.  So if I change my url in my 
web browser or eM client to..

http://mysogo.org:8800/SOGo/dav/myusername

Then that also works and I get the same response from the web browser.   So 
giving eM client a port should work just fine.

I thought there were some settings in the apache conf file for the DAV stuff 
too or maybe that was just for getting iPhone to work I know I had to add a 
listener on port 8800 too.  I forget where it might be in the manual since it's 
been awhile since I've installed SOGo and I pretty much just walked through the 
instructions mostly.

Sorry, I don't have a do this fix for your problem :(.
--
users@sogo.nu
https://inverse.ca/sogo/lists

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

RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-28 Thread Ian James Vale
Hi,

Well, I don't quite know what I did, but I seem to have SSL access via my 
custom port :) :$

I've been hacking around trying to change that port number back from 80 to a 
different port number than 1234 that I had before. I've changed something 
somewhere other than (etc/httpd/conf.d/) ssl.conf or SOGo.conf, but I can't 
figure out where and I only seem to be able to use 1234 at the moment!

Anyway, to cut the long story short, I decided to have one last go connecting 
on 1234 via the following in eM Client and now it works, albeit with a server 
name warning on the certificate file:

https://sogo.example.com:1234/SOGo/dav/username/

If I can ever figure out what I did to get it working I'll reply here.

Ian

-Original Message-
From: Bruce Marriner [mailto:bruce+s...@bmts.us] 
Sent: 28 June 2013 17:24
To: users@sogo.nu
Subject: RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient


 
On Friday, June 28, 2013 11:03 AM CDT, Ian James Vale 
ianjamesv...@icefire.eu wrote: 
 
 Hi Bruce,
 
 I've just been hacking around and changed SOGo.conf in etc/httpd/conf.d from 
 SSL HTTPS (443) to HTTP, and redirected the firewall port forward from the 
 web server to the mail server and that now allows eM Client to see the 
 Calendar.
 
 When on 443 or custom port 1234 I can do the web browser test you suggested 
 and get the web page you got: -- An error occurred during object publishing 
 no WebDAV GET support?! --
 
 Therefore it would appear the problem is to do with the SSL somehow and how 
 eM Client works with it. My thoughts are that it might be server certificate 
 related but as yet I don't know precisely what might be wrong with it.

Ah, it very well could be an SSL issue.  I don't use SSL on my SOGo install (or 
very many things anywhere) because the NSA is already reading and storing all 
my private information and probably selling it to Google, China, and anybody 
else who wants it.  Also generally speaking.. SSL tends to make a pretty damn 
easy thing turn into a bit more of a PIA then it's worth for me.   

You might try 8443 as it's a common alternate SSL port if you're not already 
using that.  Maybe there's some SSL settings that need to be adjusted to match 
your port number.  I'm sure there's some configuration in Apache needed.

You might try to get it working without SSL then add SSL into the mix 
afterwards.  I find that's generally easier when I have to do SSL.



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

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

Re: Re: Re: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-27 Thread Ian J .
OK, I've tried to understand what's going on with connecting to the DAV part of
SOGo.

This is the address format I'm using in eMClient, but even though I've opened
the ports in the firewalls, it's still not working:

https://sogo.example.com:1234/SOGo/dav/username/

I suspect that because I'm having to use the port number (the mail server is
separate from my web server which handles 80 and 443, so I have to use
different ports on the mail server), that somewhere in the config files
something just doesn't know about it.

Can anyone advise me where in the config files I might find the settings to
change to make the port number visible to eMClient?

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


Re: Re: Re: Re: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-27 Thread Ian J .
OK, I've tried using the web browser to access the Calendar, and this is what I
see:

An error occurred during object publishing

no WebDAV GET support?!

The address in the address bar is:

https://sogo.example.com:1234/SOGo/dav/username/Calendar

Any help in tracking down how to get my SOGo to respond to me would be REALLY
useful. So far it seems no one is responding at all. If this is child's play
then please treat me as a child and teach me what the hell it is I'm doing
wrong. All my web searches are turning up a total blank and I'm getting more
and more frustrated and despondent about this... :(

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


Re: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-27 Thread Bruce Marriner
 
On Thursday, June 27, 2013 01:49 PM CDT, Ian J. ianjamesv...@icefire.eu 
wrote: 
 
 OK, I've tried using the web browser to access the Calendar, and this is what 
 I
 see:
 
 An error occurred during object publishing
 
 no WebDAV GET support?!
 
 The address in the address bar is:
 
 https://sogo.example.com:1234/SOGo/dav/username/Calendar
 
 Any help in tracking down how to get my SOGo to respond to me would be REALLY
 useful. So far it seems no one is responding at all. If this is child's play
 then please treat me as a child and teach me what the hell it is I'm doing
 wrong. All my web searches are turning up a total blank and I'm getting more
 and more frustrated and despondent about this... :(
 
 Ian
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 
 
 
 Ian, has CalDAV/CardDAV ever worked with anything with your current setup or 
are you trying to configure it for the first time now?  Have you tried to test 
it using normal ports instead of non-standard ports?  Just to get it working in 
a normal setup first before moving on to something custom?  Have you configured 
Apache with the correct settings per the documentation (or using a ZEG install 
for an example)?  


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


RE: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-27 Thread Ian James Vale
Hi Bruce,

This is a first time configuration for CalDAV/CardDAV for my SOGo install. The 
web interface works fine, by the way.

Unfortunately I can never use the 'normal' ports 80 and 443, because as I said 
the web server (that's already operational) is using them, so I have SOGo 
configured to use 1234 and it's working OK from the web interface point of view.

ZEG isn't possible as I don't have hardware that can do virtualization.

As far as I know Apache on the mail server is as correct as it can be, but I'm 
not an Apache expert so really can't be sure.

(By the way, I am not knowledgeable regarding virtual hosts on Apache, and from 
what I've read on help pages I'd need an extensive tutorial to get to grips 
with it as there are way too many settings that I could screw up due to my lack 
of awareness of what they are).

Ian


-Original Message-
From: Bruce Marriner [mailto:bruce+s...@bmts.us] 
Sent: 27 June 2013 21:24
To: users@sogo.nu
Subject: Re: [SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient
 
 Ian, has CalDAV/CardDAV ever worked with anything with your current setup or 
are you trying to configure it for the first time now?  Have you tried to test 
it using normal ports instead of non-standard ports?  Just to get it working in 
a normal setup first before moving on to something custom?  Have you configured 
Apache with the correct settings per the documentation (or using a ZEG install 
for an example)?  


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

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

[SOGo] How to set up CardDav, CalDav etc for IMAP with eMClient

2013-06-20 Thread Ian J .
Hi,

Having read some of the recent mails regarding eMClient, I decided to install
it and see what it was like. Unfortunately it doesn't seem to work with the
Calendar, Address book or Tasks for the IMAP clients.

How do I enable these three within the SOGo software so that eMClient IMAP
accounts can see them?

TIA

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