Re: [SOGo] using sogo-tool to insert AuxiliaryMailAccounts

2019-01-09 Thread Daniel Le Bray

Hello,
have you tried setting your AuxiliaryMailAccounts value between quotes (')?

Le 08/01/2019 à 23:57, "Daniel Carlos Silva" 
(daniel.car...@prodemge.gov.br) a écrit :

Hello,
I´m having some difficulty to use sogo-tool to 
set AuxiliaryMailAccounts. I always got a json parser error. Even using 
the json that sogo-tool outputed. Im likely familiar to sogo-tool, I use 
with success to set mail signature and sieve rules.

Ex.
sogo-tool user-preferences get defaults fulano-p .pwsieve 
AuxiliaryMailAccounts

output:
<0x0x15f21a0[SOGoCache]> Cache cleanup interval set every 300.00 seconds
<0x0x15f21a0[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
AuxiliaryMailAccounts: [{"receipts": {"receiptNonRecipientAction": 
"ignore", "receiptAction": "ignore", "receiptAnyAction": "ignore", 
"receiptOutsideDomainAction": "ignore"}, "encryption": "tls", "isNew": 
1, "port": 993, "name": "ful...@myserver.com", "password": 
"X", "serverName": "imap.myserver.com", "userName": 
"fulano", "identities": [{"email": "ful...@myserver.com", "fullName": 
"ful...@myserver.com", "signature": "Atenciosamente, 
Fulano<\/\/strong \/>"}]}]

When I try to insert same json i get this error
sogo-tool user-preferences set defaults 01208801643 -p .pwsieve 
AuxiliaryMailAccounts [{"receipts": {"receiptNonRecipientAction": 
"ignore", "receiptAction": "ignore", "receiptAnyAction": "ignore", 
"receiptOutsideDomainAction": "ignore"}, "encryption": "tls", "isNew": 
1, "port": 993, "name": "ful...@myserver.com", "password": 
"X", "serverName": "imap.myserver.com", "userName": 
"fulano", "identities": [{"email": "ful...@myserver.com", "fullName": 
"ful...@myserver.com", "signature": "Atenciosamente, 
Fulano<\/\/strong \/>"}]}]

<0x0x1ec2140[SOGoCache]> Cache cleanup interval set every 300.00 seconds
<0x0x1ec2140[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
<0x0x1cf52e0[GSCBufferString]> json parser: Expected value while parsing 
array, attempting once more after unescaping...
<0x0x1cf52e0[GSCBufferString]> total failure. Original string is: 
[{receipts:
2019-01-08 20:55:16.175 sogo-tool[12828:12828] Invalid JSON input - no 
changes performed in the database. The supplied value was: [{receipts:


Can someone help me? Is there any trick?


--
​
Daniel Carlos Silva

Analista
GSR – Gerência de Serviços de Rede

Tel.: (31) 3339-1287
Companhia de Tecnologia da Informação do Estado de Minas Gerais – PRODEMGE

Aviso: Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a 
quem é dirigida, podendo conter informação sigilosa e legalmente 
protegida. O uso impróprio será tratado conforme as normas da empresa e 
a legislação em vigor. Caso não seja o destinatário, favor notificar o 
remetente, ficando proibidas a utilização, divulgação, cópia e distribuição


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


--
Daniel Le Bray :: CRI :: Pôle Systèmes et Réseaux
daniel.le-b...@univ-lehavre.fr :: +33 (0)2 32 74 42 94
Universite Le Havre Normandie
25 rue Philippe Lebon, BP1123, 76063 Le Havre Cedex, France
==
J'accepte les emails VSRE (http://vsre.info/index_fr.html)



smime.p7s
Description: Signature cryptographique S/MIME


[SOGo] using sogo-tool to insert AuxiliaryMailAccounts

2019-01-08 Thread "Daniel Carlos Silva"
 Hello,
I´m having some difficulty to use sogo-tool to set AuxiliaryMailAccounts. I 
always got a json parser error. Even using the json that sogo-tool outputed. Im 
likely familiar to sogo-tool, I use with success to set mail signature and 
sieve rules.
Ex.
sogo-tool user-preferences get defaults fulano-p .pwsieve AuxiliaryMailAccounts
output:
<0x0x15f21a0[SOGoCache]> Cache cleanup interval set every 300.00 seconds
<0x0x15f21a0[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
AuxiliaryMailAccounts: [{"receipts": {"receiptNonRecipientAction": "ignore", 
"receiptAction": "ignore", "receiptAnyAction": "ignore", 
"receiptOutsideDomainAction": "ignore"}, "encryption": "tls", "isNew": 1, 
"port": 993, "name": "ful...@myserver.com", "password": "X", 
"serverName": "imap.myserver.com", "userName": "fulano", "identities": 
[{"email": "ful...@myserver.com", "fullName": "ful...@myserver.com", 
"signature": "Atenciosamente, Fulano<\/\/strong \/>"}]}]
When I try to insert same json i get this error
sogo-tool user-preferences set defaults 01208801643 -p .pwsieve 
AuxiliaryMailAccounts [{"receipts": {"receiptNonRecipientAction": "ignore", 
"receiptAction": "ignore", "receiptAnyAction": "ignore", 
"receiptOutsideDomainAction": "ignore"}, "encryption": "tls", "isNew": 1, 
"port": 993, "name": "ful...@myserver.com", "password": "X", 
"serverName": "imap.myserver.com", "userName": "fulano", "identities": 
[{"email": "ful...@myserver.com", "fullName": "ful...@myserver.com", 
"signature": "Atenciosamente, Fulano<\/\/strong \/>"}]}]
<0x0x1ec2140[SOGoCache]> Cache cleanup interval set every 300.00 seconds
<0x0x1ec2140[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
<0x0x1cf52e0[GSCBufferString]> json parser: Expected value while parsing array, 
attempting once more after unescaping...
<0x0x1cf52e0[GSCBufferString]> total failure. Original string is: [{receipts:
2019-01-08 20:55:16.175 sogo-tool[12828:12828] Invalid JSON input - no changes 
performed in the database. The supplied value was: [{receipts:Can someone help 
me? Is there any trick?
--
​Daniel Carlos Silva
 


Analista
GSR – Gerência de Serviços de Rede
Tel.: (31) 3339-1287
Companhia de Tecnologia da Informação do Estado de Minas Gerais – PRODEMGE
 
Aviso: Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a quem é 
dirigida, podendo conter informação sigilosa e legalmente protegida. O uso 
impróprio será tratado conforme as normas da empresa e a legislação em vigor. 
Caso não seja o destinatário, favor notificar o remetente, ficando proibidas a 
utilização, divulgação, cópia e distribuição 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[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] Using SOGo as a room/resource booking system

2017-08-17 Thread Christian Mack
Hello

Am 11.08.2017 um 13:40 schrieb "Siegfried Kurz" (sk...@hit-john.de):
> 
> Hello Ludovic,
> 
> thanks for Your answer.
> 
>> If events were created by 'room1' itself, that is normal. 
>> Overbooking is looked when inviting the resources.
> 
> So, there is no possiblity in SOGo to have calendars which allow only one
> entry per time without "inviting" resources?
> 

That is correct.

> Are there any plans to implement such a functionality in the future?
> 

I don't think so.
For reasoning see https://sogo.nu/bugs/view.php?id=2541

You could open a seperate enhancement request for this at
https://sogo.nu/bugs/


> Is it possible to use a hook to get this functionality?
> 
> In http://www.mail-archive.com/users@sogo.nu/msg09759.html 
> Python bindings are mentioned, did I miss something in the documentation?
> 
> 

AFAIK the hook feature never got implemented.


Kind regards,
Christian Mack

-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Using SOGo as a room/resource booking system

2017-08-11 Thread "Siegfried Kurz"

Hello Ludovic,

thanks for Your answer.

> If events were created by 'room1' itself, that is normal. 
> Overbooking is looked when inviting the resources.

So, there is no possiblity in SOGo to have calendars which allow only one
entry per time without "inviting" resources?

Are there any plans to implement such a functionality in the future?

Is it possible to use a hook to get this functionality?

In http://www.mail-archive.com/users@sogo.nu/msg09759.html 
Python bindings are mentioned, did I miss something in the documentation?


Best regards Siegfried
--
H.I.T John GmbH



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


Re: [SOGo] Using SOGo as a room/resource booking system

2017-08-09 Thread Ludovic Marcotte

On 2017-08-08 5:33 AM, "Siegfried Kurz" (sk...@hit-john.de) wrote:


not be possible.
I expected, when trying to occupy the resource a second time, an error
message would be generated.
If events were created by 'room1' itself, that is normal. Overbooking is 
looked when inviting the resources.


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

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


Re: [SOGo] Using SOGo

2015-07-30 Thread Ana Sustic | www.ztm.si
 

Thank you. That is what I was asking. 

29.07.2015 12:27, je Marc Patermann napisal 

> Ana,
> 
> Am 24.07.2015 um 13:24 Uhr schrieb Ana Sustic | www.ztm.si: [1] 
> 
>> From what I understand in sogo web demo I need to give access rights
>> to the Address Book. I do so by going to Personal Address Book for ex.
>> sogo1 demo account and select Sharing and adding my personal email which
>> is of course from another domain. Sogo demo will not let me add it (Add
>> button is grayed).
> if you cannot find a user in the defined sogo user sources (the server 
> config), you cannot add right for him.
> So you cannot add your account - with is external to the sogo demo - to the 
> sogo demo server.
> 
> Is this what you want to archieve?
> Installing your own test server would be a better idea then.
> 
> Marc

 

Links:
--
[1] http://www.ztm.si:
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Using SOGo

2015-07-29 Thread Marc Patermann

Ana,

Am 24.07.2015 um 13:24 Uhr schrieb Ana Sustic | www.ztm.si:

  From what I understand in sogo web demo I need to give access rights
to the Address Book. I do so by going to Personal Address Book for ex.
sogo1 demo account and select Sharing and adding my personal email which
is of course from another domain. Sogo demo will not let me add it (Add
button is grayed).
if you cannot find a user in the defined sogo user sources (the server 
config), you cannot add right for him.
So you cannot add your account - with is external to the sogo demo - to 
the sogo demo server.


Is this what you want to archieve?
Installing your own test server would be a better idea then.

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


Re: [SOGo] Using SOGo

2015-07-24 Thread Tanstaafl
On 7/24/2015 7:10 AM, Steve Ankeny  wrote:
> (1) any user wishing the "share" a calendar must do so through the 
> webmail "Preferences"

Unless you are using Thunderbird with the Integrator Addon, in which
case you can do these things directly from Thunderbird.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Using SOGo

2015-07-24 Thread Ana Sustic | www.ztm.si
 

Hi, 

Thanks for your reply. 

24.07.2015 9:12, je Marc Patermann napisal 

> Ana,
> 
> Am 23.07.2015 um 14:33 Uhr schrieb Ana Sustič: 
> 
>> I am testing the shared Address Book in Sogo demo from Thunderbird. It
>> syncronises fine for Address books with public access.
> OK.
> 
>> How do you
>> configure Thunderbird to connect to a shared Address book in Sogo with
>> access rights for Authenticated users. Currently Thunderbird always
>> reverts to the first configured account in Thunderbird when I
>> synchronise the remote Address Book.
> I'm not really sure, what you're talking about.
> Yes, in TB SOGo always uses the user of the fist account to connect to the 
> server. You can only log in once with TB, so this should be your personal 
> account.
> If you want to access other one's address books, you need rights on these. In 
> question log in with the web GUI (as the other user) give rights to your 
> personal user und add the other one's address book to your profile (this 
> functionality is added by the SOGo integrator add-on to TB).
> Does this help you? 
> 
> Marc

 From what I understand in sogo web demo I need to give access rights to
the Address Book. I do so by going to Personal Address Book for ex.
sogo1 demo account and select Sharing and adding my personal email which
is of course from another domain. Sogo demo will not let me add it (Add
button is grayed). 

Thanks, 

Ana 

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

Re: [SOGo] Using SOGo

2015-07-24 Thread Steve Ankeny


(1) any user wishing the "share" a calendar must do so through the 
webmail "Preferences"


(2) and, any user wishing to "read" a "shared" calendar must subscribe 
to the calendar


On 07/24/2015 03:12 AM, Marc Patermann wrote:

Ana,

Am 23.07.2015 um 14:33 Uhr schrieb Ana Sustič:

I am testing the shared Address Book in Sogo demo from Thunderbird. It
syncronises fine for Address books with  public access.

OK.


How do you
configure Thunderbird to connect to a shared Address book in Sogo with
access rights for Authenticated users. Currently Thunderbird always
reverts to the first configured account in Thunderbird when I
synchronise the remote Address Book.

I'm not really sure, what you're talking about.
Yes, in TB SOGo always uses the user of the fist account to connect to 
the server. You can only log in once with TB, so this should be your 
personal account.
If you want to access other one's address books, you need rights on 
these. In question log in with the web GUI (as the other user) give 
rights to your personal user und add the other one's address book to 
your profile (this functionality is added by the SOGo integrator 
add-on to TB).

Does this help you?


Marc



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


Re: [SOGo] Using SOGo

2015-07-24 Thread Marc Patermann

Ana,

Am 23.07.2015 um 14:33 Uhr schrieb Ana Sustič:

I am testing the shared Address Book in Sogo demo from Thunderbird. It
syncronises fine for Address books with  public access.

OK.


How do you
configure Thunderbird to connect to a shared Address book in Sogo with
access rights for Authenticated users. Currently Thunderbird always
reverts to the first configured account in Thunderbird when I
synchronise the remote Address Book.

I'm not really sure, what you're talking about.
Yes, in TB SOGo always uses the user of the fist account to connect to 
the server. You can only log in once with TB, so this should be your 
personal account.
If you want to access other one's address books, you need rights on 
these. In question log in with the web GUI (as the other user) give 
rights to your personal user und add the other one's address book to 
your profile (this functionality is added by the SOGo integrator add-on 
to TB).

Does this help you?


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

Re: [SOGo] Using SOGo

2015-07-23 Thread Ana Sustič

Thanks!

I am testing the shared Address Book in Sogo demo from Thunderbird. It 
syncronises fine for Address books with  public access. How do you 
configure Thunderbird to connect to a shared Address book in Sogo with 
access rights for Authenticated users. Currently Thunderbird always 
reverts to the first configured account in Thunderbird when I 
synchronise the remote Address Book.


Thanks in advance,
Ana

On 23.7.2015 14:03, Alain Abbas wrote:

Yes this is correct
You have to install on your server or another one Sogo and to setup 
/etc/sogo/sogo.conf to
use your Ldap server and Imap and SMTP server . Sogo deliver just a 
Calendars/contacts cardav/caldav/actysync and a webmail client.


Regards


Le Mercredi 22 Juillet 2015 07:47 CEST, "Ana Sustic | www.ztm.si" 
 a écrit:


Thanks to all for your answers.

From what you said we could continue using Postfix/IMAP/OpenLDAP on 
the backend and Thunderbird/Lightning on the front while using SOGo as 
the missing piece for shared calendars and contacts as well as for 
webmail (out-of-office, rules, ...). Is that correct?


Best regards,

Ana

21.07.2015 13:57, je Ana Sustic | www.ztm.si napisal


Hello,

I am new to the list and have a question regarding SOGo.

We are a public institution of 300 mail user and have IMAP/Postfix 
for Mail, Roundcube for webmail and are looking forward to an open 
source calendaring solution with the option to delegate calendars. 
Roundcube claims to have this using its plugins but lately they took 
away their calendaring plugin.


Could we still use Roundcube for the web interface while using SOGo 
for the CALDav/CARdav backend component? Does SOGo integrates with 
Roundcube?


Best regards,

Ana



__ Information from ESET Mail Security, version of virus 
signature database 11670 (20150522) __


The message was checked by ESET Mail Security.
http://www.eset.com

Daruj kri




Daruj kri


--
*Alain Abbas*
11 rue Robert Schumann
54500 Vandoeuvre
Tel : +333 83 18 02 70
skype: alain.abbas 


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

Re: [SOGo] Using SOGo

2015-07-23 Thread Alain Abbas

Yes this is correct
You have to install on your server or another one Sogo and to setup 
/etc/sogo/sogo.conf to
use your Ldap server and Imap and SMTP server . Sogo deliver just a 
Calendars/contacts cardav/caldav/actysync and a webmail client.

Regards


Le Mercredi 22 Juillet 2015 07:47 CEST, "Ana Sustic | www.ztm.si" 
 a écrit:
  
Thanks to all for your answers.
>From what you said we could continue using Postfix/IMAP/OpenLDAP on the 
>backend and Thunderbird/Lightning on the front while using SOGo as the missing 
>piece for shared calendars and contacts as well as for webmail (out-of-office, 
>rules, ...). Is that correct?
Best regards,
Ana
 
21.07.2015 13:57, je Ana Sustic | www.ztm.si napisal
Hello,
I am new to the list and have a question regarding SOGo.
We are a public institution of 300 mail user and have IMAP/Postfix for Mail, 
Roundcube for webmail and are looking forward to an open source calendaring 
solution with the option to delegate calendars. Roundcube claims to have this 
using its plugins but lately they took away their calendaring plugin.
Could we still use Roundcube for the web interface while using SOGo for the 
CALDav/CARdav backend component? Does SOGo integrates with Roundcube?
 
Best regards,
Ana 

__ Information from ESET Mail Security, version of virus signature 
database 11670 (20150522) __

The message was checked by ESET Mail Security.
http://www.eset.com

 

  

 

--
Alain Abbas
11 rue Robert Schumann
54500 Vandoeuvre
Tel : +333 83 18 02 70
skype: alain.abbas
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Using SOGo

2015-07-22 Thread Infoo Matic

On Wednesday, July 22, 2015 07:47 CEST, "Ana Sustic | www.ztm.si" 
 wrote:

> From what you said we could continue using Postfix/IMAP/OpenLDAP on the
> backend and Thunderbird/Lightning on the front while using SOGo as the
> missing piece for shared calendars and contacts as well as for webmail
> (out-of-office, rules, ...). Is that correct?

yes! Just add a database for sogos data and you are done
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Using SOGo

2015-07-22 Thread Ana Sustic | www.ztm.si
 

Thanks to all for your answers. 

>From what you said we could continue using Postfix/IMAP/OpenLDAP on the
backend and Thunderbird/Lightning on the front while using SOGo as the
missing piece for shared calendars and contacts as well as for webmail
(out-of-office, rules, ...). Is that correct? 

Best regards, 

Ana 

21.07.2015 13:57, je Ana Sustic | www.ztm.si napisal 

> Hello, 
> 
> I am new to the list and have a question regarding SOGo. 
> 
> We are a public institution of 300 mail user and have IMAP/Postfix for Mail, 
> Roundcube for webmail and are looking forward to an open source calendaring 
> solution with the option to delegate calendars. Roundcube claims to have this 
> using its plugins but lately they took away their calendaring plugin. 
> 
> Could we still use Roundcube for the web interface while using SOGo for the 
> CALDav/CARdav backend component? Does SOGo integrates with Roundcube? 
> 
> Best regards, 
> 
> Ana 
> 
> __ Information from ESET Mail Security, version of virus signature 
> database 11670 (20150522) __
> 
> The message was checked by ESET Mail Security.
> http://www.eset.com [1]

 

Links:
--
[1] http://www.eset.com
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Using SOGo

2015-07-21 Thread Peter Beck
On 07/21/2015 06:36 PM, Tanstaafl wrote:
> Why go to the trouble??
>
> Just use the SOGo web client and be done with it...
that's also my opinion, but others may think different ;-)
I'm sure the native SOGo-way is faster than via plugins.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Using SOGo

2015-07-21 Thread Tanstaafl
On 7/21/2015 10:44 AM, Peter Beck  wrote:
> On 07/21/2015 03:33 PM, André Schild wrote:
>> When using Roundcube you will miss all shared-things in calendar and
>> contacts.

> for contacts there is a carddav plugin available on github:
> https://github.com/blind-coder/rcmcarddav

Why go to the trouble??

Just use the SOGo web client and be done with it...
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Using SOGo

2015-07-21 Thread Peter Beck
On 07/21/2015 03:33 PM, André Schild wrote:
> When using Roundcube you will miss all shared-things in calendar and
> contacts.
for contacts there is a carddav plugin available on github:
https://github.com/blind-coder/rcmcarddav

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


Re: [SOGo] Using SOGo

2015-07-21 Thread André Schild

Am 21.07.2015 um 13:57 schrieb Ana Sustic | www.ztm.si:


Hello,

I am new to the list and have a question regarding SOGo.

We are a public institution of 300 mail user and have IMAP/Postfix for 
Mail, Roundcube for webmail and are looking forward to an open source 
calendaring solution with the option to delegate calendars. Roundcube 
claims to have this using its plugins but lately they took away their 
calendaring plugin.


Could we still use Roundcube for the web interface while using SOGo 
for the CALDav/CARdav backend component?



Yes


Does SOGo integrates with Roundcube?



Better ask if Roundcube integrates with SOGo.
SOGo provides you with all the backend services but it also has frontend 
clients.


When using Roundcube you will miss all shared-things in calendar and 
contacts.


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

[SOGo] Using SOGo

2015-07-21 Thread Ana Sustic | www.ztm.si
 

Hello, 

I am new to the list and have a question regarding SOGo. 

We are a public institution of 300 mail user and have IMAP/Postfix for
Mail, Roundcube for webmail and are looking forward to an open source
calendaring solution with the option to delegate calendars. Roundcube
claims to have this using its plugins but lately they took away their
calendaring plugin. 

Could we still use Roundcube for the web interface while using SOGo for
the CALDav/CARdav backend component? Does SOGo integrates with
Roundcube? 

Best regards, 

Ana 

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

Re: [SOGo] Using SOGo without mail "module"

2015-03-24 Thread Ivan Andrian
On 24/03/2015 09:28, Marc Patermann wrote:

> SOGoLoginModule = Calendar;
> SOGoUserSources = (
> {
> [...]
> ModulesConstraints = {
> Mail = {
> objectClass = nonExistingClass;
> };
> };



Marc, Mihamina,
thank you very much, it works!

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


Re: [SOGo] Using SOGo without mail "module"

2015-03-24 Thread Mihamina Rakotomandimby

On 03/23/2015 06:20 PM, Ivan Andrian wrote:

Is there a way to configure SOGo so that it only presents the "Calendar" tab?
Or Calendar and Contacts, but definitely not the "mail" one.



Hi you can achieve this with "ModulesConstraints" inside the 
"SOGoUserSources" section.

For example:

ModulesConstraints = {
 Calendar = { ou = employees;};
};


The other modules names are: "Contacts" and "Mail".
If you want to forbid "Mail" to everybody, you have to issue a 
constraint that is never matched to the module.


For example, I dont have any "dog" value for my "ou" attributes, so this 
one could  disable the "MAil" module usage:


ModulesConstraints = {
 Mail = { ou = dog;};
};

I hope this helps.
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Using SOGo without mail "module"

2015-03-24 Thread Marc Patermann

Ivan,

Ivan Andrian schrieb (23.03.2015 16:20 Uhr):

I'm looking for a Calendar Server for our company and SOGo looks very
promising to me. However, the problem is that it does too much things for us!
In particular, we don't need nor want the user having access to the webmail
module other than our official webmail service.
Is there a way to configure SOGo so that it only presents the "Calendar" tab?
Or Calendar and Contacts, but definitely not the "mail" one.

SOGoLoginModule = Calendar;
SOGoUserSources = (
{
[...]
ModulesConstraints = {
Mail = {
objectClass = nonExistingClass;
};
};



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


[SOGo] Using SOGo without mail "module"

2015-03-23 Thread Ivan Andrian
Hi,
I'm looking for a Calendar Server for our company and SOGo looks very
promising to me. However, the problem is that it does too much things for us!
In particular, we don't need nor want the user having access to the webmail
module other than our official webmail service.
Is there a way to configure SOGo so that it only presents the "Calendar" tab?
Or Calendar and Contacts, but definitely not the "mail" one.

Thanks,

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


Re: [SOGo] using sogo to change sambaLMPassword and sambaNTPassword on a ldap

2015-01-08 Thread Ludovic Marcotte

On 08/01/2015 09:46, mathilde rousseau wrote:
I would like to know if it is possible to change sambaLMPassword and 
sambaNTPassword when we use sogo to change the ldap attribute 
userPassword. How can i do it ?
Theses hashes are not yet supported. You could file for a feature 
request on sogo.nu/bugs


Thanks,

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

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


[SOGo] using sogo to change sambaLMPassword and sambaNTPassword on a ldap

2015-01-08 Thread mathilde rousseau
Hello
I would like to know if it is possible to change sambaLMPassword and 
sambaNTPassword when we use sogo to change the ldap attribute userPassword. How 
can i do it ?
Thank you
Mathilde
———

Mathilde rousseau
Administrateur systèmes et réseaux, responsable du service informatique.

Laboratoire Kastler-Brossel
Université Pierre et Marie Curie   Département de Physique de l’ENS
4, place Jussieu   24, rue Lhomond
75252 Paris Cedex 05   75231 Paris Cedex 05
Tél : 01 44 27 70 38   Tél : 01 44 32 33 78
tour 12-13 - Bureau 306GH 114
mathilde.rouss...@lkb.upmc.fr    
mathilde.rouss...@lkb.ens.fr 





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

Re: [SOGo] Using SOGo as a client for others CalDAV/CardDAV server ?

2012-12-19 Thread Ludovic Marcotte

On 19/12/12 02:52, Yoann Gini wrote:

I would like to know if it’s possible to use SOGo as a frontend for some others 
CalDAV/CarDAV server like the Apple one on OS X Server.

No, it's not possible.

Thanks,

--
Ludovic Marcotte
+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


[SOGo] Using SOGo as a client for others CalDAV/CardDAV server ?

2012-12-18 Thread Yoann Gini
Hi,

I would like to know if it’s possible to use SOGo as a frontend for some others 
CalDAV/CarDAV server like the Apple one on OS X Server.

Best regards,
Yoann

smime.p7s
Description: S/MIME cryptographic signature


[SOGo] Using SOGO Connector with sabre-zarafa

2012-08-23 Thread Nikolaus Filus
Hello,

I'm currently in the evaluation process for the implementation of a zarafa
installation where I want to provide access to the addressbooks to our
thunderbird users by using the SOGO Connector. While testing such a setup I do
not get a synchronisation working.

The setup:
Zarafa 7.1rc3 with the add-on sabre-zarafa from
http://code.google.com/p/sabre-zarafa/
Thunderbird 14.0 (Linux) with Inverse SOGO Connector 10.0

Remote address book created with different URLs like
http://localhost:8080/sabre-zarafa/
- /sabre-zarafa/addressbooks/niko
- /sabre-zarafa/principals/niko

The full url http://localhost:8080/sabre-zarafa/addressbooks/niko show a list of
*.vcf files when open in firefox.
The real server is https only, so I rerouted the traffic through a delegated
HTTP-to-HTTPS proxy setup. I was able to track the traffic with wireshark.
Please can you give hints, if
- is the requested "getctag" is required?
- is there any configuration missing?
- how to configure SOGO to work with sabre-zarafa?

Log:
 
PROPFIND /sabre-zarafa/ HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714
Thunderbird/14.0 Lightning/1.6
Accept: text/xml
Accept-Language: en-US,en;q=0.8,de-DE;q=0.6,de;q=0.4,en-AU;q=0.2
Accept-Encoding: gzip, deflate
Connection: keep-alive
Accept-Charset: utf-8,*;q=0.1
Depth: 0
Content-Type: application/xml; charset=utf8
Content-Length: 175
Authorization: Basic bmlrbzp3c2NnbWJoMQ==
Pragma: no-cache
Cache-Control: no-cache
 

http://calendarserver.org/ns/";>HTTP/1.1
207 Multi-Status
DeleGate-Ver: 9.9.7 (delay=1)
Date: Thu, 23 Aug 2012 13:42:59 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.3.3
DAV: 1, 3, extended-mkcol, addressbook, access-control
Content-Type: application/xml; charset=utf-8
Via: 1.1 - (DeleGate/9.9.7)
Connection: close
Content-Length: 803
 

http://sabredav.org/ns";
xmlns:card="urn:ietf:params:xml:ns:carddav">/sabre-zarafa/HTTP/1.1
200 OKhttp://calendarserver.org/ns/"/>HTTP/1.1 404 Not
Found



Thank you.
Best regards,
Nikolaus Filus

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


Re: Re: [SOGo] Using SOGo 2.0 and OpenChange on a root-Server

2012-08-21 Thread oooo1
Check private samba4 folder permissions ?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Using SOGo 2.0 and OpenChange on a root-Server

2012-08-21 Thread Simon Lichtinghagen
Hi,

I mean that my server isn't running in my local network, but in the
world-wide-web. (So we say it in Germany ;-))

And yes, I had forgotten to copy the krb5.conf... :'( 
But it doesn't work yet. I think its an error in my krb5.conf. Here is
my complete config-file:

[libdefaults]
default_realm = MY.DOMAIN.DE
dns_lookup_realm = false
dns_lookup_kdc = true

Is your krb5.conf bigger?

thank you!

regards,

Simon

Am 15.08.2012 02:40, schrieb oo...@front.ru:
> Profile in Ubuntu means path to your program binaries, by default Samba4 is
>
> installed to /usr/local/samba it is profile path to Samba4.
>
>
>
> What do you mean in www ?




smime.p7s
Description: S/MIME Kryptografische Unterschrift


RE: [SOGo] Using SOGo 2.0 and OpenChange on a root-Server

2012-08-16 Thread Oooo1
Profile in Ubuntu means path to your program binaries, by default Samba4 is
installed to /usr/local/samba it is profile path to Samba4.

What do you mean in www ?



-Original Message-
From: Simon Lichtinghagen [mailto:s...@bnmsp.de] 
Sent: Thursday, August 16, 2012 8:27 PM
To: oo...@front.ru
Cc: users@sogo.nu
Subject: Re: [SOGo] Using SOGo 2.0 and OpenChange on a root-Server

Hi,

what do you mean with "your_samba_profile"?

And I think my problem is that I can't make DNS forwarding, because my
server is in the www...

thanks!

simon

Am 15.08.2012 02:40, schrieb oo...@front.ru:
> Have you configured kerberos krb5.conf file ?
> That is have you simply copy it to /etc/ from 
> /your_samba_profile/private after
> Samba4 provisioning ?
>
> I have successfully worked Samba4 beta5 as basis for Openchange and as 
> fileserver on Ubuntu Server 12.04 TLS with Bind9.8 and my LAN clients 
> has good name resolving as within local names as with DNS forwarding.

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


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


Re: [SOGo] Using SOGo 2.0 and OpenChange on a root-Server

2012-08-16 Thread Simon Lichtinghagen
Hi,

what do you mean with "your_samba_profile"?

And I think my problem is that I can't make DNS forwarding, because my
server is in the www...

thanks!

simon

Am 15.08.2012 02:40, schrieb oo...@front.ru:
> Have you configured kerberos krb5.conf file ?
> That is have you simply copy it to /etc/ from /your_samba_profile/private 
> after
> Samba4 provisioning ?
>
> I have successfully worked Samba4 beta5 as basis for Openchange and as
> fileserver on Ubuntu Server 12.04 TLS with Bind9.8 and my LAN clients has good
> name resolving as within local names as with DNS forwarding.

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


Re: [SOGo] Using SOGo 2.0 and OpenChange on a root-Server

2012-08-14 Thread oooo1
Have you configured kerberos krb5.conf file ?
That is have you simply copy it to /etc/ from /your_samba_profile/private after
Samba4 provisioning ?

I have successfully worked Samba4 beta5 as basis for Openchange and as
fileserver on Ubuntu Server 12.04 TLS with Bind9.8 and my LAN clients has good
name resolving as within local names as with DNS forwarding.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Using SOGo 2.0 and OpenChange on a root-Server

2012-08-14 Thread Simon Lichtinghagen
Hey there,

I am going to install SOGo 2.0 and OpenChange on a root-Server with
static IP.

First off all, thanks a lot for this groupware. It is the only one,
which can Exchange with open source software and all other clients which
I need - great!

But there is my problem:
I can't login in Exchange. I have installed samba4 (on ubuntu 12.04) and
configured it by your manual "Native Microsoft Outlook Configuration
Guide". I am sorry that I have no experience with samba4, only a little
bit samba3. But I think the error is in the DNS: How must I configure my
Domain, so that my clients find my server?

On my server it self, I get errors in the syslog like this:
[2012/08/14 15:42:38,  0]
../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
  /usr/sbin/samba_dnsupdate: get_credentials(lp)
[2012/08/14 15:42:38,  0]
../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
  /usr/sbin/samba_dnsupdate:   File "/usr/sbin/samba_dnsupdate", line
120, in get_credentials
[2012/08/14 15:42:38,  0]
../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
  /usr/sbin/samba_dnsupdate: creds.get_named_ccache(lp, ccachename)
[2012/08/14 15:42:38,  0]
../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
  /usr/sbin/samba_dnsupdate: RuntimeError: kinit for
MYSERVERNAME$@MY.DOMAIN.DE failed (Cannot contact any KDC for requested
realm)
[2012/08/14 15:42:38,  0]
../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
  /usr/sbin/samba_dnsupdate:

Maybe you can help me, thanks a lot!

regards,

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

Re: [SOGo] Using Sogo Connector in TB to access iCloud address book

2012-06-12 Thread Christian Mack
Hello Phil


On 2012-06-11 19:06, Phil wrote:
> 
>>> I would like to connect to the iCloud address book, which is supposed to
>>> be accessible via a CardDav client (that's how I came across Sogo).
>>>
>>> I found some basic information on the internet net, but couldn't get it
>>> to work yet.
>>> I am using TB 10.0.5 ESR, Lightning 1.2.3 and Sogo Connector 10.0.2 (as
>>> recommended in the documentation).
> 
>> You mean to create a synchronization with an existing address book, not
>> to create an address book on the server, aren't you?
>>
>> Then you have to give Connector the full URL to the address book.
>> It will not discover them for you.
> 
> Yes, I want to access the existing address book hosted by the iCloud
> service.
> 
>>> I am using an URL like https://p01-contacts.icloud.com/XX/
>>> where X is my unique ID (the ID is working perfectly with the accessing
>>> of my calendar).
>>>
>>> So far the only message I get in the error console is:
>>> Fehler: An error occurred updating the cmd_delete command: [Exception...
>>> "'[JavaScript Error: "cards[i] is null" {file:
>>> "chrome://messenger/content/addressbook/abResultsPane.js" line: 156}]'
>>> when calling method: [nsIController::isCommandEnabled]"  nsresult:
>>> "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS
>>> frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand ::
>>> line 80"  data: yes]
>>> Quelldatei: chrome://global/content/globalOverlay.js
>>> Zeile: 86
>>>
>>
>> This only means, that there is no address book at the given URL.
> 
> That's what I thought.
> 
>> AFAIK you have to append "principal" to your URL, in order to get the
>> personal address book:
>> https://p01-contacts.icloud.com/XX/principal
>>
>> Also be aware that the Number of the server is not always equal to the
>> one for calendars.
>> So try others too, e.g. p02-contacts.icloud.com.
> 
> I tried all combinations of the server with the "principal" appended
> (01-08) but without luck.
> 
> Just to verify, I tried em Client (as it was mentioned, that this PIM
> would support CardDav as well), and it could connect using the URL
> https://p01-contacts.icloud.com/XX/carddavhome/
> and it works.
> But of course I'd really like to have it in my TB (and thus using Sogo).
> 
> Using the working URL, currently I just get the above mentioned error
> message. I'm just confused, because I found several sources on the net,
> that mentioned, that it would work.
> 
> Perhaps there's someone else, who can share his (working) experience
> with iCloud and Sogo.
> 

Then you should file a bug report at http://www.sogo.nu/bugs for project
"SOGo Connector".

Seems like a bug to me.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Using Sogo Connector in TB to access iCloud address book

2012-06-11 Thread Phil

Hi Christian,

thx for the reply.


I would like to connect to the iCloud address book, which is supposed to
be accessible via a CardDav client (that's how I came across Sogo).

I found some basic information on the internet net, but couldn't get it
to work yet.
I am using TB 10.0.5 ESR, Lightning 1.2.3 and Sogo Connector 10.0.2 (as
recommended in the documentation).



You mean to create a synchronization with an existing address book, not
to create an address book on the server, aren't you?

Then you have to give Connector the full URL to the address book.
It will not discover them for you.


Yes, I want to access the existing address book hosted by the iCloud 
service.



I am using an URL like https://p01-contacts.icloud.com/XX/
where X is my unique ID (the ID is working perfectly with the accessing
of my calendar).

So far the only message I get in the error console is:
Fehler: An error occurred updating the cmd_delete command: [Exception...
"'[JavaScript Error: "cards[i] is null" {file:
"chrome://messenger/content/addressbook/abResultsPane.js" line: 156}]'
when calling method: [nsIController::isCommandEnabled]"  nsresult:
"0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS
frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand ::
line 80"  data: yes]
Quelldatei: chrome://global/content/globalOverlay.js
Zeile: 86



This only means, that there is no address book at the given URL.


That's what I thought.


AFAIK you have to append "principal" to your URL, in order to get the
personal address book:
https://p01-contacts.icloud.com/XX/principal

Also be aware that the Number of the server is not always equal to the
one for calendars.
So try others too, e.g. p02-contacts.icloud.com.


I tried all combinations of the server with the "principal" appended 
(01-08) but without luck.


Just to verify, I tried em Client (as it was mentioned, that this PIM 
would support CardDav as well), and it could connect using the URL

https://p01-contacts.icloud.com/XX/carddavhome/
and it works.
But of course I'd really like to have it in my TB (and thus using Sogo).

Using the working URL, currently I just get the above mentioned error 
message. I'm just confused, because I found several sources on the net, 
that mentioned, that it would work.


Perhaps there's someone else, who can share his (working) experience 
with iCloud and Sogo.


Thx in advance,
Phil
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Using Sogo Connector in TB to access iCloud address book

2012-06-11 Thread Christian Mack
Hello Phil


On 2012-06-08 17:12, Phil wrote:
> 
> I hope this is the right group to ask, since it's just a question
> regarding the Sogo Connector in Thunderbird.
> 

Yes, this list is for SOGo, Connector add-on and Integrator add-on users.


> I would like to connect to the iCloud address book, which is supposed to
> be accessible via a CardDav client (that's how I came across Sogo).
> 
> I found some basic information on the internet net, but couldn't get it
> to work yet.
> I am using TB 10.0.5 ESR, Lightning 1.2.3 and Sogo Connector 10.0.2 (as
> recommended in the documentation).
> 
> Has anybody got this to work? 

No, sorry, I don't use iCloud.


> Is there a special URL Sogo Connector
> expects, when I try to create the remote address book?

You mean to create a syncronisation with an existing address book, not
to create an address book on the server, aren't you?

Then you have to give Connector the full URL to the address book.
It will not discover them for you.


> I am using an URL like https://p01-contacts.icloud.com/XX/
> where X is my unique ID (the ID is working perfectly with the accessing
> of my calendar).
> 
> So far the only message I get in the error console is:
> Fehler: An error occurred updating the cmd_delete command: [Exception...
> "'[JavaScript Error: "cards[i] is null" {file:
> "chrome://messenger/content/addressbook/abResultsPane.js" line: 156}]'
> when calling method: [nsIController::isCommandEnabled]"  nsresult:
> "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS
> frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand ::
> line 80"  data: yes]
> Quelldatei: chrome://global/content/globalOverlay.js
> Zeile: 86
> 

This only means, that there is no address book at the given URL.

AFAIK you have to append "principal" to your URL, in order to get the
personal address book:
https://p01-contacts.icloud.com/XX/principal

Also be aware that the Number of the server is not always equal to the
one for calendars.
So try others too, e.g. p02-contacts.icloud.com.


Hope this helps a bit.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Using Sogo Connector in TB to access iCloud address book

2012-06-08 Thread Phil

Hi,

I hope this is the right group to ask, since it's just a question 
regarding the Sogo Connector in Thunderbird.


I would like to connect to the iCloud address book, which is supposed to 
be accessible via a CardDav client (that's how I came across Sogo).


I found some basic information on the internet net, but couldn't get it 
to work yet.
I am using TB 10.0.5 ESR, Lightning 1.2.3 and Sogo Connector 10.0.2 (as 
recommended in the documentation).


Has anybody got this to work? Is there a special URL Sogo Connector 
expects, when I try to create the remote address book?

I am using an URL like https://p01-contacts.icloud.com/XX/
where X is my unique ID (the ID is working perfectly with the accessing 
of my calendar).


So far the only message I get in the error console is:
Fehler: An error occurred updating the cmd_delete command: [Exception... 
"'[JavaScript Error: "cards[i] is null" {file: 
"chrome://messenger/content/addressbook/abResultsPane.js" line: 156}]' 
when calling method: [nsIController::isCommandEnabled]"  nsresult: 
"0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS 
frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand :: 
line 80"  data: yes]

Quelldatei: chrome://global/content/globalOverlay.js
Zeile: 86

Thx in advance for your comments,

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


Re: [SOGo] Using SOGo behind a router

2012-04-09 Thread Kniggedigge
Hi Stefan an others,

thanks for your advice, I'll try it both ways. If I'm successful, I'll report 
it, otherwise, too ;)

Thanks very much,

Greets Tim


Am 07.04.2012 um 23:16 schrieb Stefan Klatt:

Am 07.04.2012 19:39, schrieb Romain LE DISEZ:
> Hi Tim,
> 
> a better description of the problem than "it does not work" could help.
> 
> But, here is my idea. When configuring a SOGo server, you configure Apache to 
> set some headers that indicate to SOGo the URL/port used for the connection.
> 
> If it work internally, you probably set those headers:
> RequestHeader set "x-webobjects-server-port" "80"
> RequestHeader set "x-webobjects-server-name" "192.168.1.3"
> RequestHeader set "x-webobjects-server-url" "http://192.168.1.3";
> 
> But these values are incorrects when accessing from the outside. Try to 
> change these values with the "outside" URL / port:
> RequestHeader set "x-webobjects-server-port" "665"
> RequestHeader set "x-webobjects-server-name" "140.134.120.134"
> RequestHeader set "x-webobjects-server-url" "http://140.134.120.134:675";
> 
> If it works, you found the problem. The fix is to create two vhosts in Apache.
> 
> You can also use a generic configuration (but for the port forwarding, you 
> must have inside port = outside port). See the diff attached for a generic 
> Apache configuration (generated on a CentOS, can't guarantee it is applicable 
> on a Debian).
It's better to work with (dynamic) DNS names.
For this you need an internal DNS server which resolves the internal IP
address for the (dynamic) name you use external and you get everytime
the right IP address.
If you have no DNS server in your local network you can use an entry at
the local host table on each PC or on the firewall/router (if this is
supported).

Stefan

-- 
*CaC, Computer and Communication*
Inhaber Stefan Klatt
End-2-End Senior Network Consultant
Triftstrasse 9
60528 Frankfurt
Germany
USt-IdNr.: DE260461592

Tel.: +49-(0)172-6807809
Tel.: +49-(0)69-67808-900
Fax: +49-(0)69-67808-837
Email: stefan.kl...@cac-netzwerk.de


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

Re: [SOGo] Using SOGo behind a router

2012-04-07 Thread Stefan Klatt
Am 07.04.2012 19:39, schrieb Romain LE DISEZ:
> Hi Tim,
>
> a better description of the problem than "it does not work" could help.
>
> But, here is my idea. When configuring a SOGo server, you configure Apache to 
> set some headers that indicate to SOGo the URL/port used for the connection.
>
> If it work internally, you probably set those headers:
> RequestHeader set "x-webobjects-server-port" "80"
> RequestHeader set "x-webobjects-server-name" "192.168.1.3"
> RequestHeader set "x-webobjects-server-url" "http://192.168.1.3";
>
> But these values are incorrects when accessing from the outside. Try to 
> change these values with the "outside" URL / port:
> RequestHeader set "x-webobjects-server-port" "665"
> RequestHeader set "x-webobjects-server-name" "140.134.120.134"
> RequestHeader set "x-webobjects-server-url" "http://140.134.120.134:675";
>
> If it works, you found the problem. The fix is to create two vhosts in Apache.
>
> You can also use a generic configuration (but for the port forwarding, you 
> must have inside port = outside port). See the diff attached for a generic 
> Apache configuration (generated on a CentOS, can't guarantee it is applicable 
> on a Debian).
It's better to work with (dynamic) DNS names.
For this you need an internal DNS server which resolves the internal IP
address for the (dynamic) name you use external and you get everytime
the right IP address.
If you have no DNS server in your local network you can use an entry at
the local host table on each PC or on the firewall/router (if this is
supported).

Stefan

-- 
*CaC, Computer and Communication*
Inhaber Stefan Klatt
End-2-End Senior Network Consultant
Triftstrasse 9
60528 Frankfurt
Germany
USt-IdNr.: DE260461592

Tel.: +49-(0)172-6807809
Tel.: +49-(0)69-67808-900
Fax: +49-(0)69-67808-837
Email: stefan.kl...@cac-netzwerk.de
<>

signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Using SOGo behind a router

2012-04-07 Thread Romain LE DISEZ
Hi Tim,

a better description of the problem than "it does not work" could help.

But, here is my idea. When configuring a SOGo server, you configure Apache to 
set some headers that indicate to SOGo the URL/port used for the connection.

If it work internally, you probably set those headers:
RequestHeader set "x-webobjects-server-port" "80"
RequestHeader set "x-webobjects-server-name" "192.168.1.3"
RequestHeader set "x-webobjects-server-url" "http://192.168.1.3";

But these values are incorrects when accessing from the outside. Try to change 
these values with the "outside" URL / port:
RequestHeader set "x-webobjects-server-port" "665"
RequestHeader set "x-webobjects-server-name" "140.134.120.134"
RequestHeader set "x-webobjects-server-url" "http://140.134.120.134:675";

If it works, you found the problem. The fix is to create two vhosts in Apache.

You can also use a generic configuration (but for the port forwarding, you must 
have inside port = outside port). See the diff attached for a generic Apache 
configuration (generated on a CentOS, can't guarantee it is applicable on a 
Debian).


Greetings.


Le Samedi 07 Avril 2012 13:54 CEST, Kniggedigge  a 
écrit:

> Hi Marc, hi Christian,
>
> sry for not describing my setup in detail:
>
> Lets say the subnet behind the router is something like: 192.168.1.0/24
> The "WAN" in which the router is placed is the 140.134.120.134 subnet.
> When I try to connect to SOGo via lightning or webinterface in the subnet 
> (192.168...) everything works.
>
> But when I connect to the subnet via port forwarding through the router (port 
> 675 is forwarded to the internal address of
> the SOGo server (say its 192.168.1.3) on port 80) it does not work.
>
> How should a setup look like to fully connect with the SOGo server from 
> outside (140.134.12)?
>
> Thanks in advance and happy easter,
>
> Tim
>
>
> Am 05.04.2012 um 11:49 schrieb Christian Mack:
>
> Hello  Tim
>
>
> Am Donnerstag, 05. April 2012 11h:10m CEST, Kniggedigge 
>  schrieb:
> >
> > I just tried to use SOGo behind a router in a subnet. When I'm accessing 
> > SOGo in the subnet, there's no problem.
> > But when I try to access SOGo from the WAN, the address is always rewritten.
> >
> > Is there anybody who figured out how to configure apache, so that it is 
> > possible to access SOGo from the "outside"?
> >
>
> Obviously your Router uses NAT.
> So it always rewrites the IP of the Sender to its own.
> And in order to reach your server behind it, you have to use the IP of your 
> router instead of the IP of your SOGo server.
>
> That's how NAT works!
>
> You could use the same DNS name from inside and outside, if you use split DNS.
> This means, if you search with the DNS name of your SOGo server, you have to 
> provide to the Internet the IP of your router and for your subnet you provide 
> the IP of your real SOGo server.
> This only works with 2 DNS servers with different information, which must be 
> kept synchronized.
>
>
> Kind regards,
> Christian Mack
>
> --
> Christian Mack
> Rechenzentrum Universität Konstanz
> mailto:christian.m...@uni-konstanz.de
> http://www.rz.uni-konstanz.de/
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
--
Romain LE DISEZ
Support technique, Netensia
Administratif & Commercial : +33 811 555 005 (prix d'un appel local)
Support Hébergement : +33 2 97 69 05 68
Télécopie : +33 2 97 68 14 01

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

Re: [SOGo] Using SOGo behind a router

2012-04-07 Thread Kniggedigge
Hi Marc, hi Christian,

sry for not describing my setup in detail:

Lets say the subnet behind the router is something like: 192.168.1.0/24
The "WAN" in which the router is placed is the 140.134.120.134 subnet.
When I try to connect to SOGo via lightning or webinterface in the subnet 
(192.168...) everything works.

But when I connect to the subnet via port forwarding through the router (port 
675 is forwarded to the internal address of
the SOGo server (say its 192.168.1.3) on port 80) it does not work.

How should a setup look like to fully connect with the SOGo server from outside 
(140.134.12)?

Thanks in advance and happy easter,

Tim


Am 05.04.2012 um 11:49 schrieb Christian Mack:

Hello  Tim


Am Donnerstag, 05. April 2012 11h:10m CEST, Kniggedigge 
 schrieb: 
> 
> I just tried to use SOGo behind a router in a subnet. When I'm accessing SOGo 
> in the subnet, there's no problem.
> But when I try to access SOGo from the WAN, the address is always rewritten.
> 
> Is there anybody who figured out how to configure apache, so that it is 
> possible to access SOGo from the "outside"?
> 

Obviously your Router uses NAT.
So it always rewrites the IP of the Sender to its own. 
And in order to reach your server behind it, you have to use the IP of your 
router instead of the IP of your SOGo server.

That's how NAT works!

You could use the same DNS name from inside and outside, if you use split DNS.
This means, if you search with the DNS name of your SOGo server, you have to 
provide to the Internet the IP of your router and for your subnet you provide 
the IP of your real SOGo server.
This only works with 2 DNS servers with different information, which must be 
kept synchronized.


Kind regards,
Christian Mack

-- 
Christian Mack
Rechenzentrum Universität Konstanz
mailto:christian.m...@uni-konstanz.de
http://www.rz.uni-konstanz.de/

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

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

Re: [SOGo] Using SOGo behind a router

2012-04-05 Thread Marc Patermann

Tim,

Kniggedigge schrieb (05.04.2012 11:10 Uhr):


I just tried to use SOGo behind a router in a subnet. When I'm
accessing SOGo in the subnet, there's no problem. But when I try to
access SOGo from the WAN, the address is always rewritten.

I think, what you want to tell is that your problem is with NAT, isn't it?
You come across a lot of routers while using the internet, and this is 
probably alway fine. :)



Is there anybody who figured out how to configure apache, so that it
is possible to access SOGo from the "outside"?
It think you have to tell a few more details about your configuration 
and your the issues you see.



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


Re: [SOGo] Using SOGo behind a router

2012-04-05 Thread Christian Mack
Hello  Tim


Am Donnerstag, 05. April 2012 11h:10m CEST, Kniggedigge 
 schrieb: 
> 
> I just tried to use SOGo behind a router in a subnet. When I'm accessing SOGo 
> in the subnet, there's no problem.
> But when I try to access SOGo from the WAN, the address is always rewritten.
> 
> Is there anybody who figured out how to configure apache, so that it is 
> possible to access SOGo from the "outside"?
> 

Obviously your Router uses NAT.
So it always rewrites the IP of the Sender to its own. 
And in order to reach your server behind it, you have to use the IP of your 
router instead of the IP of your SOGo server.

That's how NAT works!

You could use the same DNS name from inside and outside, if you use split DNS.
This means, if you search with the DNS name of your SOGo server, you have to 
provide to the Internet the IP of your router and for your subnet you provide 
the IP of your real SOGo server.
This only works with 2 DNS servers with different information, which must be 
kept synchronized.


Kind regards,
Christian Mack

-- 
Christian Mack
Rechenzentrum Universität Konstanz
mailto:christian.m...@uni-konstanz.de
http://www.rz.uni-konstanz.de/
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Using SOGo behind a router

2012-04-05 Thread Kniggedigge
Hi folks,

I just tried to use SOGo behind a router in a subnet. When I'm accessing SOGo 
in the subnet, there's no problem.
But when I try to access SOGo from the WAN, the address is always rewritten.

Is there anybody who figured out how to configure apache, so that it is 
possible to access SOGo from the "outside"?

Thanks for your help in advance,

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