[SOGo] ActiveSync: status of participants in Calendar disappeared after Ok to notifications

2021-08-25 Thread Alessio Cecchi

Hello,

we are experiencing a problem with calendar management on iOS devices 
(configured using ActiveSync) and Sogo (5.2).


We created an event from the SOGo interface, adding some participants. 
After receiving their update on the status of participation in the 
event, we went to the "Inbox" section of the iOS Calendar and gave the 
Ok to remove the notification of the event. After this action in the 
SOGo interface the details regarding the status of the participants 
disappeared.


Do you have any information or advice on this?
Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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

[SOGo] CalDAV REPLY doesn't works as expected: is a BUG?

2021-08-10 Thread Alessio Cecchi

Hello,

we are implementing the management of ics files attached to an email 
message and we have a couple of questions about it.

We wanted to continue using SOGo's api, being our CalDAV / CardDAV server.

How can we add an event to which we are invited in our calendar (using 
"REQUEST" method)  and automatically send an ics, by email, with the 
"REPLY" method to the event organizer?


We have seen that SOGo uses the "imipAction" function to handle the 
response to the event in the mail module. We looked at the code and saw 
that you fill in the path for the attachment by also entering the 
filename. How can we get the attachment url? We have seen that some 
times the "attachmentAttrs" array, obtained in response to the mail 
message "view" call, is empty and does not have this information. In 
this case you use the name "untitled" with the extension ics.


Are there any other methods of obtaining this information? Are there any 
other ways to accept/decline/tentative an external event and insert it 
into my calendar?


We did some tests, using SOGO version 5.1:

- using Sogo Web app works fine (it uses internal API)

- using iOS clients configured with ActiveSync works fine

- using CalDAV clients doesn't work


Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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

[SOGo] Peak of IMAP connections at first EAS sync

2021-04-14 Thread Alessio Cecchi

Hi,

after the upgrade at SOGo 5.1 (but it may have been there even before) 
we notice that when a new user setup their iPhone with ActiveSync 
protocol for the first time we have a peak of IMAP connection on IMAP 
server (Dovecot) during the initial syncronization.


Currently we have a limit of 50 IMAP session per IP and this limit is 
reached fast by SOGo. Analysing more in deep these sessions they are 
doing nothing, probably are open for FETCH and not close after.


Is this intentional or can be limited/fixed?

Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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

Re: [SOGo] Issue with SOGo CalDAV event REPLY handling

2019-04-26 Thread Alessio Cecchi

Hi Christian,
thanks for your reply.

What you said is correct but we noticed that SOGo removes every attendee 
except the one present in reply ICS.


If you try to send the following ICS REQUEST, every attendee will reply 
with a similar REPLY ics we previously provided (with only theirself).
Once you import all files in organizer's calendar using PUT method, 
you'll notice that everytime SOGo overrides all attendees with the only 
one present in REPLY ics.


Moreover, using the same PUT to update the attendee partecipation status 
in the attendee calendar, you will get the same behaviour.


At the end, every PUT of a REPLY ics will cause the overwrite of all 
attendees in the targeted calendar leaving only the one specified in the 
ics.


We are doing something wrong ? Could you try to reply to an event with 
more than one attendee ?


Thanks for now



BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20190329T143000Z
DTEND:20190329T153000Z
DTSTAMP:20190325T135647Z
ORGANIZER;CN=G:mailto:g...@my-email.com
UID:1ppgvkr2958songgv529v89bvt
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=G;
X-NUM-GUESTS=0:mailto:g...@my-email.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=A;
 X-NUM-GUESTS=0;RSVP=TRUE:mailto:a...@my-email.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=B;
 X-NUM-GUESTS=0;RSVP=TRUE:mailto:b...@my-email.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=C;
 X-NUM-GUESTS=0;RSVP=TRUE:mailto:c...@my-email.com
CREATED:20190325T135645Z
DESCRIPTION:test
LAST-MODIFIED:20190325T135645Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:test my-mail
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR



Il 24/04/19 17:56, Christian Mack (christian.m...@uni-konstanz.de) ha 
scritto:

Hello

Sorry for the late response.

That change is intentional.
Organizer is always also an Attendee, so that is an unnecessary
duplication, which caused problems.
Therefore the unnecessary ATTENDEE entry for the ORGANIZER was removed.


Kind regards,
Christian Mack

Am 29.03.19 um 17:55 schrieb Alessio Cecchi (ales...@skye.it):

we are working on integration betwen Sogo and our CRM, but we have a
problem related to the CalDAV SOGo engine.

We want to update the event in organizer calendar processing an external
ics, sent by mail with method REPLY with only one attendee inside.

We noticed that sending the ics attached in mail directly to caldav
engine causes an override of all attendees with only the one that
answered the email.

Can you provide us some hints on how to proceed the right way ?


This is an example of a request:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20190329T143000Z
DTEND:20190329T153000Z
DTSTAMP:20190325T135647Z
ORGANIZER;CN=G:mailto:g...@gmail.com
UID:1ppgvkr2958songgv529v89bvt
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;
  RSVP=TRUE;CN=a...@gmail.com;X-NUM-GUESTS=0:mailto:a...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=G;
  X-NUM-GUESTS=0:mailto:g...@gmail.com
CREATED:20190325T135645Z
DESCRIPTION:test
LAST-MODIFIED:20190325T135645Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:test gmail
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

This is an example of a reply:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VEVENT
DTSTART:20190329T143000Z
DTEND:20190329T153000Z
DTSTAMP:20190325T135647Z
ORGANIZER;CN=G:mailto:g...@gmail.com
UID:1ppgvkr2958songgv529v89bvt
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;
  CN=a...@gmail.com;X-NUM-GUESTS=0:mailto:a...@gmail.com
CREATED:20190325T135645Z
DESCRIPTION:test
LAST-MODIFIED:20190325T135645Z
LOCATION:
SEQUENCE:0
SUMMARY:test gmail
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

Thanks




--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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

[SOGo] Insert events directly into the database

2019-04-20 Thread "Alessio Cecchi >"
Hi,

we are using Sogo as webmail for our users. Now we are also developing a CRM 
with user Sogo calendar integration.

After some test with CalDAV we have choose, from CRM, to read and write events 
directly in Sogo database (MySQL) and works fine, new events are show in CRM, 
Sogo Webmail, ActiveSync and Thunderbird. Also update/delete events from any 
source seems works fine.

What problems can we have with this method?
Thanks
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Issue with SOGo CalDAV event REPLY handling

2019-03-29 Thread Alessio Cecchi

Hello,

we are working on integration betwen Sogo and our CRM, but we have a 
problem related to the CalDAV SOGo engine.


We want to update the event in organizer calendar processing an external 
ics, sent by mail with method REPLY with only one attendee inside.


We noticed that sending the ics attached in mail directly to caldav 
engine causes an override of all attendees with only the one that 
answered the email.


Can you provide us some hints on how to proceed the right way ?


This is an example of a request:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20190329T143000Z
DTEND:20190329T153000Z
DTSTAMP:20190325T135647Z
ORGANIZER;CN=G:mailto:g...@gmail.com
UID:1ppgvkr2958songgv529v89bvt
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;
 RSVP=TRUE;CN=a...@gmail.com;X-NUM-GUESTS=0:mailto:a...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=G;
 X-NUM-GUESTS=0:mailto:g...@gmail.com
CREATED:20190325T135645Z
DESCRIPTION:test
LAST-MODIFIED:20190325T135645Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:test gmail
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

This is an example of a reply:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VEVENT
DTSTART:20190329T143000Z
DTEND:20190329T153000Z
DTSTAMP:20190325T135647Z
ORGANIZER;CN=G:mailto:g...@gmail.com
UID:1ppgvkr2958songgv529v89bvt
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;
 CN=a...@gmail.com;X-NUM-GUESTS=0:mailto:a...@gmail.com
CREATED:20190325T135645Z
DESCRIPTION:test
LAST-MODIFIED:20190325T135645Z
LOCATION:
SEQUENCE:0
SUMMARY:test gmail
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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

[SOGo] Docs for JSON API of SOGo

2019-01-15 Thread Alessio Cecchi

Hi,

we are looking for documentation about JSON API of Sogo, we have found 
only this:


https://sogo.nu/files/docs/SOGoDevelopersGuide.html#_json_api

and some examples inside the source code:

https://github.com/inverse-inc/sogo/blob/18df3bafb5096c123c117d8cf1085d250254f112/UI/MailerUI/UIxMailFolderActions.m#L48

Where can I find a list of availability API?

Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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

[SOGo] How to generate folder/resource name for c_path4

2018-05-03 Thread Alessio Cecchi

Hi,

I'm considering the possibility of entering directly into the database 
(MySQL) new addressbook and calendar for Sogo users.


After some tests I have found the way to do this, but what is the 
"function" for generate the name of Contacts or Calendar path in "Sogo 
Style" (like 2C7B-5AE9D980-3-53C6BE00)?


Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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

Re: [SOGo] Outlook 2016 autodiscovery

2017-09-29 Thread Alessio Cecchi

Hi,

after this upgrade you can still configure Sogo and Outlook 2016 with 
Exchange ActiveSync via Windows Control Panel > Mail > Account Setup and 
click on New


https://www.qboxmail.com/doc-category/how-to-use/#set-exchange-activesync

and for us works fine.


Il 26/09/2017 22:36, Gerald Brandt (g...@majentis.com) ha scritto:

Hi,

I've setup a couple of Outlook 2016's by manually configuring 
activesync. It seems Microsoft has removed that feature, and now 
REQUIRES autodiscovery.


According to the manual, autodiscovery is not supported in SOGo. That 
means Outlook 2016 activesync is not supported in SOGo.


Is there anything I can do to get this going?

Gerald




--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice

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


Re: [SOGo] ANN: SOGo v3.2.5 released!

2017-01-11 Thread Alessio Cecchi


Il 11/01/2017 13:08, Szládovics Péter (p...@szladovics.hu) ha scritto:

2017-01-11 11:34 keltezéssel, Alessio Cecchi (ales...@skye.it) írta:


Il 10/01/2017 19:27, Ludovic Marcotte (lmarco...@inverse.ca) ha scritto:

The Inverse Team is pleased to announce the immediate availability of
SOGo v3.2.5. This is a minor release of SOGo which focuses on small new
features and improved stability over previous versions.


Hi,

after the upgrade, from 3.2.4, when I logoff from web interface I see
a "Proxy Error", in the log file I found these errors:

sogo.log:

Jan 11 11:26:55 sogod [1115]: 17.92.31.6 "POST
/SOGo/so/ales...@skye.it/Mail/0/folderINBOX/view HTTP/1.1" 200
31788/45 0.775 - - -1704K
Jan 11 11:28:03 sogod [1115]: SOGoUserHomePage user 'ales...@skye.it'
logged off
Jan 11 11:28:03 sogod [1115]: 17.92.31.6 "GET
/SOGo/so/ales...@skye.it/logoff HTTP/1.1" 302 0/0 0.006 - - 0
EXCEPTION:  NAME:NSRangeException
REASON:in substringWithRange:, range { 0, 9223372036854775807 }
extends beyond size (0) INFO:(null)
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a81f2fa0[WOWatchDogChild]>
child 1121 exited
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a81f2fa0[WOWatchDogChild]>
(terminated due to signal 6)
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a7f90a90[WOWatchDog]> child
spawned with pid 1207
Jan 11 11:28:03 sogod [1115]: 79.9.31.86 "GET /SOGo/so/ HTTP/1.1" 200
7612/0 0.021 24990 69% 0
Jan 11 11:28:03 sogod [1207]: <0x0x7f11a8122d70[WOHttpAdaptor]>
notified the watchdog that we are ready

apache-error.log:

[Wed Jan 11 11:28:03.415834 2017] [proxy_http:error] [pid 1041:tid
139931989018368] (20014)Internal error: [client 17.92.31.6:50278]
AH01102: error reading status line from remote server 127.0.0.1:2,
referer: https://sogo-v3.alessio.net/SOGo/so/ales...@skye.it/Mail/view

[Wed Jan 11 11:28:03.415907 2017] [proxy:error] [pid 1041:tid
139931989018368] [client 17.92.31.6:50278] AH00898: Error reading from
remote server returned by
/SOGo/so/ales...@skye.it/Mail/0/folderINBOX/expunge, referer:
https://sogo-v3.alessio.net/SOGo/so/ales...@skye.it/Mail/view


Did you restart the memcached and/or apache services?


The problem was solved with a reboot :-)

Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ANN: SOGo v3.2.5 released!

2017-01-11 Thread Alessio Cecchi


Il 10/01/2017 19:27, Ludovic Marcotte (lmarco...@inverse.ca) ha scritto:

The Inverse Team is pleased to announce the immediate availability of
SOGo v3.2.5. This is a minor release of SOGo which focuses on small new
features and improved stability over previous versions.


Hi,

after the upgrade, from 3.2.4, when I logoff from web interface I see a 
"Proxy Error", in the log file I found these errors:


sogo.log:

Jan 11 11:26:55 sogod [1115]: 17.92.31.6 "POST 
/SOGo/so/ales...@skye.it/Mail/0/folderINBOX/view HTTP/1.1" 200 31788/45 
0.775 - - -1704K
Jan 11 11:28:03 sogod [1115]: SOGoUserHomePage user 'ales...@skye.it' 
logged off
Jan 11 11:28:03 sogod [1115]: 17.92.31.6 "GET 
/SOGo/so/ales...@skye.it/logoff HTTP/1.1" 302 0/0 0.006 - - 0
EXCEPTION:  NAME:NSRangeException REASON:in 
substringWithRange:, range { 0, 9223372036854775807 } extends beyond 
size (0) INFO:(null)
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a81f2fa0[WOWatchDogChild]> child 
1121 exited
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a81f2fa0[WOWatchDogChild]> 
(terminated due to signal 6)
Jan 11 11:28:03 sogod [1100]: <0x0x7f11a7f90a90[WOWatchDog]> child 
spawned with pid 1207
Jan 11 11:28:03 sogod [1115]: 79.9.31.86 "GET /SOGo/so/ HTTP/1.1" 200 
7612/0 0.021 24990 69% 0
Jan 11 11:28:03 sogod [1207]: <0x0x7f11a8122d70[WOHttpAdaptor]> notified 
the watchdog that we are ready


apache-error.log:

[Wed Jan 11 11:28:03.415834 2017] [proxy_http:error] [pid 1041:tid 
139931989018368] (20014)Internal error: [client 17.92.31.6:50278] 
AH01102: error reading status line from remote server 127.0.0.1:2, 
referer: https://sogo-v3.alessio.net/SOGo/so/ales...@skye.it/Mail/view


[Wed Jan 11 11:28:03.415907 2017] [proxy:error] [pid 1041:tid 
139931989018368] [client 17.92.31.6:50278] AH00898: Error reading from 
remote server returned by 
/SOGo/so/ales...@skye.it/Mail/0/folderINBOX/expunge, referer: 
https://sogo-v3.alessio.net/SOGo/so/ales...@skye.it/Mail/view


Thanks
--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Proxy error after upgrade to Sogo V3

2016-07-01 Thread Alessio Cecchi



Il 30/06/2016 09:15, Christian Mack (christian.m...@uni-konstanz.de) ha 
scritto:

Hello

Am 29.06.2016 um 17:00 schrieb Alessio Cecchi (ales...@skye.it):


I upgrade from sogo 2.3.12 to sogo 3.1.3 with also the MySQL DB
migration via sql-update-3.0.0-to-combined-mysql.sh to "nine tables"
configurations.

For almost users all works fine but someone was able to login but the
Sogo interfaces don't allow to do nothing with and show a "Proxy error"
message.

In sogo.log I found this:

Jun 29 16:55:50 sogod [20426]: 192.168.6.12 "GET /SOGo/ HTTP/1.1" 200
7220/0 0.015 23061 68% 4K
Jun 29 16:56:00 sogod [20426]: SOGoRootPage successful login from
'192.168.6.12' for user 'ales...@ciao.it' - expire = -1  grace = -1
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "POST /SOGo/connect
HTTP/1.1" 200 27/88 0.100 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET /SOGo//ales...@ciao.it
HTTP/1.1" 302 0/0 0.003 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET
/SOGo//ales...@ciao.it/view HTTP/1.1" 302 0/0 0.004 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET
/SOGo/so/ales...@ciao.it/Mail HTTP/1.1" 302 0/0 0.003 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET
/SOGo/so/ales...@ciao.it/Mail/view HTTP/1.1" 200 17220/0 0.034 69812 75% 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET
/SOGo/so/ales...@ciao.it/Calendar/alarmslist?browserTime=1467212179
HTTP/1.1" 200 63/0 0.006 - - 0
EXCEPTION:  NAME:NSInvalidArgumentException
REASON:Tried to add nil value for key 'PreventInvitationsWhitelist' to
dictionary INFO:{FoldersOrder = (personal); PreventInvitations = 0;
PreventInvitationsWhitelist = ""; }
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET
/SOGo/so/ales...@ciao.it/jsonDefaults HTTP/1.1" 200 3203/0 0.015 - - 0
Jun 29 16:56:00 sogod [18140]: <0x0x7f1dc8bbcec0[WOWatchDogChild]> child
20429 exited
Jun 29 16:56:00 sogod [18140]: <0x0x7f1dc8bbcec0[WOWatchDogChild]>
(terminated due to signal 6)
Jun 29 16:56:00 sogod [18140]: <0x0x7f1dc88ee2f0[WOWatchDog]> child
spawned with pid 21503
Jun 29 16:56:01 sogod [20425]: 192.168.6.12 "GET
/SOGo/so/ales...@ciao.it/Mail/0/view HTTP/1.1" 200 614/0 0.421 - - 4K
Jun 29 16:56:01 sogod [20425]: 192.168.6.12 "POST
/SOGo/so/ales...@ciao.it/Mail/unseenCount HTTP/1.1" 200 21/31 0.094 - - 0


And in apache error.log:

[Wed Jun 29 16:56:00 2016] [error] [client 192.168.6.12] (20014)Internal
error: proxy: error reading status line from remote server
127.0.0.1:2, referer:
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Mail/view
[Wed Jun 29 16:56:00 2016] [error] [client 192.168.6.12] proxy: Error
reading from remote server returned by
/SOGo/so/ales...@ciao.it/jsonSettings, referer:
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Mail/view
[Wed Jun 29 16:56:38 2016] [error] [client 192.168.6.12] (20014)Internal
error: proxy: error reading status line from remote server
127.0.0.1:2, referer:
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Preferences
[Wed Jun 29 16:56:38 2016] [error] [client 192.168.6.12] proxy: Error
reading from remote server returned by
/SOGo/so/ales...@ciao.it/jsonSettings, referer:
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Preferences


Can I fix it or is a bug?
Thanks


Check the preferences of that user.
Did she disable being invitable?
Did she have an empty whitelist for that?
Perhaps it will help to add someone to the whitelist.

If that workaround helps, it is a bug ;-)


Hi Christian,

in user prefrences was not disable to being invitable, so I just check 
it and add a user to whitelist. After this Sogo works fine and still 
works fine after uncheck being invitable.


So I will open a bug :-)
Thanks

--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Proxy error after upgrade to Sogo V3

2016-06-29 Thread Alessio Cecchi

Hi,

I upgrade from sogo 2.3.12 to sogo 3.1.3 with also the MySQL DB 
migration via sql-update-3.0.0-to-combined-mysql.sh to "nine tables" 
configurations.


For almost users all works fine but someone was able to login but the 
Sogo interfaces don't allow to do nothing with and show a "Proxy error" 
message.


In sogo.log I found this:

Jun 29 16:55:50 sogod [20426]: 192.168.6.12 "GET /SOGo/ HTTP/1.1" 200 
7220/0 0.015 23061 68% 4K
Jun 29 16:56:00 sogod [20426]: SOGoRootPage successful login from 
'192.168.6.12' for user 'ales...@ciao.it' - expire = -1  grace = -1
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "POST /SOGo/connect 
HTTP/1.1" 200 27/88 0.100 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET /SOGo//ales...@ciao.it 
HTTP/1.1" 302 0/0 0.003 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET 
/SOGo//ales...@ciao.it/view HTTP/1.1" 302 0/0 0.004 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET 
/SOGo/so/ales...@ciao.it/Mail HTTP/1.1" 302 0/0 0.003 - - 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET 
/SOGo/so/ales...@ciao.it/Mail/view HTTP/1.1" 200 17220/0 0.034 69812 75% 0
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET 
/SOGo/so/ales...@ciao.it/Calendar/alarmslist?browserTime=1467212179 
HTTP/1.1" 200 63/0 0.006 - - 0
EXCEPTION:  NAME:NSInvalidArgumentException 
REASON:Tried to add nil value for key 'PreventInvitationsWhitelist' to 
dictionary INFO:{FoldersOrder = (personal); PreventInvitations = 0; 
PreventInvitationsWhitelist = ""; }
Jun 29 16:56:00 sogod [20426]: 192.168.6.12 "GET 
/SOGo/so/ales...@ciao.it/jsonDefaults HTTP/1.1" 200 3203/0 0.015 - - 0
Jun 29 16:56:00 sogod [18140]: <0x0x7f1dc8bbcec0[WOWatchDogChild]> child 
20429 exited
Jun 29 16:56:00 sogod [18140]: <0x0x7f1dc8bbcec0[WOWatchDogChild]> 
(terminated due to signal 6)
Jun 29 16:56:00 sogod [18140]: <0x0x7f1dc88ee2f0[WOWatchDog]> child 
spawned with pid 21503
Jun 29 16:56:01 sogod [20425]: 192.168.6.12 "GET 
/SOGo/so/ales...@ciao.it/Mail/0/view HTTP/1.1" 200 614/0 0.421 - - 4K
Jun 29 16:56:01 sogod [20425]: 192.168.6.12 "POST 
/SOGo/so/ales...@ciao.it/Mail/unseenCount HTTP/1.1" 200 21/31 0.094 - - 0



And in apache error.log:

[Wed Jun 29 16:56:00 2016] [error] [client 192.168.6.12] (20014)Internal 
error: proxy: error reading status line from remote server 
127.0.0.1:2, referer: 
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Mail/view
[Wed Jun 29 16:56:00 2016] [error] [client 192.168.6.12] proxy: Error 
reading from remote server returned by 
/SOGo/so/ales...@ciao.it/jsonSettings, referer: 
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Mail/view
[Wed Jun 29 16:56:38 2016] [error] [client 192.168.6.12] (20014)Internal 
error: proxy: error reading status line from remote server 
127.0.0.1:2, referer: 
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Preferences
[Wed Jun 29 16:56:38 2016] [error] [client 192.168.6.12] proxy: Error 
reading from remote server returned by 
/SOGo/so/ales...@ciao.it/jsonSettings, referer: 
https://sogo-v3.ciao.it/SOGo/so/ales...@ciao.it/Preferences



Can I fix it or is a bug?
Thanks
--
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] GAL and ActiveSync on iOS show (nil) (nil) instead of Name/Surname

2014-03-26 Thread Alessio Cecchi

Hi,

I'm running Sogo 2.2.2 with ActiveSync enabled. On my iPad (iOS 7) when 
I search in GAL an email address I found the user but instead of Name 
and Surname is showed (nil) (nil).


Should I open a bug or is a well known problem?
Thanks
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Password change via Poppassd

2014-03-25 Thread Alessio Cecchi

Hi,

we are running Sogo with MySQL backend for users authentication. We 
would like to enable passowrd change in Sogo but our SOGoUserSources is 
a VIEW in read only.


Others webmail software support Poppassd for password change, so why 
not provide this support also for Sogo?


There are many Poppassd implementation for the most used email server 
and the protocol is realy simple to implement.


Are there others interested in this feature?

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


Re: [SOGo] Outlook and folders

2014-03-25 Thread Alessio Cecchi

Il 2014-03-25 10:25 Fabio Onorini ha scritto:

Hello sogo users.

My outlook doesn't sync correctly mail folders.
If I create a folder in webmail, outlook can't see that folder.
If I remove Outlook profile and recreate it, I see all folders.

The problem is on SOGo ZEG (with cyrus) and also in my installation
(with dovecot).

Someone known what is the problem?



Are you using IMAP or ActiveSync in MS Outlook?
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Thunderbird 24 Support

2013-10-02 Thread Alessio Cecchi

Il 26/09/2013 16:57, Ludovic Marcotte ha scritto:

Hello,

New SOGo Connector and Integrator extensions are now available for
Thunderbird 24.

You can download them from there:
http://inverse.ca/downloads/extensions/nightly/

The source code is also available on https://github.com/inverse-inc

Please test them and report your findings.

Thanks,



Hi,

I'm testing Thunderbird 24 (Windows 7) and SOGo Connector / Integrator 
extensions with Sogo 2.0.7 (Debian 6).


I added an event with title Oggi è bello, when I receive the event 
confirmation via email I see the subject as Accepted invitation: Oggi 
#232; bello! , è is displayed as #232;, instead it is show 
correct in the body of email.


Still from Thunderbird, when I add an event and check for free-busy 
entering an email address, also if it is presente in the global 
addressbook, is not autocompleted (from Sogo web interface this 
happens), but freebusy works fine.


I do not know if these bugs were also present in the previous version of 
connector/thunderbird.


Thanks

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Thunderbird 24 Support

2013-10-02 Thread Alessio Cecchi

Il 02/10/2013 15:20, Ludovic Marcotte ha scritto:

On 2013-10-02 5:59 AM, Alessio Cecchi wrote:


Still from Thunderbird, when I add an event and check for free-busy
entering an email address, also if it is presente in the global
addressbook, is not autocompleted (from Sogo web interface this
happens), but freebusy works fine.


You haven't customized your SOGo Integrator or you've done it incorrectly.



Hi,

I have customized Sogo Integrator, from site.js:

sogo-integrator.autocomplete.server.urlid, Corporate Addresses

and in fact I can see the global addressbook in Thunderbird addressbook 
and search, with autocompletion, all users in it.


Only autocomplation in freebusy, when looking for user in global 
addressbook, isn't working.


--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Active Sync support in SOGo

2013-09-20 Thread Alessio Cecchi

Il 18/09/2013 23:22, Ludovic Marcotte ha scritto:

Hello,

We've been pretty silent when it came to Active Sync support in SOGo for
multiple reasons.

First of all, there are licensing implications with Microsoft Active
Sync. Moreover, there's a plethora of Active Sync implementations out
there. We also wanted to see how vendors would adopt CalDAV/CardDAV, how
down the drain Funambol would go and the market's impact of the new
Windows/Blackberry phones.


IMHO with CalDAV/CardDAV and Active Sync support, Funambol no longer 
makes sense to exist.


Already today with only CalDAV and CardDAV Funambol is useful only for 
(old) Blackberry device, which, however, are always less.


On my SOGo server (with some thousands of users) we have disabled the 
support for Funambol some months ago.



After digesting all the above for a few weeks, we came to the conclusion
we should most likely add Active Sync support to SOGo.


Great news!

Thanks
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Apache Internal Error/Gateway Error and sogod sefault

2013-04-17 Thread Alessio Cecchi

Hi,

I'm running sogo 2.0.4b on Debian Squeeze installed from inverse.ca 
repository.


Sometimes users get an error Gateway Error from apache. When this 
happens on the log I found:


- /var/log/apache2/error.log:

[Wed Apr 17 12:39:23 2013] [error] [client 5.26.3.91] (20014)Internal 
error: proxy: error reading status line from remote server 
127.0.0.1:2, referer: 
https://sogo.myserver.com/SOGo/so/usern...@domain.com/Mail/view
[Wed Apr 17 12:39:23 2013] [error] [client 5.26.3.91] proxy: Error 
reading from remote server returned by 
/SOGo/so/usern...@domain.com/Mail//0/folderINBOX/unseenCount, referer: 
https://sogo.myserver.com/SOGo/so/usern...@domain.com/Mail/view




- /var/log/sogo/sogo.log:

Apr 17 12:39:23 sogod [15258]: [ERROR] 
0x0x7f491374c7e0[NGImap4ConnectionManager] IMAP4 login failed:

  host=imap-webmail.myserver.com, user=usern...@domain.com, pwd=yes
  url=imaps://username%40domain@imap-webmail.myserver.com/?tls=YES
  base=(nil)
  base-class=(nil))
  = 0x0x7f49184003a0[NGImap4Client]: login=usern...@domain.com(pwd) 
address=0x0x7f49184004d0[NGInternetSocketAddress]: 
host=imap-webmail.myserver.com not-filled
Apr 17 12:39:23 sogod [15258]: 0x1828BF10[SOGoMailAccount]:0 renewing 
imap4 password
Apr 17 12:39:23 sogod [15258]: [ERROR] 
0x0x7f491374c7e0[NGImap4ConnectionManager] IMAP4 login failed:

  host=imap-webmail.myserver.com, user=usern...@domain.com, pwd=yes
  url=imaps://username%40domain@imap-webmail.myserver.com/?tls=YES
  base=(nil)
  base-class=(nil))
  = 0x0x7f4918401000[NGImap4Client]: login=usern...@domain.com(pwd) 
address=0x0x7f4918401210[NGInternetSocketAddress]: 
host=imap-webmail.myserver.com not-filled
Apr 17 12:39:23 sogod [15258]: [ERROR] 0x1828BF10[SOGoMailAccount]:0 
Could not connect IMAP4
localhost - - [17/Apr/2013:12:39:23 GMT] POST 
/SOGo/so/usern...@domain.com/Mail//0/folderINBOX/uids HTTP/1.1 200 
15/44 0.008 - - 308K
Apr 17 12:39:23 sogod [19102]: 0x0x7f4915a669a0[NGImap4Client] TLS 
started successfully.
Apr 17 12:39:23 sogod [24726]: 0x0x7f491352bc90[WOWatchDogChild] child 
15258 exited
Apr 17 12:39:23 sogod [24726]: 0x0x7f491352bc90[WOWatchDogChild] 
(terminated due to signal 11)
Apr 17 12:39:23 sogod [24726]: 0x0x7f49131bf680[WOWatchDog] child 
spawned with pid 20466
Apr 17 12:39:23 sogod [17969]: 0x0x7f491662f3e0[NGImap4Client] TLS 
started successfully.
localhost - - [17/Apr/2013:12:39:23 GMT] POST 
/SOGo/so/usern...@domain.com/Mail//0/folderSent_SP_Items/unseenCount 
HTTP/1.1 200 13/0 0.281 - - 0
Apr 17 12:39:23 sogod [17969]: [ERROR] 
0x0x7f491662fe80[NGImap4Connection] could not fetch 93 uids for url: 
imaps://username%40domain@imap-webmail.myserver.com/INBOX/?tls=YES
localhost - - [17/Apr/2013:12:39:23 GMT] POST 
/SOGo/so/usern...@domain.com/Mail//0/folderINBOX/headers HTTP/1.1 200 
130/105 0.287 - - 0
Apr 17 12:39:26 sogod [17969]: 0x0x7f49165cca20[NGImap4Client] TLS 
started successfully.




- /var/log/syslog:

Apr 17 12:39:23 sogo-mail kernel: [913753.229379] sogod[15258]: segfault 
at 0 ip 7f490dcf3c14 sp 7fff8ff38600 error 4 in 
libc-2.11.3.so[7f490dc91000+159000]



On list archive I found similar problem with suggestion for upgrade 
sope-mime but in my installation is already at the latest version 
available (4.9.r1664).


My IMAP server is dovecot 2.1.16

Do you have any suggestion to fix this problem?
Thanks
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Auto-Sync

2013-03-27 Thread Alessio Cecchi

Il 23/03/2013 16:31, agwenf...@notmailinator.com ha scritto:

Can CardDAV Adress Books be configured sync automatically at a specfic
interval?



This is a client feature.

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Windows phone support

2013-03-21 Thread Alessio Cecchi

Il 20/03/2013 19:51, Davide Bozzelli ha scritto:

Hi

What is the official statement about windows phone support ( i mean wp
and not windows mobile)
The official guide does not make a good work in order clarify this.

Thx in advance.


Hi Windows Phone support only ActiveSync but MS is working for add 
CalDAV/CardDAV support:


http://www.theverge.com/2013/1/21/3832838/windows-phone-carddav-caldav-support

http://www.qboxmail.com/it/blog/p/supporto-caldav-e-carddav-in-windows-phone-microsoft-e-al-lavoro

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Hot to set sogo-integrator.autocomplete.server.urlid

2013-01-30 Thread Alessio Cecchi

Il 29/01/2013 15:40, Alessio Cecchi ha scritto:

Hi,

the guide for the customization of Thunderbird integrator said to

... change the value of the sogo-integrator.autocomplete.server.urlid
preference from defaults/preferences/site.js to match the identifier of
your SOGoUserSources.

$ defaults read sogod SOGoUserSources
sogod SOGoUserSources '(
 {
 DomainFieldName = domain;
 canAuthenticate = YES;
 displayName = Corporate Addresses;
 id = users;
 isAddressBook = YES;
 type = sql;
 userPasswordAlgorithm = md5-crypt;
 viewURL = mysql://sogo-ro:XX@127.0.0.1:3306/vmail/sogo_users;
 }
)'

The default is

pref(sogo-integrator.autocomplete.server.urlid, public);

How do I set it in my case?


I set it to users (id = users).

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Hot to set sogo-integrator.autocomplete.server.urlid

2013-01-29 Thread Alessio Cecchi

Hi,

the guide for the customization of Thunderbird integrator said to

... change the value of the sogo-integrator.autocomplete.server.urlid 
preference from defaults/preferences/site.js to match the identifier of 
your SOGoUserSources.


$ defaults read sogod SOGoUserSources
sogod SOGoUserSources '(
{
DomainFieldName = domain;
canAuthenticate = YES;
displayName = Corporate Addresses;
id = users;
isAddressBook = YES;
type = sql;
userPasswordAlgorithm = md5-crypt;
viewURL = mysql://sogo-ro:XX@127.0.0.1:3306/vmail/sogo_users;
}
)'

The default is

pref(sogo-integrator.autocomplete.server.urlid, public);

How do I set it in my case?

Can/Must I also change

pref(calendar.timezone.local, /mozilla.org/20070129_1/America/Montreal);

to Europe/Rome ?

Thanks
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Virtual Host for iCal (unable to auto detect settings)

2012-12-19 Thread Alessio Cecchi
-access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/wildcard-domain.com.pem
SSLCertificateKeyFile /etc/ssl/private/wildcard-domain.com.key
FilesMatch \.(cgi|shtml|phtml|php)$
SSLOptions +StdEnvVars
/FilesMatch
Directory /usr/lib/cgi-bin
SSLOptions +StdEnvVars
/Directory
BrowserMatch MSIE [2-6] \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
BrowserMatch MSIE [17-9] ssl-unclean-shutdown
/VirtualHost


and in /etc/apache2/conf.d/SOGo.conf:


Alias /SOGo.woa/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
   /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

Directory /usr/lib/GNUstep/SOGo/
AllowOverride None
Order deny,allow
Allow from all
IfModule expires_module
  ExpiresActive On
  ExpiresDefault access plus 1 year
/IfModule
/Directory

LocationMatch 
^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)

  SetHandler default-handler
/LocationMatch

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 443
  RequestHeader set x-webobjects-server-name sogo.domain.com
  RequestHeader set x-webobjects-server-url https://sogo.domain.com;

  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
  Allow from all
/Proxy

RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

Can this configuration improve?
Thanks
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SMTP Auth in Sogo 2.0.3 still not work

2012-12-12 Thread Alessio Cecchi

Il 12/12/2012 14:50, Francis Lachapelle ha scritto:

Hi Alessio

On 2012-12-11, at 11:01 AM, Alessio Cecchi ales...@skye.it wrote:


I update my sogo to 2.0.3a from .deb inverse repository. Unfortunately the SMTP 
Auth stil now work, the situation is summarized here:

https://inverse.ca/sogo/lists/arc/users/2012-11/msg00087.html

and is not changed after upgrade.

Are there any news about this problem?



This problem occurs when the MTA advertise AUTH support the non-standard way (AUTH=PLAIN 
LOGIN). If you use Postfix, disable broken_sasl_auth_clients.

Francis


Hi Francis

thanks for your suggestion, but after disable broken_sasl_auth_clients 
in postfix the error is cannot send message: (smtp) authentication 
failure.


So I started debugging and I found a problem, looking into dovecot query 
I can see what is the password that sogo send to my SMTP Auth and it's 
wrong:


2012-12-12 15:24:48 auth-worker(default): Info: 
sql(alessio.cec...@cbsolt.it): query: SELECT CONCAT(pw_name, '@', 
pw_domain) AS user, pw_clear_passwd AS password FROM vpopmail WHERE 
pw_name = 'alessio.cecchi' AND pw_domain = 'cbsolt.it' AND ((pw_gid  
2048)2048)
2012-12-12 15:24:48 auth-worker(default): Info: 
sql(alessio.cec...@cbsolt.it): Password mismatch

[...]
2012-12-12 15:24:48 auth-worker(default): Info: 
sql(alessio.cec...@cbsolt.it): PLAIN(1234) != '123456'


Seems that sogo cuts the password!

How is it possible?
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SMTP Auth in Sogo 2.0.3 still not work

2012-12-11 Thread Alessio Cecchi

Hi,

I update my sogo to 2.0.3a from .deb inverse repository. Unfortunately 
the SMTP Auth stil now work, the situation is summarized here:


https://inverse.ca/sogo/lists/arc/users/2012-11/msg00087.html

and is not changed after upgrade.

Are there any news about this problem?

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] SOGo 2.0.2a - SMTP AUTH - Carriage Return in Base64 String

2012-11-23 Thread Alessio Cecchi

Il 16/11/2012 14:12, andre.eickelschu...@wesel.de ha scritto:

Hello!

I just installed SOGo 2.0.2a on Ubuntu Server 12.04 LTS x64 with a local
instance of OpenLDAP for authentication and as address book. The mailserver I
intend to access is an external server. On this mailserver it's necessary to
login with your full mailaddress and your password.

I'm able to login and read mail via IMAP with my first testuser, but the SMTP
PLAIN AUTH does not work. With a TCPDump I encountered, that there is a
carriage return in the base64-coded login data. So the mailserver rejects the
login attempt...

If I use the by SOGo generated login string without the carriage return I can
login via telnet...

If I use another mailaccount with a quite short mailadress sending mail is
possible.

Is it a bug, a misconfiguration of the mailserver or do i have to configure the
generation of the base64-login-string?

Best regards!

Andre


Some other users, including myself, are unable to use the new feature of 
SMTP-AUTH in sogo 2.0.2.


We are waiting for a fix.

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] SMTP AUTH problem with 2.0.2

2012-11-12 Thread Alessio Cecchi

Il 31/10/2012 18:39, Wolfgang Sourdeau ha scritto:

On 2012-10-31 13:38, Ron Yacketta wrote:

On 10/31/2012 10:11 AM, Wolfgang Sourdeau wrote:



[sogo@sogo ~]$ defaults read sogod SOGoSMTPAuthenticationType
sogod SOGoSMTPAuthenticationType PLAIN


Please try with plain (lowercase) instead.




defaults read sogod SOGoSMTPAuthenticationType
sogod SOGoSMTPAuthenticationType plain

sogo.log:
S: SMTP-Reply: code=220 line='smtp.potsdam.edu ESMTP'
C: EHLO sogo.potsdam.edu
S: SMTP-Reply: code=250 line='8BITMIME'
S: pipelining extension supported.
S: size extension supported.


Can you show mne the output of tcpflow port 25?



Hi,

I still have the same problem:

# tcpflow -c port 25
tcpflow[15556]: listening on eth0

109.168.113.133.00025-109.168.113.220.36646: 220 smtp.cecchi.net ESMTP 
Postfix


109.168.113.220.36646-109.168.113.133.00025: EHLO webmail-test.cecchi.net
109.168.113.220.36646-109.168.113.133.00025:

109.168.113.133.00025-109.168.113.220.36646: 250-smtp.cecchi.net
250-PIPELINING
250-SIZE 26214400
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

109.168.113.220.36646-109.168.113.133.00025: QUIT

109.168.113.133.00025-109.168.113.220.36646: 221 2.0.0 Bye


SOGo 2.0.2 (from inverse .deb) is up to date and configured for Plain AUTH:

$ defaults read sogod SOGoSMTPAuthenticationType
sogod SOGoSMTPAuthenticationType plain

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] SMTP AUTH problem with 2.0.2

2012-10-27 Thread Alessio Cecchi

I'm running sogo on debian 6 with packages .deb from inverse repository. I just 
run apt-get update and apt-get upgrade. Is not sufficient?
--
Alessio Cecchi
http://www.linkedin.com/in/alessice
http://twitter.com/cbsolt

Il giorno 26/ott/2012, alle ore 18:27, Wolfgang Sourdeau wsourd...@inverse.ca 
ha scritto:

 Hi,
 
 
 Did you update all the sope libs too?
 
 
 Wolfgang
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SMTP AUTH problem with 2.0.2

2012-10-26 Thread Alessio Cecchi

Hi,

I would like to use SMTP AUTH in SOGo 2.0.2, so I change the 
configuration to:


$ defaults read sogod SOGoMailingMechanism
sogod SOGoMailingMechanism smtp
$ defaults read sogod SOGoSMTPServer
sogod SOGoSMTPServer smtp.cbsolt.net
$ defaults read sogod SOGoSMTPAuthenticationType
sogod SOGoSMTPAuthenticationType PLAIN

but when I tried to send an email does not work:

from sogo.log

Oct 26 18:15:57 sogod [23804]: 0x0x7f76d8fee690[NGImap4Client] TLS 
started successfully.
Oct 26 18:15:57 sogod [23804]: 
0xD8E112A0[SOGoContactGCSFolder]:personalD fetched 1 records.
2012-10-26 18:15:57.916 sogod[23804] WARNING(-[NSNull(misc) length]): 
called NSNull -length (returns 0) !!!
C: connect to 0x0x7f76d9025110[NGInternetSocketAddress]: 
host=smtp.cbsolt.net not-filled

S: SMTP-Reply: code=220 line='smtp.cbsolt.net ESMTP Postfix'
C: EHLO webmail-test.cbsolt.net
S: SMTP-Reply: code=250 line='DSN'
S: pipelining extension supported.
S: size extension supported.
C: QUIT
S: SMTP-Reply: code=221 line='2.0.0 Bye'
localhost - - [26/Oct/2012:18:15:57 GMT] POST 
/SOGo/so/test...@cbsolt.net/Mail/0/folderDrafts/newDraft1351267486-1//send 
HTTP/1.1 200 86/2373 0.201 - - 108K


from postfix.log

postfix/smtpd[12429]:  sogo-server: 220 smtp.cbsolt.net ESMTP Postfix
postfix/smtpd[12429]:  sogo-server: EHLO webmail-test.cbsolt.net
postfix/smtpd[12429]:  sogo-server: 250-smtp.cbsolt.net
postfix/smtpd[12429]:  sogo-server: 250-PIPELINING
postfix/smtpd[12429]:  sogo-server: 250-SIZE 26214400
postfix/smtpd[12429]:  sogo-server: 250-VRFY
postfix/smtpd[12429]:  sogo-server: 250-ETRN
postfix/smtpd[12429]:  sogo-server: 250-STARTTLS
postfix/smtpd[12429]:  sogo-server: 250-AUTH PLAIN LOGIN
Oct 26 18:13:26 smtp-cbsolt postfix/smtpd[12429]: match_list_match: 
192.168.1.220: no match
Oct 26 18:13:26 smtp-cbsolt postfix/smtpd[12429]: match_list_match: 
192.168.1.220: no match

postfix/smtpd[12429]:  sogo-server: 250-AUTH=PLAIN LOGIN
postfix/smtpd[12429]:  sogo-server: 250-ENHANCEDSTATUSCODES
postfix/smtpd[12429]:  sogo-server: 250-8BITMIME
postfix/smtpd[12429]:  sogo-server: 250 DSN
postfix/smtpd[12429]:  sogo-server: QUIT
postfix/smtpd[12429]:  sogo-server: 221 2.0.0 Bye


If, with the same user and SMTP send via Thunderbird all works fine.

Where is the problem?
Thanks

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


[SOGo] How to manage IMAP subscription folders via SOGo?

2012-10-02 Thread Alessio Cecchi

Hi,

I would like to manage the subscription of IMAP folders via sogo web 
interfaces but when I do right click on account name Subscribe options 
is grey/unavailable. How can I enable this options? From Preferences I 
can only choose to show/not show subscribed mailboxes only


On the same account I can manage subscription via others webmail or 
Thunderbird fine.


Thanks

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] How to manage IMAP subscription folders via SOGo?

2012-10-02 Thread Alessio Cecchi

Il 02/10/2012 13:38, Ludovic Marcotte ha scritto:

On 02/10/12 04:19, Alessio Cecchi wrote:


I would like to manage the subscription of IMAP folders via sogo web 
interfaces but when I do right click on account name Subscribe 
options is grey/unavailable. How can I enable this options? From 
Preferences I can only choose to show/not show subscribed mailboxes 
only

This feature is not yet implemented in SOGo.


Thanks for telling me, I hope will be implemented in the future.

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] How to manage IMAP subscription folders via SOGo?

2012-10-02 Thread Alessio Cecchi

Il 02/10/2012 13:38, Ludovic Marcotte ha scritto:

On 02/10/12 04:19, Alessio Cecchi wrote:


I would like to manage the subscription of IMAP folders via sogo web 
interfaces but when I do right click on account name Subscribe 
options is grey/unavailable. How can I enable this options? From 
Preferences I can only choose to show/not show subscribed mailboxes 
only

This feature is not yet implemented in SOGo.


Thanks for telling me, I hope will be implemented in the future.

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] Upgrade from 1.3.18 to 2.0: all works fine

2012-09-29 Thread Alessio Cecchi
 
Il giorno Venerdi, 28 Settembre, 2012 17:20 CEST, Francis Lachapelle 
flachape...@inverse.ca ha scritto: 
 
 Hi Alessio
 
 On 2012-09-28, at 8:01 AM, Alessio Cecchi wrote:
 
  tomorrow I have updated my Debian Lenny from sogo 1.3.18 to 2.0 via 
  apt-get. After upgrade all works fine. My sogo is using mysql as backend 
  for data and authentication.
  
  Are there other tasks to be done to finalize the update?
 
 No, if don't want to activate the Outlook compatibility mode.

Not for now.

  I have not tried if funambol still works, version 1.0.9 of the connector 
  and funambol v10 are still the right version for sogo 2.0?
 
 
 Yes.

I can confirm that my funambol installation still works after sogo upgrade. 
There are some trouble with Contacts and ? I',m investigating if is a 
BlackBerry problem.

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


[SOGo] Upgrade from 1.3.18 to 2.0: all works fine

2012-09-28 Thread Alessio Cecchi

Hi,

tomorrow I have updated my Debian Lenny from sogo 1.3.18 to 2.0 via 
apt-get. After upgrade all works fine. My sogo is using mysql as backend 
for data and authentication.


Are there other tasks to be done to finalize the update?

I have not tried if funambol still works, version 1.0.9 of the connector 
and funambol v10 are still the right version for sogo 2.0?


Thanks

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] Sharing folder show all account on server

2012-09-21 Thread Alessio Cecchi

Il 21/09/2012 15:17, Christian Mack ha scritto:

Hello Alessio Cecchi


On 2012-09-21 14:57, Alessio Cecchi wrote:

I'm using Dovecot with ACL as IMAP backend for SOGo.

When an user want share a folder (right click on folder - Sharing) and
click on Add sogo show all users on the server! For example, if you
insert ale in the search field all email ale*@ are shown.

Since I set isAddressBook to NO I do not expect this behavior, and
indeed is a problem for the privacy of my users.

Can we change this behavior?


isAddressBook only is used for restricting the autocompletion when
sending emails or in searching or displaying the global addressbook(s).
It has nothing to do with privileges.

We for one rely on this behaviour.

So you should add an enhancement request for another option to restrict
privilege lists from user sources.

You can do so at:
http://www.sogo.nu/bugs


Thanks

I opened an issue with a suggestion like limit to show only users of the 
same domain.


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

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


[SOGo] After upgrade with .deb need to run sql-update script?

2012-09-04 Thread Alessio Cecchi

Hi,

I'm using SOGo under Debian 6 with .deb provided by Inverse. After an 
upgrade I must run the script like 
/usr/share/doc/sogo/sql-update-1.3.16_to_1.3.17-mysql.sh or the update 
manager runs it for me?


Thanks

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

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


Re: [SOGo] Web Performance issue

2012-03-28 Thread Alessio Cecchi

Il 27/03/2012 19:52, Marco Coli ha scritto:

Il 27/03/2012 08:57, Alessio Cecchi ha scritto:


Hi Marco,

what IMAP server are you using? Dovecot should have better performance
than Cyrus.


I am using cyrus-imapd-2.4.14-1.el6.x86_64.
Are you sure about best Dovecot performances? For us is not possible to
migrate, we are using Cyrus for the last 10 years.
In the daily use, with Thunderbird as a client or with squirrelmail as
web application, we never experienced any performance issue.


I thought it was a new installation, in your case you can not switch to 
dovecot, at least not simply.




Have you properly configured memcached?



Well, it depends on what you intend with properly. At first memcached
was not active (as I noticed on sogo logs). After this I started it,
with these parameters:
PORT=11211
USER=nobody
MAXCONN=1024
CACHESIZE=64
OPTIONS=

But nothing has changed about this performance issue.
Marco Coli


Do you have in your SOGo config:

SOGoMemcachedHost 127.0.0.1

Should be by default.

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Web Performance issue

2012-03-27 Thread Alessio Cecchi

Il 26/03/2012 17:18, Marco Coli ha scritto:

Hello.

We've been using cyrus imap since 10 years.
Our actual machine is RHEL 6.2, DL380G6 with 8GB RAM

Recently, I installed (from yum rpm channel) and configured SOgo.
All went well, we are at the beginning, now we are testing the web access.

All is ok for users with a moderate quantity of mail folders, while for users 
with a lot of folders+a lot of Other Users folders+a lot of Shared Folders, 
there is a performance issue.
For example, at login, or changing from Calendar or Address Book to Mail, the 
user must wait around 10 seconds before seeing the mail tree.
Maybe is because by default the mail tree appears completely opened?

Do you think there is a workaround to this problem?
(in thunderbird, only witch cyrus at the moment, there is absolutely no delay 
in folder navigation or in launching application)

Thank you


Hi Marco,

what IMAP server are you using? Dovecot should have better performance 
than Cyrus.


Have you properly configured memcached?

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SQL Authentication with custom query/schema

2012-03-15 Thread Alessio Cecchi

Hi,

I would like to use SOGo with my existing user base (MySQL). The main 
problem is that the login name (user@domain) is splitted over 2 fields:


+-+---+--+-+-+---+
| Field   | Type  | Null | Key | Default | Extra |
+-+---+--+-+-+---+
| pw_name | char(32)  | NO   | PRI | NULL|   |
| pw_domain   | char(96)  | NO   | PRI | NULL|   |
| pw_passwd   | char(40)  | YES  | | NULL|   |
+-+---+--+-+-+---+

The query should be like that:

SELECT CONCAT(pw_name, '@', pw_domain) AS c_uid

Can SOGo be customized for using a database schema like this?

Thanks
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SQL Authentication with custom query/schema

2012-03-15 Thread Alessio Cecchi

Il 15/03/2012 16:14, Ludovic Marcotte ha scritto:

On 15/03/12 11:12, Alessio Cecchi wrote:

Can SOGo be customized for using a database schema like this?

No but you can create a table view.



Thanks Ludovic, great suggestion!

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Funambol 11

2012-02-29 Thread Alessio Cecchi

Il 29/02/2012 21:00, Mirko Stoffers ha scritto:

Hi all,

I just got a complaint from a user that his Android no longer syncs with
SOGo. He said that the Funambol app has vanished and instead a
OneMediaHub app from Funambol Inc. has appeared.

When I search for funambol, I find two apps on the market:

OneMediaHub 11.0.1:
https://market.android.com/details?id=com.funambol.androidsyncfeature=search_result


FunV10 10.1.1:
https://market.android.com/details?id=com.funambol.funv10feature=search_result


My conclusion is that Funambol updated and renamed Funambol 10 to
OneMediaHub 11, and added a new app FunV10 10. So far so good, but the
user-comments on the market indicate that OneMediaHub 11 does not work
with custom servers, i.e. it will not work with SOGo. Can anybody
confirm that? (Or did the users just not find the switch?)


On Blackberry I use Onemediahub 10 (just installed yesterday) with SOGo 
and works fine. When you start for the first time Onemediahub the app 
invite you to register with onemediahub.com services. Just scroll down 
and select I have already an account.


I don't know if is the same procedure on Android.

Let me know.

Ciao
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ANN: automx - automated mail account configuration

2012-02-29 Thread Alessio Cecchi

Il 29/02/2012 20:43, Patrick Ben Koetter ha scritto:

SOGo Users,

I am pleased to announce automx, a tool that makes setting up a mail account
easy. All your users need to provide is real name, mail address and password.
Their mail client and automx will safely handle the rest.

automx runs on your server and handles mail account profile requests from your
mail clients. It unifies Microsofts and Mozillas mail account provisioning
standards in one powerful Open Source tool. Choose from many backends,
including LDAP and SQL, and let automx create standard and individualized
profiles for multiple domains on the fly!

automx is Open Source software released under GPL3.

More on http://automx.org

p@rick



Very usefull tool, what is the protocol, behind automx, that make 
transparent the configuration for clients from different vendors?


--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] What version of Funambol server is needed for sogo 1.3.12?

2012-02-23 Thread Alessio Cecchi

Hi,

we are running SOGo version 1.3.12 on Debian 6. Now we want to try 
syncronization with mobile device (mainly Blackberry).


What version of funambol server is needed for sogo 1.3.12? In the 
documentetion I read 8.7, this is the only supported version or the 
minimum recommended version?


Thanks
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists