[SOGo] BTS activities for Wednesday, May 10 2017

2017-05-10 Thread SOGo reporter
Title: BTS activities for Wednesday, May 10 2017





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Wednesday, May 10 2017

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
4164
	2017-05-10 08:19:36
	updated (open)
	ActiveSync
	Tasks shown from subscribed calendars
	
	  
	
3751
	2017-05-10 09:34:11
	assigned (open)
	GUI
	Subscription dialog not working in Thunderbird 45
	
	  
	
  
  


-- users@sogo.nuhttps://inverse.ca/sogo/lists

Re: [SOGo] sogo-tool backup missing users

2017-05-10 Thread Gerald Brandt


On 2017-05-10 07:16 PM, Ludovic Marcotte (lmarco...@inverse.ca) wrote:

On 2017-05-10 2:41 PM, Gerald Brandt (g...@majentis.com) wrote:

I don't get all the users. However, if I do sogo-tool backup 
/root/sogo alopez, I get the user missed by all. Is this a bug, or is 
there some reason the user is not done when using ALL? 

How many users do you get? Are you using LDAP-based authentication?



Hi,

Out of 50 users, I'm missing about 5. I have NethServer authenticating 
against Active Directory (Univention) server. sogo-tool doesn't need to 
authenticate though, does it?


Gerald

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


Re: [SOGo] Secretary with SOGo

2017-05-10 Thread Ludovic Marcotte

On 2017-05-08 4:40 AM, Ralf Cirksena (c...@holmco.de) wrote:


On Wed, Apr 26, 2017 at 11:42:31AM +0200 you wrote:


we have, let's say, a challenge in operation as secretary.

Situation: user1 is assistant of user2.
user1 has full permissions for user2's calendars.
user1 uses Thunderbird, user2 uses Outlook 2013.

user1 adds and changes events in behalf of user2 (as her secretary).
In some events user1 is also participant, in some events that's not
the case.

How can we cover these user cases with SOGo? What's the recommended
way?

anything new on this topic? Shall we open a bug report?

Outlook 2013 over ActiveSync?

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

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

Re: [SOGo] cleanup database

2017-05-10 Thread Ludovic Marcotte

On 2017-05-09 2:23 AM, Ralf Cirksena (c...@holmco.de) wrote:


how do I remove entries of no longer existing users from SOGo?

Have a look at 'sogo-tool truncate-calendar'.

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

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


Re: [SOGo] sogo-tool backup missing users

2017-05-10 Thread Ludovic Marcotte

On 2017-05-10 2:41 PM, Gerald Brandt (g...@majentis.com) wrote:

I don't get all the users. However, if I do sogo-tool backup 
/root/sogo alopez, I get the user missed by all. Is this a bug, or is 
there some reason the user is not done when using ALL? 

How many users do you get? Are you using LDAP-based authentication?

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

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


[SOGo] sogo-tool backup missing users

2017-05-10 Thread Gerald Brandt

Hi,

If I do:

sogo-tool backup /root/sogo ALL

I don't get all the users. However, if I do sogo-tool backup /root/sogo 
alopez, I get the user missed by all. Is this a bug, or is there some 
reason the user is not done when using ALL?


Gerald

SOGo 3.2.7 on Nethserver


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


[SOGo] FreeBusy for Outlook

2017-05-10 Thread Gerald Brandt

Hi,

I've been wanting SOGo's free/busy info to show up in Outlook for a long 
time. I finally wrote something.


It requires sogo-tool to get every users calendars, libical to generate 
freebusy info. I borrowed code from Citadel to get libical to generate 
the free busy info for me.


It's a single C++ file. Simply compile with g++ and link with libical.

I have it running under NethServer and generating new freebusy files 
every 15 minutes, then scp'ing the final files to a web server where 
Outlook can find them. Certain things are hardcoded into the source:


const string SOURCE_DIRECTORY = "/root/sogo/" ;  // location of 
sogo-tool backup files
const string VFB_DIRECTORY = "/root/vfb/" ;  // location of final 
freebusy files
const string DOMAIN = ".com" ;   // domain for ORGANIZER 
information


Is anyone interested? What should I do with the source?

Gerald

sample freebusy file:

BEGIN:VCALENDAR
PRODID:GBR - SOGo FreeBusy Generator
VERSION:2.0
BEGIN:VFREEBUSY
METHOD:PUBLISH
DTSTAMP:20170510T171507
ORGANIZER: x...@xxx.com
FREEBUSY:20170215T172100Z/20170215T182100Z
DTSTART:20170106T16Z
DTEND:20170721T133000Z
FREEBUSY:20170510T19Z/20170510T21Z
FREEBUSY:20170116T213000Z/20170116T223000Z
FREEBUSY:20170307T16Z/20170307T17Z
FREEBUSY:20170106T16Z/20170106T173000Z
FREEBUSY:20170315T15Z/20170315T16Z
FREEBUSY:20170315T15Z/20170315T16Z
FREEBUSY:20170330T153000Z/20170330T163000Z
FREEBUSY:20170316T193000Z/20170316T21Z
FREEBUSY:20170505T203000Z/20170505T21Z
FREEBUSY:20170502T17Z/20170502T18Z
FREEBUSY:20170720T13Z/20170721T133000Z
FREEBUSY:20170330T153000Z/20170330T163000Z
END:VFREEBUSY
END:VCALENDAR

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


Re: [SOGo] Re. SOGo not sending scripts to managesieve

2017-05-10 Thread "Frank Soyer"

My apologize : I made not all the tests and now I must minimize the problem ^^
In fact, the vacation feature works fine ! It creates the file sogo.sieve AND 
the link .dovecot.sieve, and the auto response is correctly sent : perfect !
If we have no vacation activated, the file doesn't exist, and creating a filter 
does not create it.
If vacation is active, the file is just recreated with only the vacation 
message but not the filter.

Playing with tcpflow show that the "PUTSCRIPT" request is correctly sent to 
managesieve if a vacation exists (or is created). This request is never sent 
when creating a filter.

Any idea ?
Frank

Le Mercredi 10 Mai 2017 10:43 CEST, "\"Frank Soyer\"" (fso...@systea.fr) 
 a écrit:
  Hi guys,
I have exactly the same problem with a recent install (3.2.8.20170427 by rpm on 
Centos7).
All the tips given below have been tried without success. The file sogo.sieve, 
even created manually, is deleted but never recreated.
tcpflow give me exactly the same sequence as Oliver.

This is annoying for filters, true, but more for vacation messages ! Help !
Please, give us a way to debug this. Why Sogo doesn't send SETACTIVE and 
PUTSCRIPT ?

Thanks
Frank

Le Vendredi 21 Octobre 2016 21:38 CEST, "Andreas" (list_m...@zero-one.net) 
 a écrit:
 
Hi Oliver,

I am facing the same problem. Did you find a solution in the meantime?


Regards,

Andreas




Hello Christian,

thanks for your reply.
The only setting that was different from yours it the MailSpoolPath. I
adapted it, but nothing changed.
I also created the script /var/vmail/.../sieve/sogo.sieve as well as the
link /var/vmail/.../.sieve pointing to the sogo script. But as before,
when I modify the filter rules in the SOGo web interface and save the
changes, SOGo tells managesieve the command 'SETACTIVE ""' which deletes
the link /var/vmail/.../.sieve and furthermore 'DELETESCRIPT "sogo"'
which removes the file /var/vmail/.../sieve/sogo.sieve. But then SOGo
doesn't sends any further instructions to create a new sogo script and
to reenable it.
I'm not using any other software than SOGo to modify my sieve scripts.

Oliver


-- Originalnachricht --
Von: "Christian Eichert" < users@sogo.nu>
An: users@sogo.nu
Gesendet: 28.06.2016 13:51:11
Betreff: Re: [SOGo] SOGo not sending scripts to managesieve

Hallo to allerseits
I had a similar problem about a long time ago when I first implemented
SOGo
there the following settings in /etc/sogo/sogo.conf that are relevant
with sieve
SOGoMailSpoolPath = /var/vmail;
[...]
SOGoSieveServer = "sieve://mail.mydomain.org:4190";
SOGoSieveScriptsEnabled = YES; // (Sieve Script einschalten)
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
this will result that for example in this described case sogo expects
u...@mydomain.org to have a folder called
/var/vmail/ u...@mydomain.org/sieve/
and in it a file called :
/var/vmail/ u...@mydomain.org/sieve/sogo.sieve
The first thing to remember is that
1) YOU MUST CREAT IT. SOGo will not create this file for you. And you
must call it sogo.sieve. No other name is good.
And you have to place the link from
ln /var/vmail/ u...@mydomain.org/sieve/sogo.sieve /var/vmail/
u...@mydomain.org/.dovecot.sieve
for dovecot to know this is the main sieve script. SOGo will not put the
link.
For some reason this file (/var/vmail/
u...@mydomain.org/sieve/sogo.sieve) is not read correctly by SOGo.
If you create it and modify it with SOGo the world looks fine, but you
must never touch this script with another editor.
2) If you modify this file for example with the Thunderbird app SOGO
will ignore the changing and will overwrite it with the last version you
created with SOGo next time.
Also SOGo does not allow one to write the sieve script by hand.
The Thunderbird plugin will let you create a huge number of scripts, but
you can always activate only one.
The script you create with Thunderbird will be called main.sieve and if
you activate it your script you created with SOGo will not be active.
And probably this is happening with your case.
Have Fun
Christian

On 27.06.2016 21:56, so...@oliver-kabierschke.de wrote:
Hi Tilo,

thanks for your response. For me it's:

plugin {
sieve = /var/vmail/%d/%n/.sieve
sieve_dir = /var/vmail/%d/%n/sieve
sieve_before = /var/vmail/sieve/spam-global.sieve
}

As managesieve does not throw any error despite from the non-existant
sogo script, I suppose, the fault is located on the sogo side and
dovecot is configured correctly.
Is somone else using SOGo 3.1.x on Ubuntu 16.04 with dovecot 2.2.22?

Oliver


-- Originalnachricht --
Von: "Tilo Werner" mailto: users@sogo.nu
An: users@sogo.nu
Gesendet: 27.06.2016 12:43:54
Betreff: Re: [SOGo] SOGo not sending scripts to managesieve

Hi,

for dovecot I've got:

plugin {
sieve = /var/vmail/%d/%n/.dovecot.sieve
sieve_dir = /var/vmail/%d/%n/.sieve
sieve_before = /etc/dovecot/sieve.before
}

where .dovecot.sieve is a link to the active sieve script in folder
.sieve

ls -la 

Re: [SOGo] Re. SOGo not sending scripts to managesieve

2017-05-10 Thread "Frank Soyer"

Hi guys,
I have exactly the same problem with a recent install (3.2.8.20170427 by rpm on 
Centos7).
All the tips given below have been tried without success. The file sogo.sieve, 
even created manually, is deleted but never recreated.
tcpflow give me exactly the same sequence as Oliver.

This is annoying for filters, true, but more for vacation messages ! Help !
Please, give us a way to debug this. Why Sogo doesn't send SETACTIVE and 
PUTSCRIPT ?

Thanks
Frank

Le Vendredi 21 Octobre 2016 21:38 CEST, "Andreas" (list_m...@zero-one.net) 
 a écrit:
 
Hi Oliver,

I am facing the same problem. Did you find a solution in the meantime?


Regards,

Andreas




Hello Christian,

thanks for your reply.
The only setting that was different from yours it the MailSpoolPath. I
adapted it, but nothing changed.
I also created the script /var/vmail/.../sieve/sogo.sieve as well as the
link /var/vmail/.../.sieve pointing to the sogo script. But as before,
when I modify the filter rules in the SOGo web interface and save the
changes, SOGo tells managesieve the command 'SETACTIVE ""' which deletes
the link /var/vmail/.../.sieve and furthermore 'DELETESCRIPT "sogo"'
which removes the file /var/vmail/.../sieve/sogo.sieve. But then SOGo
doesn't sends any further instructions to create a new sogo script and
to reenable it.
I'm not using any other software than SOGo to modify my sieve scripts.

Oliver


-- Originalnachricht --
Von: "Christian Eichert" < users@sogo.nu>
An: users@sogo.nu
Gesendet: 28.06.2016 13:51:11
Betreff: Re: [SOGo] SOGo not sending scripts to managesieve

Hallo to allerseits
I had a similar problem about a long time ago when I first implemented
SOGo
there the following settings in /etc/sogo/sogo.conf that are relevant
with sieve
SOGoMailSpoolPath = /var/vmail;
[...]
SOGoSieveServer = "sieve://mail.mydomain.org:4190";
SOGoSieveScriptsEnabled = YES; // (Sieve Script einschalten)
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
this will result that for example in this described case sogo expects
u...@mydomain.org to have a folder called
/var/vmail/ u...@mydomain.org/sieve/
and in it a file called :
/var/vmail/ u...@mydomain.org/sieve/sogo.sieve
The first thing to remember is that
1) YOU MUST CREAT IT. SOGo will not create this file for you. And you
must call it sogo.sieve. No other name is good.
And you have to place the link from
ln /var/vmail/ u...@mydomain.org/sieve/sogo.sieve /var/vmail/
u...@mydomain.org/.dovecot.sieve
for dovecot to know this is the main sieve script. SOGo will not put the
link.
For some reason this file (/var/vmail/
u...@mydomain.org/sieve/sogo.sieve) is not read correctly by SOGo.
If you create it and modify it with SOGo the world looks fine, but you
must never touch this script with another editor.
2) If you modify this file for example with the Thunderbird app SOGO
will ignore the changing and will overwrite it with the last version you
created with SOGo next time.
Also SOGo does not allow one to write the sieve script by hand.
The Thunderbird plugin will let you create a huge number of scripts, but
you can always activate only one.
The script you create with Thunderbird will be called main.sieve and if
you activate it your script you created with SOGo will not be active.
And probably this is happening with your case.
Have Fun
Christian

On 27.06.2016 21:56, so...@oliver-kabierschke.de wrote:
Hi Tilo,

thanks for your response. For me it's:

plugin {
sieve = /var/vmail/%d/%n/.sieve
sieve_dir = /var/vmail/%d/%n/sieve
sieve_before = /var/vmail/sieve/spam-global.sieve
}

As managesieve does not throw any error despite from the non-existant
sogo script, I suppose, the fault is located on the sogo side and
dovecot is configured correctly.
Is somone else using SOGo 3.1.x on Ubuntu 16.04 with dovecot 2.2.22?

Oliver


-- Originalnachricht --
Von: "Tilo Werner" mailto: users@sogo.nu
An: users@sogo.nu
Gesendet: 27.06.2016 12:43:54
Betreff: Re: [SOGo] SOGo not sending scripts to managesieve

Hi,

for dovecot I've got:

plugin {
sieve = /var/vmail/%d/%n/.dovecot.sieve
sieve_dir = /var/vmail/%d/%n/.sieve
sieve_before = /etc/dovecot/sieve.before
}

where .dovecot.sieve is a link to the active sieve script in folder
.sieve

ls -la /var/vmail/moosbee.de/tilo/.dovecot.sieve -> .sieve/sogo.sieve

The active script is defined by the link target.

Hope that helps.
Tilo

Am 27.06.2016 um 00:23 schrieb so...@oliver-kabierschke.de:
Hello everybody,

I'm having problems with my fresh SOGo 3.1.3 installation on Ubuntu
16.04 with dovecot: when I modify email filters, SOGo does not send
sieve scripts to managesieve. I tracked the TCP traffic to the
managesieve server:

# tcpflow -c -i lo port 4190
tcpflow: listening on lo
127.000.000.001.04190-127.000.000.001.56344: "IMPLEMENTATION" "Dovecot
Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation
subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment