[SOGo] Sieve and out of the office

2013-01-10 Thread Luis Angel Fernandez Fernandez
  Hi

  I'm having this problem with SOGo and sieve (dovecot pigeonhole). I can
set an auto answer and I see a sogo.sieve script in the user home folder
but when someone sends an email to that account no auto answer is sent.
There is no error in SOGo or dovecot logs. And cron jobs are executed but
nothing happens.

  I tried to execute sogo-ealarms-notify as sogo user and nothing happens
either. So I tried to run it through strace -f and it seems there is
something wrong when sogo-ealarms-notify tries to connect to the MySQL
server.

  I have alarms enabled in SOGo configuration, I set
OCSEMailAlarmsFolderURL and I can connect and read to the database server
using OCSEMailAlarmsFolderURL's value.

  I would appreciate any help here because I don't know where else I can
take a look at.

  Bye.

-- 
Linkedin profile (http://es.linkedin.com/in/lafdez)
G+ profile (https://plus.google.com/u/0/115320207805121303027/about)
Twitter (@lafdez @_lafdez_)
Identi.ca (@lafdez)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SMTP AUTH email address as username

2013-01-10 Thread Julien Escario

Le 12/12/2012 15:04, Julien Escario a écrit :

Hello,
We recently upgraded to sogo v2. Before that, our sogo was sending
e-mail via a smarthost with a whitelist.
We would like to change to use SMTP AUTH, far more secure.

But when trying to send a mail, Sogo authenticate with the username and
our server ask for the e-mil address as username. Is there a way to
change this ? Like the SOGoForceIMAPLoginWithEmail for IMAP.


Nobody have a clue about this ?

Which ldap entry is used by sogo to authenticate against an external SMTP 
server ?

Right now, sogo is trying to authenticate with 'sogotry' and I would like it to 
do it with 'sogo...@domain.com'.


Using the embedded postfix as an authenticated smart relay isn't an acceptable 
solution.


Regards,
Julien

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


Re: [SOGo] SMTP AUTH email address as username

2013-01-10 Thread John Bieling

Am 10.01.2013 11:15, schrieb Julien Escario:

Le 12/12/2012 15:04, Julien Escario a écrit :

Hello,
We recently upgraded to sogo v2. Before that, our sogo was sending
e-mail via a smarthost with a whitelist.
We would like to change to use SMTP AUTH, far more secure.

But when trying to send a mail, Sogo authenticate with the username and
our server ask for the e-mil address as username. Is there a way to
change this ? Like the SOGoForceIMAPLoginWithEmail for IMAP.


Nobody have a clue about this ?

Which ldap entry is used by sogo to authenticate against an external 
SMTP server ?


Right now, sogo is trying to authenticate with 'sogotry' and I would 
like it to do it with 'sogo...@domain.com'.


Using the embedded postfix as an authenticated smart relay isn't an 
acceptable solution.


Regards,
Julien


I am working on a patch for that

http://www.sogo.nu/bugs/view.php?id=2163

It is not entirely related to your question, but eventually It will 
allow to login with an email-address. Hope to get it into 2.0.4


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


Re: [SOGo] Funambol: Officer not working / How to workaround

2013-01-10 Thread Hagen Richter

And there might be the problem:
localhost could resolve to the local ipv6 address, on which sogo might 
not be bound.

try 127.0.0.1 instead

mfg


No, since the existing file was ok. 'Localhost' and port 2.


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


[SOGo] SOGo oddities

2013-01-10 Thread Ron Yacketta
We have been running in production mode for at least 2 - 3 weeks now 
with no configuration changes to the server. This morning I noticed 
sluggish responses times from SOGo and found one of the 8 alloted SOGo 
processes pegged at 100% CPU. Checked the logs and noticed the following 
[ERROR]'s :



Jan 10 08:15:33 sogod [30355]: [ERROR] 
0x0x7f77415b98b8[WOWatchDogChild] FAILURE receiving status for child 
14040
Jan 10 08:15:33 sogod [30355]: [ERROR] 
0x0x7f77415b98b8[WOWatchDogChild]   socket: 
NGActiveSocket[0x0x7f7741657fa8]: mode=r
w address=(null) connectedTo=0x0x7f77416a65e8[NGLocalSocketAddress]: 
/tmp/_ngsocket_0x7693_0x7f77413d8b68_000 receive-timeou

t=1.000s
Jan 10 08:15:33 sogod [30355]: [ERROR] 
0x0x7f77415b98b8[WOWatchDogChild]   exception: 
NGSocketTimedOutException: 0x7f77416b
b388 NAME:NGSocketTimedOutException REASON:the socket was shutdown 
INFO:{errno = 11; error = Resource temporarily unavailabl
e; stream = {object = NGActiveSocket[0x0x7f7741657fa8]: mode=rw 
address=(null) connectedTo=0x0x7f77416a65e8[NGLocalSocketA
ddress]: /tmp/_ngsocket_0x7693_0x7f77413d8b68_000 
receive-timeout=1.000s;}; }
Jan 10 08:15:33 sogod [30355]: [ERROR] 
0x0x7f77415b98b8[WOWatchDogChild] FAILURE notifying child 14040


Jan 10 08:23:08 sogod [30360]: [ERROR] 
0x434BB1B8[SOGoAppointmentFolder]:personal missing exception record 
for recurrence-id

 2013-01-08 10:00:00 + (uid 33FB-50EAD000-1CB3-72E63A80)
Jan 10 08:27:20 sogod [30360]: [ERROR] 
0x45068058[SOGoAppointmentFolder]:bennetbs_personal DAV property 
'{http://calendarser
ver.org/ns/}updated-by' has no matching SQL field, response could be 
incomplete
Jan 10 08:28:31 sogod [31060]: [ERROR] 
0x47C9D738[SOGoAppointmentFolder]:personal DAV property 
'{urn:ietf:params:xml:ns:cald

av}schedule-tag' has no matching SQL field, response could be incomplete

Jan 10 08:28:52 sogod [31060]: [ERROR] UIxCalListingActions event 
'630F-50ED7A80-17-170A45A0.ics' has a computed offset that

 overflows the amount of blocks (skipped)


Jan 10 09:10:22 sogod [15411]: [WARN] 
0x0x7f5792e91ec8[UIxEnvelopeAddressFormatter] unexpected envelope 
address: 0x0x7f5792f62b48[NGImap4EnvelopeAddress]:
Jan 10 09:10:22 sogod [15411]: [WARN] 
0x0x7f5792e91ec8[UIxEnvelopeAddressFormatter] unexpected envelope 
address: 0x0x7f5792f83158[NGImap4EnvelopeAddress]:
Jan 10 09:10:22 sogod [15411]: [WARN] 
0x0x7f5792e91ec8[UIxEnvelopeAddressFormatter] unexpected envelope 
address: 0x0x7f5792f896c8[NGImap4EnvelopeAddress]:
Jan 10 09:10:22 sogod [15411]: [WARN] 
0x0x7f5792e91ec8[UIxEnvelopeAddressFormatter] unexpected envelope 
address: 0x0x7f5792f8c5b8[NGImap4EnvelopeAddress]:



The following appear to be bugs which I'll put a bug report in :

Jan 10 08:44:34 sogod [30363]: 0x0x7f77428a7338[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseData]): got content size '0'!
Jan 10 08:44:34 sogod [30363]: 0x0x7f77428a7338[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.
Jan 10 08:44:34 sogod [30363]: 0x0x7f77428a7338[NGImap4ResponseParser] 
ERROR: got no body content for key: 'body[2.8.1]'
Jan 10 08:44:34 sogod [30363]: [ERROR] 
0x45A3DF78[SOGoMailObject]:45815 got no data for key: body[2.8.1]
Jan 10 08:44:34 sogod [30363]: [ERROR] UIxMailPartTextViewer got no text 
content: 2.8.1
Jan 10 08:44:34 sogod [30358]: 0x0x7f7742d19408[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseData]): got conte nt size '0'!
Jan 10 08:44:34 sogod [30358]: 0x0x7f7742d19408[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.
Jan 10 08:44:34 sogod [30358]: 0x0x7f7742d19408[NGImap4ResponseParser] 
ERROR: got no body content for key: 'body[2.8.1]'
Jan 10 08:44:34 sogod [30358]: [ERROR] 
0x42BFC4C8[SOGoMailObject]:45815 got no data for key: body[2.8.1]
Jan 10 08:44:34 sogod [30358]: [ERROR] UIxMailPartTextViewer got no text 
content: 2.8.1
Jan 10 08:44:34 sogod [30360]: 0x0x7f774740f6c8[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseData]): got content size '0'!
Jan 10 08:44:34 sogod [30360]: 0x0x7f774740f6c8[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.
Jan 10 08:44:34 sogod [30360]: 0x0x7f774740f6c8[NGImap4ResponseParser] 
ERROR: got no body content for key: 'body[2.26.1]'
Jan 10 08:44:34 sogod [30360]: [ERROR] 
0x494F7C68[SOGoMailObject]:45814 got no data for key: body[2.26.1]
Jan 10 08:44:34 sogod [30360]: [ERROR] 
0x0x7f77469d5ae8[UIxMailRenderingContext] found no viewer for MIME 
type: application/

x-mspublisher
Jan 10 08:44:34 sogod [30357]: 0x0x7f774b634328[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseData]): got content size '0'!
Jan 10 08:44:34 sogod [30357]: 0x0x7f774b634328[NGImap4ResponseParser] 
ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.
Jan 10 08:44:34 sogod [30357]: 0x0x7f774b634328[NGImap4ResponseParser] 
ERROR: got no body content for key: 'body[2.26.1]'
Jan 10 08:44:34 sogod [30357]: [ERROR] 

Re: [SOGo] Sieve and out of the office

2013-01-10 Thread Luis Angel Fernandez Fernandez
2013/1/10 Jean Raby jr...@inverse.ca

 On 13-01-10 3:59 AM, Luis Angel Fernandez Fernandez wrote:

Hi

I'm having this problem with SOGo and sieve (dovecot pigeonhole). I
 can set an auto answer and I see a sogo.sieve script in the user home
 folder but when someone sends an email to that account no auto answer is
 sent. There is no error in SOGo or dovecot logs. And cron jobs are
 executed but nothing happens.

  Can you post the content of the sogo.sieve script when the vacation
 message is enabled?


require [vacation];
if allof ( not exists [list-help, list-unsubscribe, list-subscribe,
list-owner, list-post, list-archive, list-id, Mailing-List], not
header :comparator i;ascii-casemap :is Precedence [list, bulk,
junk], not header :comparator i;ascii-casemap :matches To Multiple
recipients of* ) {vacation :days 1 :addresses
[luisangel.fernan...@aliratiun.tic] text:
No estoy aquí
.
;
}




 Also, make sure the Email Addresses field is filled correctly in the
 preference dialog (vacation tab).


  It is filled only with the user's email address. I tried to remove it and
then I clicked the Add default email addresses and it filled with user's
email address so I guess it is filled correctly.



 If you set regular sieve filters under the mail options tab, do they
 work as expected?


  I hadn't tried them yet. I added one filter now and it seems they aren't
working but the filter was added to the sogo.sieve script.

require [fileinto,vacation];
if anyof (header :contains subject prueba) {
fileinto Carpeta publicada;
}
if allof ( not exists [list-help, list-unsubscribe, list-subscribe,
list-owner, list-post, list-archive, list-id, Mailing-List], not
header :comparator i;ascii-casemap :is Precedence [list, bulk,
junk], not header :comparator i;ascii-casemap :matches To Multiple
recipients of* ) {vacation :days 1 :addresses
[luisangel.fernan...@aliratiun.tic] text:
No estoy aquí
.
;
}



 I tried to execute sogo-ealarms-notify as sogo user and nothing
 happens either. So I tried to run it through strace -f and it seems
 there is something wrong when sogo-ealarms-notify tries to connect to
 the MySQL server.

 sogo-ealarms-notify is for email reminders and it has nothing to do with
 vacation replies.
 Those are handled by the imap server via sieve.


  Ok. Good to know, thank you.



-- 
Linkedin profile (http://es.linkedin.com/in/lafdez)
G+ profile (https://plus.google.com/u/0/115320207805121303027/about)
Twitter (@lafdez @_lafdez_)
Identi.ca (@lafdez)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Reminder in Thunderbird but not in SOGo with group calendar and other problem

2013-01-10 Thread Götz Reinicke - IT Koordinator
Hi,

may be this was discussed somewhere, but I did not find anything related
yet:

I do have created a calendar for our department in sogo and allow my
coworkers to add and edit appointments.

Now I can see the appointments in Thunderbird/Lightning 17.0.2, see that
there is a reminder 30 Minutes ahead of the appointment, but do not get
any notification.

In sogo I dont see that there is a reminder set at all.

One other coworker added the calendar to his Thunderbird/Lightning
17.0.2, get the data loaded and reminders pop up.

But he cant close the reminders, he can only close the reminder window.
Than the calendar is marked as offline.

If he tries to close a reminder he gets the error MODIFICATION_FAILED
Servre Replies with 403

May be someone has an explanation? Any suggestion is welcome.

sogo-2.0.3a-1.centos6.x86_64

Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


Re: [SOGo] Reminder in Thunderbird but not in SOGo with group calendar and other problem - SOLVED

2013-01-10 Thread Götz Reinicke - IT Koordinator
Hi,

sorry for the noise; I had to edit the ACL for the calendar from the web
frontend. Now users can accept the reminders and modify calenders.

Or did I mix up something?

Regards . Götz

Am 10.01.13 15:23, schrieb Götz Reinicke - IT Koordinator:
 Hi,
 
 may be this was discussed somewhere, but I did not find anything related
 yet:
 
 I do have created a calendar for our department in sogo and allow my
 coworkers to add and edit appointments.
 
 Now I can see the appointments in Thunderbird/Lightning 17.0.2, see that
 there is a reminder 30 Minutes ahead of the appointment, but do not get
 any notification.
 
 In sogo I dont see that there is a reminder set at all.
 
 One other coworker added the calendar to his Thunderbird/Lightning
 17.0.2, get the data loaded and reminders pop up.
 
 But he cant close the reminders, he can only close the reminder window.
 Than the calendar is marked as offline.
 
 If he tries to close a reminder he gets the error MODIFICATION_FAILED
 Servre Replies with 403
 
 May be someone has an explanation? Any suggestion is welcome.
 
   sogo-2.0.3a-1.centos6.x86_64
 
   Regards . Götz
 


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


[SOGo] DB Backend

2013-01-10 Thread Ron Yacketta
We are a MySQL shop but installed PostgreSQL for SOGo based on the 
recommendation listed in the SOGo Install Guide.


Is their a reason one DB backend is recommended over the other for SOGo? 
We are considering moving SOGo to our clustered MySQL environment, but 
would like more information about the PROs / CONs of doing so with 
respect to SOGo.


Regards,

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

Re: [SOGo] Sieve and out of the office

2013-01-10 Thread Jean Raby

On 13-01-10 9:14 AM, Luis Angel Fernandez Fernandez wrote:


If you set regular sieve filters under the mail options tab, do
they work as expected?


I hadn't tried them yet. I added one filter now and it seems they aren't
working but the filter was added to the sogo.sieve script.


Then I guess this is a problem with dovecot configuration of the sieve 
plugin (managesieve works correctly since the scripts are created)


How does your mta deliver mails to dovecot? Is the sieve plugin enabled 
for that delivery method? (LDA, LMTP)


See http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration

--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] DB Backend

2013-01-10 Thread Buddy Butterfly
Hi Ron,

I would not not start the DB  fight here ;-)
Just google for mysql versus postgres. You will be offered lots of
information.
The decision to use postgresql is a wise one as this is a very mature,
free, transactional databse.
The main points will be:

1. It is really free and open source. No dual license what so ever.

2. It is very sql standard conform and often comes into place when
seeking a replacement for oracle.

3. It is very well documented.

4. Is is a object relational database (you can inherit tables)

5. It has a big choice PL/pgSQL,PL/Tcl, PL/Perl, PL/Python, PL/Java,
PL/PHP, PL/Py, PL/R, PL/Ruby, PL/Scheme, PL/sh
(to mention a few ;-)

etc. etc. You see where my preference is ;-)

But if you like, you could also go with MS Access or Firebird?
Where is the difference between MS Access / Firebird compared to MS SQL?

Best regards,
Matt


Am 10.01.2013 16:21, schrieb Ron Yacketta:
 We are a MySQL shop but installed PostgreSQL for SOGo based on the
 recommendation listed in the SOGo Install Guide.
  
 Is their a reason one DB backend is recommended over the other for
 SOGo? We are considering moving SOGo to our clustered MySQL
 environment, but would like more information about the PROs / CONs of
 doing so with respect to SOGo.
  
 Regards,
  
 Ron
  

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

Re: [SOGo] DB Backend

2013-01-10 Thread Buddy Butterfly
Hi,

to be a bit more honest.

I think you will find some differences in SQL and probably have to adapt
the DB-Model (regarding Types).
I am not sure if Sogo uses a persistance framework layer such that a DB
migration would be quite easy.
If not then general documentation (google) about migrating from Postgres
to MySQL will give you the
clue.

Cheers,
Matt


Am 10.01.2013 16:21, schrieb Ron Yacketta:
 We are a MySQL shop but installed PostgreSQL for SOGo based on the
 recommendation listed in the SOGo Install Guide.
  
 Is their a reason one DB backend is recommended over the other for
 SOGo? We are considering moving SOGo to our clustered MySQL
 environment, but would like more information about the PROs / CONs of
 doing so with respect to SOGo.
  
 Regards,
  
 Ron
  

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

Re: [SOGo] DB Backend

2013-01-10 Thread Romain LE DISEZ
To migrate a SOGo installation from PostgreSQL to MySQL (or the
opposite), use sogo-tool backup / sogo-tool restore

I did it last month, it works fine.

Greetings.

-- 
Romain LE DISEZ

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


Re: [SOGo] DB Backend

2013-01-10 Thread Buddy Butterfly
this sounds really easy ;-)

Am 10.01.2013 17:03, schrieb Romain LE DISEZ:
 To migrate a SOGo installation from PostgreSQL to MySQL (or the
 opposite), use sogo-tool backup / sogo-tool restore

 I did it last month, it works fine.

 Greetings.


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


Re: [SOGo] DB Backend

2013-01-10 Thread Ronald J. Yacketta
Correct,

That is the way we would go if we venture down that road.

Would like to hear from Inverse as to their recommendation for PostgreSQL and 
if their are any PROs / CONs from their POV.

Just trying to gather data, not start the DB war etc.. 
 
 
On Thursday, 10 January, 2013 11:03 EST, Romain LE DISEZ rom...@ledisez.net 
wrote: 
 
 To migrate a SOGo installation from PostgreSQL to MySQL (or the
 opposite), use sogo-tool backup / sogo-tool restore
 
 I did it last month, it works fine.
 
 Greetings.
 
 -- 
 Romain LE DISEZ
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 

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


[SOGo] authentication with kerberos

2013-01-10 Thread cmschube
Is there anyway for SOGO to authenticate with UPPERCASE domain names? I was
having issues with Dovecot with LDAP, so i configured it with Kerberos, which
works great. However, when SOGO passes the authentication piece to Dovecot, it
uses a lowercase domain name..

i.e.

u...@example.com

instead of 

u...@example.com for kerberos to work.

Any insight?

Thanks - 

Chris

CentOS release 6.3 (Final) 2.6.32-279.19.1.el6.x86_64

sogo-2.0.3a-1.centos6.x86_64
postfix-2.6.6-2.2.el6_1.x86_64
dovecot-2.0.9-2.el6_1.1.x86_64
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] authentication with kerberos

2013-01-10 Thread Khapare Joshi
can you share how did you configure sogo with kerberos ?

On Thu, Jan 10, 2013 at 8:03 PM, cmsch...@rockwellcollins.com wrote:

 Is there anyway for SOGO to authenticate with UPPERCASE domain names? I was
 having issues with Dovecot with LDAP, so i configured it with Kerberos,
 which
 works great. However, when SOGO passes the authentication piece to
 Dovecot, it
 uses a lowercase domain name..

 i.e.

 u...@example.com

 instead of

 u...@example.com for kerberos to work.

 Any insight?

 Thanks -

 Chris

 CentOS release 6.3 (Final) 2.6.32-279.19.1.el6.x86_64

 sogo-2.0.3a-1.centos6.x86_64
 postfix-2.6.6-2.2.el6_1.x86_64
 dovecot-2.0.9-2.el6_1.1.x86_64
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

[SOGo] SOGo times out when connecting from localhost

2013-01-10 Thread qschachi
Hi out there,

I've setup sogo on an ubuntu server 12.04 system. 
After following the provided documentation all workes fine for a few weeks.

But now I've this situation:
I can logon into sogo web interface from any external internet IP through my
router on my server running SOGo.
But I can not log on into sogo web interface from localhost or my internal LAN
anymore(but this was working a few days ago!?)
From localhost/LAN after entering my credentials the web interface times out.

I've spent lot of time searching what went wrong but hopefully someone can give
me a hint where I can look to fix this.

I guess thats maybe a problem with the domain name when trying to logon from
localhost/LAN?

It was working from both - I swear - and I cannot remember that I have changed
something in the configuration that causes this problem.
So I'm really confused at the moment :-/

My /etc/apache2/conf.d/SOGo.conf is set to
RequestHeader set x-webobjects-server-port 443
RequestHeader set x-webobjects-server-name mysogopc.no-ip.org
RequestHeader set x-webobjects-server-url https://mysogopc.no-ip.org;

