[SOGo] BTS activities for Thursday, January 06 2022

2022-01-06 Thread SOGo reporter
Title: BTS activities for Thursday, January 06 2022





  
BTS Activities

  Home page: https://sogo.nu/bugs
  Project: SOGo
  For the period covering: Thursday, January 06 2022

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
5449
	2022-01-06 07:50:56
	updated (open)
	Backend General
	can't upgrade from 5.0.1 to anything newer due to "the called object returned no result" error
	
	  
	
4801
	2022-01-06 13:27:24
	resolved (fixed)
	Backend Calendar
	Sogo's event invetetion with reminder is not working for MS clients - not supported calendar message.ics
	
	  
	
5391
	2022-01-06 13:27:24
	resolved (fixed)
	Backend Calendar
	Invite e-mails in Thunderbird throw a 'unknown timezone' error because of bad quoted-printable encoding (3d3d)
	
	  
	
  
  


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

RE: [SOGo] Help to setup autoconfig and autodiscover

2022-01-06 Thread Kai-Uwe Rommel - ARS
First, you need to set up DNS for your domain:

  *   CNAME of autoconfig for your web server
  *   CNAME of autodiscover for your web server
  *   SRV record of _autodiscover._tcp
So it should look like:
_autodiscover._tcp  SRV  10 0 443  webmail.domain.com.
autoconfig  CNAME webmail.domain.com.
autodiscoverCNAME webmail.domain.com.

On the web server you then need

  *   enable PHP
  *   a couple of aliases:
Alias /autodiscover/autodiscover.xml "/var/www/html/autodiscover.php"
Alias /Autodiscover/Autodiscover.xml "/var/www/html/autodiscover.php"
Alias /AutoDiscover/AutoDiscover.xml "/var/www/html/autodiscover.php"
Alias /ios "/var/www/html/mailsetup.php"

  *   then those autodiscover.php and mailsetup.php files
  *   and this mail/config-v1.1.xml:



domain.com
eMail @ domain.com 
domain.com

webmail.domain.com
993
SSL
password-cleartext
%EMAILLOCALPART%


webmail.domain.com
465
SSL
password-cleartext
%EMAILLOCALPART%

https://webmail.domain.com>
WebMail-Interface zu domain.com
WebMail interface for domain.com




The autodiscover.php is a bit lengthy:

http://technet.microsoft.com/en-us/library/cc511507.aspx

// Get contents of request made to Autodiscover.
$request = file_get_contents("php://input");
preg_match("/\(.*?)\<\/EMailAddress\>/", $request, 
$email_address);
preg_match("/\(.*?)@(.*?)\<\/EMailAddress\>/", $request, 
$email_name);

/*** Begin Configuration ***/

// ActiveSync URL.
$_CONFIG['MobileSync']['Url'] = 
https://webmail.domain.com/Microsoft-Server-ActiveSync;

// IMAP configuration settings.
$_CONFIG['IMAP']['Server'] = "webmail.domain.com";
$_CONFIG['IMAP']['Port'] = "993";
$_CONFIG['IMAP']['SSL'] = "on";
$_CONFIG['IMAP']['SPA'] = "off";
$_CONFIG['IMAP']['AuthRequired'] = "on";
$_CONFIG['IMAP']['DomainRequired'] = "off";
$_CONFIG['IMAP']['LoginName'] = $email_name[1];

// SMTP configuration settings.
$_CONFIG['SMTP']['Server'] = "webmail.domain.com";
$_CONFIG['SMTP']['Port'] = "465";
$_CONFIG['SMTP']['SSL'] = "on";
$_CONFIG['SMTP']['SPA'] = "off";
$_CONFIG['SMTP']['AuthRequired'] = "on";
$_CONFIG['SMTP']['DomainRequired'] = "off";
$_CONFIG['SMTP']['LoginName'] = $email_name[1];

/*** End Configuration ***/

// XML document heading.
header("Content-Type: text/xml");
echo "\n";

// Get the schema from the request.
preg_match("/\(.*?)\<\/AcceptableResponseSchema\>/", 
$request, $schema);

// Determine the type of device requesting Autodiscover.
if (preg_match("/\/mobilesync\//", $schema[1]))
{
// Mobile device.
?>
http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006>

de:de







MobileSync








http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006>


email
settings



$value\n";
}
?>






http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006>


600
Invalid Request






And the mailsetup.php for iOS devices:







domain.com ActiveSync Configuration for Apple iOS





Benutzer-Name:











And the mailsetup.mobileconfig it references:


http://www.apple.com/DTDs/PropertyList-1.0.dtd>


PayloadUUID
8B9C9E2E-53E7-44EC-A361-74EC8136B4CF
PayloadDisplayName
%EMAIL%
  

Re: [SOGo] Help to setup autoconfig and autodiscover

2022-01-06 Thread slavek.ba...@axis.cz
On Thursday 06 of January 2022 20:38:31 HYVERNAT Philippe wrote:
> Hello community,
>
> i don't know if it is the right feed but i want to configure autoconfig
> and autodiscover in the same web server of sogo.
>
>
> I own Postfix / Dovecot Apache 24 and sogo 5.4
>
>
> My web server is share with sogo and my setup is "webmail.domain.com"
>
>
> I find scripts examples for both thunderbird and outlook but i don't
> know *where* to place them and how configure th web server apache to
> share files.
>
>
> i use also redirection /sogo to /
>
> Thanks by advance.
>
> HYVERNAT PHILIPPE

Hi Philippe,

I recommend to look at automx2:
https://automx.org/en/

Cheers
-- 
Slávek


signature.asc
Description: This is a digitally signed message part.


[SOGo] Help to setup autoconfig and autodiscover

2022-01-06 Thread HYVERNAT Philippe

Hello community,

i don't know if it is the right feed but i want to configure autoconfig 
and autodiscover in the same web server of sogo.



I own Postfix / Dovecot Apache 24 and sogo 5.4


My web server is share with sogo and my setup is "webmail.domain.com"


I find scripts examples for both thunderbird and outlook but i don't 
know *where* to place them and how configure th web server apache to 
share files.



i use also redirection /sogo to /

Thanks by advance.

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

Re: [SOGo] Sogo adress book at Gigaset

2022-01-06 Thread "t.b.mailingli...@igeno-fat.de"

Hello,

I can't talk about the Gigaset Go-Box 100, but the GIGASET IP DECT 
Multicell system N720-DM-PRO  has following options - has anyone an idea 
if this could be connected to SoGo adressbook? Christian? Anyone?:



1. *Phone book via Lightweight Directory Access Protocol (LDAP)*
2.


   Phone book via XML-Protocol

3. *Public online phone books*

   You can select the online phonebooks of several providers for
   display in the handset.

   Provider:

 * kT Phonebook
 * Telefoongids
 * Phone cat.
 * DGS Navne
 * [tel.search.ch]
 * Settings for a custom provider  ...



Am 05.01.2022 um 15:52 schrieb Christian Mack 
(christian.m...@uni-konstanz.de):

Hello

Am 05.01.22 um 14:29 schriebkubus0...@gmail.com:

Hello everybody.

Is it possible to use the Sogo Adress book on a Gigaset Go-Box 100?


As it only provides VOIP and DECT and no access via cardDAV or any file
based import function, there is no way to integrate any cardDAV, LDIF or
vCard address book.


Kind regards,
Christian Mack


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

[SOGo] after upgrade to sogo5.4: [SOGoMailAccount]:0> Could not connect IMAP4 (but LDAP is used as SOGoUserSources, not IMAP)

2022-01-06 Thread Claus

  
  
Hello,

I just upgraded from sogo 4.3 to sogo 5.4 (latest nightly
5.4.0.20220106-1), and after the upgrade the SOGo webinterface
stopped working. I get "Request Failed" in the webinterface, and in
/var/log/sogo.log I see the following:


Jan 06 13:24:17 sogod [19461]: [ERROR]
  <0x0x55817727ee20[NGImap4ConnectionManager]> IMAP4 login
  failed:
 host=127.0.0.1, user=sogo, pwd=yes

url="">
 base=(null)
 base-class=(null))
 = <0x0x558177632fc0[NGImap4Client]: login=sogo(pwd)
  address=<0x0x5581771bc730[NGInternetSocketAddress]:
  host=127.0.0.1 port=143>>
Jan 06 13:24:17 sogod [19461]:
  <0x5581773bb040[SOGoMailAccount]:0> renewing imap4 password
Jan 06 13:24:17 sogod [19461]: [ERROR]
  <0x0x55817727ee20[NGImap4ConnectionManager]> IMAP4 login
  failed:
 host=127.0.0.1, user=sogo, pwd=yes

url="">
 base=(null)
 base-class=(null))
 = <0x0x5581774a6100[NGImap4Client]: login=sogo(pwd)
  address=<0x0x5581773e85f0[NGInternetSocketAddress]:
  host=127.0.0.1 port=143>>
Jan 06 13:24:17 sogod [19461]: [ERROR]
  <0x5581773bb040[SOGoMailAccount]:0> Could not connect IMAP4
Jan 06 13:24:17 sogod [19461]: 10.11.1.51 "POST
  /SOGo/so/sogo/Mail/0/folderINBOX/changes HTTP/1.1" 500 36/126
  0.005 - - 0 - 16
Jan 06 13:24:17 sogod [19461]: 10.11.1.51 "GET
/SOGo/so/sogo/Calendar/eventsblocks?ed=20220108=20220102=weekview
  HTTP/1.1" 500 36/0 0.012 - - 0 - 16



I know about the change to add
  "tlsVerifyMode=allowInsecureLocalhost" to the IMAP/SMTP/sieve
  connection string: however, I do not use IMAP, SMTP, or Sieve at
  all. My usersources are from an LDAP server, and for SMTP I use
  sendmail. I could authenticate to my imap server, but the
  username, and password would be different to the usernames and
  passwords on the LDAP server. 

Calendar, contacts work fine from Thunderbird/roundcube as before
  (I can add/remove/edit calendar events, send out invites, etc).
  However, the webinterface is now completely broken. I does not
  show anything at all in the calendar view. The Contacts view
  works, but does not show/find any contacts (although they work
  from Thunderbird/roundcube). Also the administrative interface is
  broken: it doesn't find any users anymore. I still can login, so
  the authentification is still working via LDAP.
Is there a way to tell SOGo to ignore IMAP, and not query it, but
  instead use LDAP just as it had been used in 4.3?
This is my /etc/sogo/sogo.conf:


{
    /* *  Main SOGo configuration file 
  **
    
*  
  *
     * Since the content of this file is a dictionary in OpenStep
  plist format,  *
     * the curly braces enclosing the body of the configuration are
  mandatory.   *
     * See the Installation Guide for details on the
  format. *
    
*  
  *
     * C and C++ style comments are
  supported.   *
    
*  
  *
     * This example configuration contains only a subset of all
  available    *
     * configuration parameters. Please see the installation guide
  more details. *
    
*  
  *
     * ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over
  this file,    *
     * make sure to move it away to avoid unwanted parameter
  overrides.  *
    
*  
  *
     *
**/
  
    /* Database configuration (mysql:// or postgresql://) */
    SOGoProfileURL =
  "postgresql://sogo:XXX@localhost:5432/sogo/sogo_user_profile";
    OCSFolderInfoURL =
  "postgresql://sogo:XXX@localhost:5432/sogo/sogo_folder_info";
    OCSSessionsFolderURL =
  "postgresql://sogo:XXX@localhost:5432/sogo/sogo_sessions_folder";
  
    /* Mail */
    //SOGoDraftsFolderName = Drafts;
    //SOGoSentFolderName = Sent;
    //SOGoTrashFolderName = Trash;
    //SOGoIMAPServer = localhost;
    //SOGoIMAPServer =
"imap://127.0.0.1:143/?tls=YES=allowInsecureLocalhost";
  //sogo5
    //SOGoSieveServer = sieve://127.0.0.1:4190;
    //SOGoSMTPServer = smtp.MYDOMAIN.org:587;
    //SOGoSMTPServer =
"smtp://127.0.0.1:587/?tls=YES=allowInsecureLocalhost";
  //sogo5
    //SOGoMailDomain = acme.com;
    SOGoMailDomain = MYDOMAIN.org;