Re: [SOGo] Email reminders

2022-01-16 Thread "Christian M. Jensen"

Hi,

I think what you need is a Dovecot master user, I never had to set 
credentials for reminders, but for vacation. It's a simple change to 
Dovecot configuration (also simple to revert).


It may be as simple, as setting permission for the 'creds' file so that 
sogo can read it.


Any way, they both have the /'//-p//' /configure flag, hence my suggestion.

https://www.sogo.nu/files/docs/SOGoInstallationGuide.html#_cronjob_email_reminders

    - / specify a credential file using -p /path/to/credFile.  
separated by a colon (username:plain-text-password)/


And to configure master user(s) follow the official documentation I 
think its straight forward.


https://doc.dovecot.org/configuration_manual/authentication/master_users/#master-users, 


https://doc.dovecot.org/configuration_manual/authentication/master_users/#acls

_Do not forget to lock the file with proper permissions._

    - -r 1 sogo sogo 65 Aug  1 13:02 /etc/sogo/mailAlarms.cred

That is my suggestion.

Regards
Christian Jensen.


Den 14-01-2022 kl. 22:25 skrev HYVERNAT Philippe (p.hyver...@outlook.fr):

Hello,

Thanks for your answer, I understand.


That is a way to specify this account ?

Is it eventually an issue of permission on the file ?

I try several account ...


Le 14/01/2022 à 11:44, Christian Mack (christian.m...@uni-konstanz.de) 
a écrit :

Hello

Perhaps I wasn't clear enough.

In /etc/sogo/mailAlarms.creds you need credentials for an account
capable to send emails in the name of every other user on your SOGo 
server.

Not sure your account can do that.

It is some time back since I set this up, but not having
/etc/sogo/mailAlarms.creds altogether, did trigger a "not configured"
error back then.


Kind regards,
Christian Mack

Am 13.01.22 um 14:57 schrieb hyvernat philippe (p.hyver...@outlook.fr):

Hello,
Yes postfix is couples with dovecot and an ldap server i put 
credentials and pas of my account


The error doesn’t say bas credential but not configured…
Thanks for your answer

HYVERNAT Philippe


Le 13 janv. 2022 à 13:31, Christian Mack  a écrit :

Hello

Are the crendials in /etc/sogo/mailAlarms.creds valid for sending via
SMTP server?


Kind regards,
Christian Mack


On 11.01.22 18:00, HYVERNAT Philippe (p.hyver...@outlook.fr) wrote:
lol

of course even the server



Le 11/01/2022 à 17:11, Christian Mack 
(christian.m...@uni-konstanz.de) a

écrit :
Hello

Did you restart SOGo after changing sogo.conf?


Kind regards,
Christian Mack

Am 11.01.22 um 09:31 schrieb HYVERNAT Philippe 
(p.hyver...@outlook.fr):

Hello,

i setup the cronjob email reminders and i configure sogo.conf to
enable it

|
|

|
|

OCSEMailAlarmsFolderURL =
"mysql://user:@172.30.20.151:3306/sogo/sogo_alarms_folder";


*|SOGoEnableEMailAlarms = YES;|*

|
|

|every minute, the log file (/var/log/sogo/cron-ealarms-notify.log)
|

|I have this error :
|

|
|

|2022-01-11 08:29:00.234 sogo-ealarms-notify[84802:100568] 
*EMail alarms

are disabled in the SOGo configuration.*|

|
|

|Do you have any hints ? i am really stuck on this.|

|Thanks a lot|

|HYVERNAT Philippe
|


--
Hilsen / Regards
Christian M. Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Database-error with Activesync

2022-01-16 Thread Hanns Mattes
"Thomas Fuehrer" (t...@aon.at)  schrieb:

>Hi,
>I have no explanation why this problem occurs. Since I have no access
>to a FreeBSD env I cannot test whether the problem is FreeBSD
>specific.

It seems so, I'll drop a note to the maintainer of the port.

>I tested with Debain and CentOS and EAS works without
>OCSCacheFolderURL, OCSAclURL and OCSStoreURL.
>
>So, I recommend to convert to the 9 table schema. It was introduced
>with SOGo 3.0 and has several benefits.
>
>There is an excellent  description of  the required steps here:
>https://docs.iredmail.org/upgrade.sogo.combined.sql.tables.html
>
>For a new environment you just have to set OCSCacheFolderURL,
>OCSAclURL and OCSStoreURL as described int the installation guide.

Added the manually - and everything is working.

I owe You a beer, if You're the next time in the Frankfurt area.

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


Re: [SOGo] sogo url

2022-01-16 Thread "Christian M. Jensen"

Hi,

That depends on your environment, web server etc.

In theory you should be able to configure your web server to forward 
requests from 'domain/' to 'http://127.0.0.1:2/SOGo'.


Handle the link between '/' => '/SOGo' in your server configuration. I 
can't give any samples since it depends on your environment.



Regards
Christian Jensen.

Den 13-01-2022 kl. 22:22 skrev raed abu (raedashraf...@gmail.com):

hello sogo
i am using sogo 5.4
how can i change url from https://ip/SOGo to only http://ip
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen / Regards
Christian M. Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists

AW: [SOGo] Database-error with Activesync

2022-01-16 Thread "Thomas Fuehrer"
Good to hear that it now works for you.

In the meantime I managed to reproduce the problem. As fare I can say it
only occurs on FreeBSD.

I noticed several WARNINGS about "singleStoreMode"  while
SoObjects/SOGo/SOGoCacheGCSObject.m is compiled.

The problem doesn't occur with following patch:

diff --git a/SoObjects/SOGo/SOGoCacheGCSObject.m
b/SoObjects/SOGo/SOGoCacheGCSObject.m
index 603917128..ab7df44e0 100644
--- a/SoObjects/SOGo/SOGoCacheGCSObject.m
+++ b/SoObjects/SOGo/SOGoCacheGCSObject.m
@@ -22,6 +22,7 @@
 #import 
 #import 
 #import 
+#import 
 #import 
 #import 
 #import 

Regards
Thomas

-Ursprüngliche Nachricht-
Von: users-requ...@sogo.nu  Im Auftrag von Hanns
Mattes
Gesendet: Samstag, 15. Jänner 2022 18:22
An: users@sogo.nu
Betreff: Re: [SOGo] Database-error with Activesync

"Thomas Fuehrer" (t...@aon.at)  schrieb:

>Hi,
>I have no explanation why this problem occurs. Since I have no access 
>to a FreeBSD env I cannot test whether the problem is FreeBSD specific.

It seems so, I'll drop a note to the maintainer of the port.

>I tested with Debain and CentOS and EAS works without 
>OCSCacheFolderURL, OCSAclURL and OCSStoreURL.
>
>So, I recommend to convert to the 9 table schema. It was introduced 
>with SOGo 3.0 and has several benefits.
>
>There is an excellent  description of  the required steps here:
>https://docs.iredmail.org/upgrade.sogo.combined.sql.tables.html
>
>For a new environment you just have to set OCSCacheFolderURL, OCSAclURL 
>and OCSStoreURL as described int the installation guide.

Added the manually - and everything is working.

I owe You a beer, if You're the next time in the Frankfurt area.

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

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