Here are the logs from sogo.log and apache2 ssl_Access.log.

As you can see from localhost/LAN it stoppes after 
GET /SOGo/my.n...@my-domain.com/view 
What could be the reason for it?

I hope someone can give me hint!
Thanks in advance
qschachi

==
==

Looking in the /var/log/sogo/sogo.log
Logon from localhost/LAN - NOT working
==
2013-01-10 21:52:10.351 sogod[6938] WARNING(-[NSNull(misc) count]): called
NSNull -count (returns 0) !!!
localhost - - [10/Jan/2013:21:52:10 GMT] GET /SOGo/ HTTP/1.1 200 4305/0 0.040
12137 64% 40K
Jan 10 21:52:24 sogod [6938]: [ERROR] [RM:MainUI]
-[WOResourceManager(SOGoExtensions) localeForLanguageNamed:]: name parameter
must not be nil!
Jan 10 21:52:24 sogod [6938]: SOGoRootPage successful login for user
'my.n...@my-domain.com' - expire = -1  grace = -1
localhost - - [10/Jan/2013:21:52:24 GMT] POST /SOGo/connect HTTP/1.1 200
27/97 0.173 - - 20K
localhost - - [10/Jan/2013:21:52:24 GMT] GET /SOGo/my.n...@my-domain.com
HTTP/1.1 302 0/0 0.006 - - 0
localhost - - [10/Jan/2013:21:52:24 GMT] GET /SOGo/my.n...@my-domain.com/view
HTTP/1.1 302 0/0 0.008 - - 0

Logon from external internet - working
==
localhost - - [10/Jan/2013:22:08:34 GMT] GET /SOGo HTTP/1.1 302 0/0 0.004 - -
0
2013-01-10 22:08:34.126 sogod[6938] WARNING(-[NSNull(misc) count]): called
NSNull -count (returns 0) !!!
localhost - - [10/Jan/2013:22:08:34 GMT] GET /SOGo/ HTTP/1.1 200 4341/0 0.040
12193 64% 0
Jan 10 22:08:44 sogod [6938]: [ERROR] [RM:MainUI]
-[WOResourceManager(SOGoExtensions) localeForLanguageNamed:]: name parameter
must not be nil!
Jan 10 22:08:44 sogod [6938]: SOGoRootPage successful login for user
'my.n...@my-domain.com' - expire = -1  grace = -1
localhost - - [10/Jan/2013:22:08:44 GMT] POST /SOGo/connect HTTP/1.1 200
27/116 0.162 - - 0
localhost - - [10/Jan/2013:22:08:44 GMT] GET /SOGo/my.n...@my-domain.com
HTTP/1.1 302 0/0 0.006 - - 0
localhost - - [10/Jan/2013:22:08:44 GMT] GET /SOGo/my.n...@my-domain.com/view
HTTP/1.1 302 0/0 0.008 - - 0
localhost - - [10/Jan/2013:22:08:45 GMT] GET
/SOGo/so/my.n...@my-domain.com/Mail HTTP/1.1 302 0/0 0.006 - - 0
2013-01-10 22:08:45.316 sogod[6938] WARNING: IMAP4 connection pooling is
disabled!
2013-01-10 22:08:45.709 sogod[6938] Note(NGImap4Connection): using '/' as the
IMAP4 folder separator.
2013-01-10 22:08:46.508 sogod[6938] Note: using 'UCS-2LE' on Linux.
localhost - - [10/Jan/2013:22:08:46 GMT] GET
/SOGo/so/my.n...@my-domain.com/Mail/view HTTP/1.1 200 10873/0 1.605 39421 72%
3M
localhost - - [10/Jan/2013:22:08:47 GMT] POST
/SOGo/so/my.n...@my-domain.com/Calendar/alarmslist?browserTime=1357852118
HTTP/1.1 200 1031/0 0.089 9015 88% 0
localhost - - [10/Jan/2013:22:08:48 GMT] POST
/SOGo/so/my.n...@my-domain.com/Mail/0/mailboxes HTTP/1.1 200 9079/0 0.915 - -
0
localhost - - [10/Jan/2013:22:08:49 GMT] POST
/SOGo/so/my.n...@my-domain.com/Mail//0/folderINBOX/unseenCount HTTP/1.1 200
13/0 0.968 - - 260K
localhost - - [10/Jan/2013:22:08:49 GMT] POST
/SOGo/so/my.n...@my-domain.com/Mail/foldersState HTTP/1.1 200 151/0 0.015 - -
0

==
==

Looking in the /var/log/apache2/ssl_access.log
Logon from localhost/LAN - NOT working
==
192.168.53.20 - - [10/Jan/2013:21:52:10 +0100] GET /SOGo/ HTTP/1.1 200 6037
- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
192.168.53.20 - - [10/Jan/2013:21:52:10 +0100] GET
/SOGo.woa/WebServerResources/dtree.css?lm=1353531427 HTTP/1.1 200 949
https://192.168.53.3/SOGo/; Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0)
Gecko/20100101 Firefox/17.0
192.168.53.20 - - [10/Jan/2013:21:52:10 +0100] GET
/SOGo.woa/WebServerResources/generic.css?lm=1353531429 HTTP/1.1 200 5716
https://192.168.53.3/SOGo/; Mozilla/5.0 (Windows NT 6.1; 

Re: [SOGo] authentication with kerberos

2013-01-10 Thread cmschube
Sorry.. some more information..

If I log into the IMAP service (port 143 via telnet).. I see this in the 
/var/log/secure

Jan 10 16:31:49 centos01 auth: pam_krb5[15155]: error reading keytab 
'FILE:/etc/krb5.keytab'
Jan 10 16:31:49 centos01 auth: pam_krb5[15155]: TGT verified
Jan 10 16:31:49 centos01 auth: pam_krb5[15155]: authentication succeeds 
for 'user' (u...@example.com)

However, when I log into SOGo, I get this...

Jan 10 16:31:19 centos01 auth: pam_krb5[15155]: authentication fails for 
'u...@example.com' (u...@example.com): Authentication failure (KDC reply 
did not match expectations)





From:   Khapare Joshi khapar...@gmail.com
To: users@sogo.nu
Date:   01/10/2013 02:29 PM
Subject:Re: [SOGo] authentication with kerberos



can you share how did you configure sogo with kerberos ?

On Thu, Jan 10, 2013 at 8:03 PM, cmsch...@rockwellcollins.com wrote:
Is there anyway for SOGO to authenticate with UPPERCASE domain names? I 
was
having issues with Dovecot with LDAP, so i configured it with Kerberos, 
which
works great. However, when SOGO passes the authentication piece to 
Dovecot, it
uses a lowercase domain name..

i.e.

u...@example.com

instead of

u...@example.com for kerberos to work.

Any insight?

Thanks -

Chris

CentOS release 6.3 (Final) 2.6.32-279.19.1.el6.x86_64

sogo-2.0.3a-1.centos6.x86_64
postfix-2.6.6-2.2.el6_1.x86_64
dovecot-2.0.9-2.el6_1.1.x86_64
--
users@sogo.nu
https://inverse.ca/sogo/lists


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

Re: [SOGo] authentication with kerberos

2013-01-10 Thread cmschube
Hello - thanks for the response.. As requested.. and a few other things..

/etc/httpd/conf.d/SOGo.conf

***
Location /SOGo
  AuthType Kerberos
  Require valid-user
  SetEnv proxy-nokeepalive 1
  Allow from all

  KrbAuthRealms EXAMPLE.COM
  KrbServiceName HTTP/host.example@example.com
  Krb5Keytab /etc/httpd/krb5.keytab
  KrbLocalUserMapping On
  RewriteEngine On
  RewriteRule .* - [E=SOGO_REMOTE_USER:%{REMOTE_USER}]
/Location

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo [^]
  RequestHeader set x-webobjects-server-port 80
  RequestHeader set x-webobjects-server-name host
  RequestHeader set x-webobjects-server-url http://host;
  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e
  RequestHeader set x-webobjects-server-protocol HTTP/1.0
  RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e 
env=REMOTE_HOST
  AddDefaultCharset UTF-8
  Order allow,deny
/Proxy
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
***

And actually - I got this working okay. But the problem still seems to be 
that I have dovecot working with Kerberos - I can telnet into the IMAP 
port using my username and password and it works just fine..

**
[root@centos01 httpd]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 
STARTTLS AUTH=PLAIN] Dovecot ready.
. login username password
. OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT 
CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC 
ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
***

My dovecot config looks like this:

***
[root@centos01 httpd]# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.19.1.el6.x86_64 x86_64 CentOS release 6.3 (Final)
auth_debug = yes
auth_debug_passwords = yes
auth_username_format = %Lu
auth_verbose = yes
disable_plaintext_auth = no
mbox_write_locks = fcntl
passdb {
  driver = pam
}
ssl_cert = /etc/pki/dovecot/certs/dovecot.pem
ssl_key = /etc/pki/dovecot/private/dovecot.pem
userdb {
  args = uid=503 gid=503 home=/home/vmail/%u
  driver = static
}
***

The pam_dovecot looks like this...

***
[root@centos01 httpd]# cat /etc/pam.d/dovecot
#%PAM-1.0
authsufficient  pam_krb5.so no_user_check validate
account sufficient  pam_permit.so
[root@centos01 httpd]#

However, when I log into SOGo, then I get the error in my 
/var/log/maillog.

Jan 10 16:19:45 centos01 dovecot: auth: Debug: pam(user,127.0.0.1): lookup 
service=dovecot

Any ideas?

Thanks - 

Chris





From:   Khapare Joshi khapar...@gmail.com
To: users@sogo.nu
Date:   01/10/2013 02:29 PM
Subject:Re: [SOGo] authentication with kerberos



can you share how did you configure sogo with kerberos ?

On Thu, Jan 10, 2013 at 8:03 PM, cmsch...@rockwellcollins.com wrote:
Is there anyway for SOGO to authenticate with UPPERCASE domain names? I 
was
having issues with Dovecot with LDAP, so i configured it with Kerberos, 
which
works great. However, when SOGO passes the authentication piece to 
Dovecot, it
uses a lowercase domain name..

i.e.

u...@example.com

instead of

u...@example.com for kerberos to work.

Any insight?

Thanks -

Chris

CentOS release 6.3 (Final) 2.6.32-279.19.1.el6.x86_64

sogo-2.0.3a-1.centos6.x86_64
postfix-2.6.6-2.2.el6_1.x86_64
dovecot-2.0.9-2.el6_1.1.x86_64
--
users@sogo.nu
https://inverse.ca/sogo/lists


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

[SOGo] BTS activities for Thursday, January 10 2013

2013-01-10 Thread SOGo reporter
Title: BTS activities for Thursday, January 10 2013





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Thursday, January 10 2013

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
504
	2013-01-10 13:39:55
	updated (open)
	Backend Calendar
	Option to create recurrent event for birthday
	
	  
	
2163
	2013-01-10 16:42:37
	updated (open)
	Backend Mail
	In multidomain setup with smtp authentication _smtpSendData is using uid@domainID as login
	
	  
	
2174
	2013-01-10 15:22:14
	updated (open)
	Packaging (RedHat)
	[Red Hat Based OS] init script does not properly shutdown SOGo
	
	  
	
2175
	2013-01-10 20:53:48
	updated (open)
	Web Calendar
	Date Picker does not work for Custom Repeat Events
	
	  
	
2158
	2013-01-10 19:17:44
	updated (open)
	Web General
	Sogo Login Page with multidomain configuration: Dropdown for Domain Selction uses domain-block-names instead of SOGoMailDomain
	
	  
	
2162
	2013-01-10 10:11:38
	updated (open)
	Web General
	Login behaviour in MultiDomain Mode seems to be weird/broken (find user by password match) - alternative suggestion + platch
	
	  
	
2173
	2013-01-10 21:56:33
	assigned (open)
	Web Calendar
	date chooser for setting end date of recurrency does not work
	
	  
	
  
  




Re: [SOGo] Sieve and out of the office

2013-01-10 Thread Luis Angel Fernandez Fernandez
2013/1/10 Jean Raby jr...@inverse.cat.


 Then I guess this is a problem with dovecot configuration of the sieve
 plugin (managesieve works correctly since the scripts are created)

 How does your mta deliver mails to dovecot? Is the sieve plugin enabled
 for that delivery method? (LDA, LMTP)

 See 
 http://wiki2.dovecot.org/**Pigeonhole/Sieve/Configurationhttp://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration


  Thanks. That was the problem. I'm using postfix as MTA and it was
configured to use virtual as transport instead of the one named dovecot
that uses dovecot-lda. Again, my bad.


-- 
Linkedin profile (http://es.linkedin.com/in/lafdez)
G+ profile (https://plus.google.com/u/0/115320207805121303027/about)
Twitter (@lafdez @_lafdez_)
Identi.ca (@lafdez)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists