Thank you a lot.
reading works but smh writign the values doesn't:
/usr/sbin/sogo-tool user-preferences set defaults "[email protected]"
Vacation '{"enabled":1,"autoReplyText":"Testing direct
value","daysBetweenResponse":3}' -p /etc/sogo/sieve.creds -F
2025-03-04 11:59:53.612 sogo-tool[35744:35744] ERROR(+[GCSFolderManager
defaultFolderManager]): default 'OCSFolderInfoURL' is not configured.
<0x0x5620222ac670[SOGoCache]> Cache cleanup interval set every 43200.000000
seconds
<0x0x5620222ac670[SOGoCache]> Using host(s) 'memcached' as server(s)
<0x0x562022274980[SOGoUserManager]> No authentication sources defined - nobody
will be able to login. Check your defaults.
2025-03-04 11:59:53.641 sogo-tool[35744:35744]
ERROR(-[NSException(NGMiscellaneous) initWithFormat:]): missing format!
<0x0x562022410740[SOGoSieveManager]> Could not delete Sieve script: Sieve
script `sogo' not found
<0x0x562022410740[SOGoSieveManager]> Could not upload Sieve script: sogo: line
5: error: expecting ',' or end of string list ']', but found ';'.
sogo: error: parse failed.
2025-03-04 11:59:53.654 sogo-tool[35744:35744] Error updating sieve script, not
updating database
user-preferences get|set|unset defaults|settings user [-p credentialFile] key
[value|-f filename]
user the user of whom to set the defaults/settings key/value
value the JSON-formatted value of the key
-p credentialFile Specify the file containing the sieve admin credentials
The file should contain a single line:
username:password
-F force the activation of the sieve script in case
external scripts. Must be the las targument after -p credentialsFile Examples:
sogo-tool user-preferences get defaults janedoe SOGoLanguage
sogo-tool user-preferences unset settings janedoe Mail
sogo-tool user-preferences set defaults janedoe SOGoTimeFormat
'{"SOGoTimeFormat":"%I:%M %p"}'
Christian Mack <[email protected]> schrieb am Donnerstag, 27. Februar 2025 um 11:02:
> Hello
>
> Am 26.02.25 um 17:28 schrieb International Security Providers
> ([email protected]):
>
> > is it smh possible to change "out of office" for another account?
> > I have some accounts which are not users but are only used as
> > group-accounts.
>
>
> You only can set this via console on the SOGo server.
>
> Get the current one with:
> /usr/sbin/sogo-tool user-preferences get defaults $USER Vacation
>
> And set a new one with:
> /usr/sbin/sogo-tool user-preferences set defaults $USER Vacation
> '"Vacation":
> {"daysBetweenResponse":"2","autoReplyEmailAddresses":["[email protected]",
> "[email protected]"],"enabled":1,"endDate":1761136200,"autoReplyText":"This
> is an automatic reply
> text.\n--------------------------------------------------------------------\n\nThis
> is an group address which is not read at all.\nAll emails to it are
> discarted!!!\n\n--------------------------------------------------------------------\n","alwaysSend":0,"days":[],"ignoreLists":1,"endDateEnabled":1}'
>
> Of course you should replace the content with your own :-)
>
> All dates are in Unix Timestamp format.
> You get it with:
> date -d '2025-10-22 14:30:00' "+%s"
>
>
> Kind regards,
> Christian Mack
>
> --
> Christian Mack
> Universität Konstanz
> Kommunikations-, Informations-, Medienzentrum (KIM)
> Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
> 78457 Konstanz
> +49 7531 88-4416