25 Commits

Author SHA256 Message Date
c64dea7747 Gromox 3.4 2026-02-02 12:37:55 +01:00
a4321bca6f Gromox 3.3 2025-12-27 12:53:42 +01:00
07de5d7b15 Gromox 3.2 2025-11-24 17:47:39 +01:00
55c63d9f13 Gromox 3.1 2025-10-26 17:14:50 +01:00
8ccf03b7e7 Gromox 3.0 2025-09-30 23:24:37 +02:00
7b902c42ee Gromox 2.48 2025-07-31 18:11:57 +02:00
7b12c4de23 Gromox 2.47 2025-07-28 19:22:27 +02:00
2b5db2104b Gromox 2.46 2025-05-28 17:02:59 +02:00
601dfdee7f gromox 2.45 2025-04-15 23:48:24 +02:00
8729858c78 Trim excess keys from keyring 2025-03-27 00:18:01 +01:00
5f35cf00d8 gromox 2.44 2025-03-19 19:48:39 +01:00
71f725abe7 Gromox 2.43 2025-03-06 18:25:43 +01:00
81320d95a4 gromox 2.42 2025-02-19 18:41:36 +01:00
872ac32a00 Gromox 2.41 2025-02-07 11:40:23 +01:00
411e216a6b Gromox 2.40 2025-01-28 16:45:51 +01:00
a89c2f72d9 gromox 2.39 2025-01-22 01:30:05 +01:00
f39ff584af gromox 2.38 2024-12-07 12:31:36 +01:00
58428fa92c Gromox 2.37 2024-11-20 12:05:29 +01:00
a8a3c49feb Gromox 2.36 2024-11-06 17:02:58 +01:00
fbc8d5d4df Gromox 2.35 2024-10-15 14:13:39 +02:00
cc345f8843 gromox 2.34 2024-10-08 20:14:21 +02:00
3493ed7aa4 gromox 2.33 2024-10-01 22:16:01 +02:00
c94e92d821 gromox 2.32 2024-09-04 21:13:44 +02:00
cd650e4cb5 Gromox 2.31 2024-08-14 11:29:32 +02:00
4267ab0073 Gromox 2.30 2024-06-21 22:16:24 +02:00
14 changed files with 352 additions and 64 deletions

View File

@@ -1 +1 @@
gromox (0) unstable; urgency=low
gromox (3.1) UNRELEASED; urgency=low

View File

@@ -1,20 +1,18 @@
Source: gromox
Priority: optional
Section: mail
Maintainer: Gromox <null@gromox.com>
Maintainer: Gromox <dev@gromox.com>
Standards-Version: 4.5.0
Build-Depends: debhelper-compat (= 12)
Build-Depends: debhelper-compat (= 13)
Package: gromox
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends},
php-cli, php-fpm, php-mysql, php-simplexml, php-soap,
system-user-grommunio, system-user-gromox (>= 4), w3m,
libhx32 (>= 4.27)
system-user-grommunio, system-user-gromox (>= 4), w3m
Provides: php-mapi-gromox
Description: Groupware server (backend) with RPCH, IMAP and Z-MAPI support
.
Gromox is the central groupware server component of grommunio. It is
capable of serving as a replacement for Microsoft Exchange and
compatibles. Connectivity options include Outlook Anywhere

50
debian.copyright Normal file
View File

@@ -0,0 +1,50 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://grommunio.com/, https://github.com/grommunio/gromox
Upstream-Name: gromox
Upstream-Contact: grommunio <dev@grommunio.com>
Files: *
Copyright: Copyright 2019-2025 grommunio GmbH.
License: AGPL-3 and GPL-3 and GPL-2
See LICENSE.txt for official license document.
.
Gromox incorporates code from the Samba project, which is subject
to the GPL-3, found /usr/share/common-licenses/GPL-3 on Debian based
systems.
.
Gromox also incorporates programs from Steep, which carried the following
block of information. "Certain software" refers to the Samba parts
that Steep also included.
.
-----8<-----
.
This is a release of steep 1.0, brought to you by Yang Songyi.
This software is released under version 2 of the GNU General
Public License (GPLv2), as set forth below, with the following
additional permissions:
.
This distribution of steep 1.0 is distributed with certain software
that is licensed under separate terms, as designated in a particular
file or component or in the license documentation. Without limiting
your rights under the GPLv2, the authors of steep hereby grant you an
additional permission to link the program and your derivative works
with the separately licensed software that they have included with
the program.
.
Election of GPLv2
.
For the avoidance of doubt, except that if any license choice other
than GPL or LGPL is available it will apply instead, Yang Songyi elects
to use only the General Public License version 2 (GPLv2) at this time for
any software where a choice of GPL license versions is made available
with the language indicating that GPLv2 or any later version may be
used, or where a choice of which version of the GPL is applied is
otherwise unspecified.
.
------>8-------------
.
GPL-2 can be found in /usr/share/common-licenses/GPL-2 on Debian based
systems.
.
GNU AFFERO GENERAL PUBLIC LICENSE version 3 (AGPL-3) text in adjoining
LICENSE.txt

2
debian.gromox.docs Normal file
View File

@@ -0,0 +1,2 @@
LICENSE.txt
README.rst

View File

@@ -1,6 +1,10 @@
#!/bin/sh
# postinst script for grommunio-admin-api
#
# see: dh_installdeb(1)
set -e
. /usr/share/debconf/confmodule
set_perms()
@@ -10,7 +14,7 @@ set_perms()
MODE="$3"
FILE="$4"
if ! dpkg-statoverride --list "$FILE" >/dev/null 2>&1; then
chown -h "$USER:$GROUP" "$FILE"
chown "$USER:$GROUP" "$FILE"
chmod $MODE "$FILE"
fi
}
@@ -31,27 +35,29 @@ xpostinst()
set_perms gromox gromox 0750 /var/log/gromox || :
# %post
if test -x /usr/bin/systemd-tmpfiles; then
systemd-tmpfiles --create tmpfiles-gromox.conf || :
else
echo "There is no systemd-tmpfiles present in the system. /run/gromox may not have been created."
fi
if test -x /usr/bin/systemctl; then
systemctl daemon-reload || :
systemctl try-restart gromox-delivery.service \
gromox-delivery-queue.service gromox-event.service \
gromox-http.service gromox-imap.service gromox-midb.service \
gromox-pop3.service gromox-timer.service gromox-zcore.service \
grommunio-chat.service \
systemctl try-restart \
php7.4-fpm.service php8.0-fpm.service php8.1-fpm.service \
php8.2-fpm.service php8.3-fpm.service \
saslauthd.service 2>/dev/null || :
fi
}
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure|reconfigure)
xpostinst
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
@@ -60,3 +66,12 @@ abort-upgrade|abort-remove|abort-deconfigure)
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
xpostinst
exit 0

View File

@@ -2,9 +2,17 @@
export DH_VERBOSE=1
phpdir := $(shell readlink -f $$(php-config --ini-path)/..)
INSTDIR := debian/gromox
unitdir := $(shell pkg-config systemd --variable systemdsystemunitdir)
%:
dh $@ --parallel --with autoreconf
-mkdir -p debian/source && echo "1.0" > debian/source/format
dh $@ --with autoreconf
# Somehow autoconf is not picking up systemd unitdir correctly
# we need to install system unit files in the correct place depending
# on whether the distro is by default /usr merged or not
override_dh_auto_configure:
dh_auto_configure -- --with-unitdir=$(unitdir)
override_dh_auto_install:
dh_auto_install
@@ -29,3 +37,10 @@ override_dh_auto_install:
mv -v debian/gromox${phpdir}/cli/conf.d/mapi.ini debian/gromox${phpdir}/mods-available/
ln -s ${phpdir}/mods-available/mapi.ini debian/gromox${phpdir}/cli/conf.d/mapi.ini
ln -s ${phpdir}/mods-available/mapi.ini debian/gromox${phpdir}/fpm/conf.d/mapi.ini
# Remove run/gromox as its a mounted tmpfs
rm -rf debian/gromox/run debian/gromox/var/run || true
# Add grommunio standard systemd service handling
override_dh_installsystemd:
dh_installsystemd --no-start --no-enable --restart-after-upgrade

View File

@@ -0,0 +1,10 @@
# OBS debtransform does things with debian/changelog
gromox source: no-nmu-in-changelog
# OBS debtransform does things with debian/changelog
gromox source: source-nmu-has-incorrect-version-number
# OBS debtransform versioning is not incomprehensible...
gromox source: odd-historical-debian-changelog-version

View File

@@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCZ/7HnwAKCRCutpQaL5yZ
REQmAQCjWkMRQV6YjvH/vXTnjx+FeaTJx3FNoHBlQwRpCzWo2gD+Ol7MrYkKu3xY
uIP22L15QPVqt5JQ1N9ZtXOi8SjfoQo=
=WIbq
-----END PGP SIGNATURE-----

Binary file not shown.

8
gromox-3.4.tar.asc Normal file
View File

@@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
iJEEABYKADkWIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCaYCDZhsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDIACgkQrraUGi+cmUR1nwD+PCv7Vwyev6Zau4JbTQa2
+90/2xDC8N+rWi6rSFNLU9QA/0TiIKsYApqUZZGzFKk0xrvJPgmCvy23S7gp6ClE
vqYP
=HqSL
-----END PGP SIGNATURE-----

BIN
gromox-3.4.tar.zst LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,217 @@
-------------------------------------------------------------------
Mon Feb 2 11:36:15 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.4
* mbop: new "zaddrxlat" command
* delivery: add pre-delivery junk shelving and ``lda_junk_rules``
config directive
* mrautoproc: server-side processed meeting requests
automatically entered into the calendar had lacked the flags
asfMeeting+asfReceived, which was fixed.
* nsp: seeking backwards with the seekEntries routine jumped too
far backwards, causing the last screenful of the Outlook GAL to
be misrepresented.
* oxcmail: the "Keywords:" RFC5322 header (Categories) used to
get filled with text garbage, which is now fixed.
* zcore: plug a memory leak occuring when importing vCards
* Any data, when converted from windows-1255 or 1258 character
set to Unicode, sometimes lost the last character in the
conversion, which has been fixed.
* exmdb: abort purge-datafiles if there is a database error midway
* imap: release potentially-large APPEND buffers much earlier
* exporter: plug two memory leaks
* oxcmail: limit nesting depth of attachments during export to 7
* oxcmail: RFC 5322 header fields are now treated as US-ASCII as
mandated, and no longer magically assumed to be in the same
charset as the body.
* exporter: FAI messages are no longer emitted by default and
explicitly need to be requested with the -a option.
* ruleproc: treat not only "Busy" as a collision, but also
"Tentative" and "Out-Of-Office"
* ab_tree: PR_COMPANY_NAME is no longer synthesized from the
title of the domain a user belongs to
-------------------------------------------------------------------
Sat Dec 27 11:53:34 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.3
* oxvcard: include photo when converting MAPI contact objects to
VCARD
* exporter: support export of multiple messages to GXMT
* exporter: support for folder export to GXMT
* importer: support a read-only mode
* exmdb: include RTF in the cross-body format synchronization
when the message is saved, making Outlook Notes or Outlook
Contact notes display something in grommunio-web and other
clients
* exmdb: new read_delegate/write_delegate EXRPCs so that
delegates.txt is no longer accessed via filesystem
* exch: allow user sending mail with From: line set to own aliases
* mysql_adaptor: regard aliases for user_ids and displayname
* ews: recognize <TimeZoneContext> elements located in the SOAP
header
* ews: avoid sending newly created message items when message
invitation flag is set
* zcore: obtain freebusy information for own mailbox using owner
mode, so that setting e.g. the "default" ACL default for one's
calender does not deprive the user of his own freebusy view.
* exmdb: the event volley when the last row of a MAPI table with
categories got deleted had wrong event data
* emsmdb: calls over RPCH with large outputs would sometimes just
report an error due to insufficient buffer sizes, which has
been fixed.
* mapi_lib: repair botched html_to_rtf with non-UTF-8 HTML input
* rtf_to_html and html_to_plain misconverted
U+007F,U+07FF,U+7FFF,U+7FFFF to faulty UTF-8, which has been
fixed
-------------------------------------------------------------------
Mon Nov 24 16:35:44 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2
* More supported EWS handlers and types (GetRoomLists, GetRooms,
tItemAttachment, tUserConfigurationName, CategoryList, ReplyTo)
* istore: standalone exmdb_provider process launcher
* oxcmail: on export (MAPI-to-IM), recognize EX-in-ONEOFF and
EMSAB (GAB) entryids in the Reply-To field and substitute them
* kdb2mt: entryids and search keys for senders/recipients are now
translated with the help of user maps
* ab_tree: users with HIDE_FROM_GAL or HIDE_FROM_AL were not
hidden in all cases, which has been rectified
* imap: suppress ``AUTH=LOGIN`` advertisement before TLS
established and instead emit ``LOGINDISABLED`` capability
* ews: avoid sending out emClient's draft messages
* exmdb: MAPI table row deletion events were not being delivered,
which was fixed
* delivery: the OOF autoresponder was rewritten so it does not
use direct filesystem access anymore (since the mailbox might
not be present on the same host where the LDA runs)
-------------------------------------------------------------------
Sun Oct 26 16:09:53 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.1
* http: support for SPNEGO authentication (Kerberos-in-SPNEGO or
NTLMSSP-in-SPNEGO) with the HTTP "Authorization: Negotiate"
header.
* dscli: try all oxdisco URLs until one succeeds
* exmdb: support repeated import of permission data
* ews: create calendar item after accepting a MR with MacMail
* emsmdb,zcore: Send-As mail now correctly has the delegator in
Envelope-From
* email_lib: deal with MIME parts with zero header lines
* nsp: avoid buffer overruns in nsp_interface_fetch_property
* emsmdb: Partial message change tracking was buggy and deleted
* http: A workaround was added for OpenSSL 3.0 so that
connections from Outlook 2010 once again succeed.
* mysql_adaptor: Improve the time needed to compute the composite
mailbox permission for user in a case of a mailbox with 100K
ACL entries.
* exmdb: deactivate movecopy/deletemessages event storm compaction
* emsmdb: outgoing lzxpress compression in the EMSMDB protocol is
now disabled as it does not compress well for the time
invested.
-------------------------------------------------------------------
Tue Sep 30 21:02:03 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.0
* eml2mt now transmits the RFC5322 representation into the
message store.
* midb now transmits the RFC5322 representations of messages
created via IMAP into the message store.
* oxcical: implement support for VTODO and VJOURNAL.
* mbop: add "freeze" and "thaw" commands.
* mbop: support UTC/zone suffixes for getfreebusy -a/-b
arguments.
* exmdb: new config directive ``exmdb_eph_prefix`` to put
ephmeral files like tables.sqlite3 on a local disk.
* exmdb: add a time index over messages to speed up common cases
of grommunio-web GetContentsTable requests.
* oxdisco: the AutoConfig mechanism now emits an EWS server
information block.
* oxcical: iCal events with a date in DTSTART & DTEND but without
X-MICROSOFT-CDO-ALLDAYEVENT are now transformed into Allday
events even if the event is longer than one day.
* delivery: emit MDN-RRT messages even with
``lda_twostep_ruleproc`` is set.
* oxdisco: AutoConfig XML now features the incomingServer type
parameter in the right place.
* oxdisco: AutoConfig now emits outgoing server port 587 as type
smtp.
* ruleproc: auto-enter MRs into target calender even if the
sender is not going to get a response.
* ews: Avoid sending multiple ``<?xml ?>`` lines into the
notification stream HTTP response body.
* ews: trim "duplicate" recipients when a newly-created item has
recipients in both <mimeContent> and <To>/<Cc>.
* ews: prevent FAI messages from polluting the Normal Message Set
during ICS.
-------------------------------------------------------------------
Thu Jul 31 16:06:13 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.48
* gromox.cfg now has a ``ruleproc_debug`` directive (applies to
the TWOSTEP Processor only)
* ews: repair a nullptr dereference from the OOF XML change
* exmdb: make EXRPC write_message_v2 fill in return MID/CN values
* ab_tree: restore filtering of objects with AB_HIDE_FROM_GAL
for NSP (this was lost in a Global Address Book provider
rewrite in 2.40)
-------------------------------------------------------------------
Mon Jul 28 16:42:44 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.47
* oxdisco: support RFC 6764 well-known endpoints for
CalDAV/CardDAV (if not running grommunio nginx config in front)
* oxcical: try to handle ICS files with missing VTIMEZONE blocks
* oxcical: support YEARLY recurrences with BYDAY without BYSETPOS
* imap: offer $Forwarded keyword for APPEND/STORE commands
* nsp: remove meaningless session_check directive; no longer
erroneously reject requests after daemon received SIGHUP
* oxcical: avoid setting out-of-spec MAPI recurnum for
FREQ=MONTHLY,BYDAY= recurrences
* oxcical: fix wrong BYMONTH calculation for MONTHNTH recurrences
being exported to iCal
* midb, imap: make EXPUNGE synchronous so that old UIDs don't
reappear in a subsequent FETCH
* midb: respect setting \Deleted, \Answered, \Flagged during APPEND
* exmdb: resolve a case of "INSERT INTO t... UNIQUE constraint
failed" log message
* exmdb: stop losing RFC5322 representation when a message is
copied
* HTML-to-Text conversion using w3m suffered from an encoding
mismatch, which was fixed.
-------------------------------------------------------------------
Wed May 28 15:02:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.46
* cgkrepair: detect Change Keys with impossibly high values
* cgkrepair: retain a PCL's foreign XIDs
* ical2mapi: support FREQ=MONTHLY recurrences using BYDAY= but
no BYSETPOS= * mt2exm: the -B option now supports numeric
identifiers
* ical2mapi: expand E-2718 error into new codes E-28xx with
extended reason
* imap: allow '%' '*' and '?' in folder names
* daemons: the default log destination is now "automatic"
(stderr/syslog autodetect) rather than "stderr"
* mapi2ical: deal with strange allday events that do not
start/end on midnight
* htmltotext: w3m is now instructed on charsets and does not
need to guess anymore
* exch: value for the PR_MAX_SUBMIT_MESSAGE_SIZE property was
off by a factor of 1024, which has been fixed
* mkprivate/mkpublic: generate a PR_MAPPING_SIGNATURE value
distinct from PR_STORE_RECORD_KEY for newly-initialized
stores
* ical2mt, vcf2mt: messages are no longer emitted with an
anchor, which now allows free placement with mt2exm -B
* ical2mapi: ignore unreasonable requests like BYMONTHDAY=32
-------------------------------------------------------------------
Tue Apr 15 21:48:13 UTC 2025 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,9 +1,9 @@
Format: 1.0
Source: gromox
Architecture: any
Version: 2.45
Version: 3.4
DEBTRANSFORM-RELEASE: 1
Maintainer: Gromox <null@gromox.com>
Maintainer: Gromox <dev@gromox.com>
Homepage: https://gromox.com
Standards-Version: 4.5.0
# libbfio is in the require list because libpff-dev is lacking it (bug)
@@ -12,16 +12,16 @@ Build-Depends:
automake (>= 1:1.11) | automake1.11,
autotools-dev,
binutils (>= 2.20),
debhelper-compat (>= 12),
debhelper-compat (= 13),
devscripts,
fakeroot,
g++ (>= 7),
g++ (>= 12),
gettext,
libbfio-dev,
libcurl4-openssl-dev,
libesedb-dev,
libfmt-dev (>= 8),
libhx-dev (>= 4.27),
libhx-dev (>= 4.28),
libjsoncpp-dev (>= 1.4.0),
libkrb5-dev,
libldap2-dev,
@@ -44,8 +44,9 @@ Build-Depends:
php-dev (>= 7.0),
pkg-config (>= 0.23),
sed,
systemd,
systemd-dev | systemd,
uuid-dev,
wmime-dev (>= 1),
zlib1g-dev
zlib1g-dev,
lintian
Files:

View File

@@ -1,7 +1,7 @@
#
# spec file for package gromox
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define _libexecdir %_prefix/libexec
Name: gromox
Version: 2.45
Version: 3.4
Release: 0
Summary: Groupware server backend with RPC, IMAP,POP3, PHP-MAPI support
License: AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
@@ -30,7 +30,7 @@ Source2: https://github.com/grommunio/gromox/releases/download/%name-%ver
Source8: %name.keyring
BuildRequires: fdupes
%if 0%{?suse_version} && 0%{?suse_version} < 1600
BuildRequires: gcc14-c++
BuildRequires: gcc12-c++
%else
BuildRequires: gcc-c++
%endif
@@ -55,7 +55,7 @@ BuildRequires: group(gromox)
BuildRequires: pkgconfig(fmt) >= 8
BuildRequires: pkgconfig(jsoncpp) >= 1.4.0
BuildRequires: pkgconfig(krb5-gssapi)
BuildRequires: pkgconfig(libHX) >= 4.27
BuildRequires: pkgconfig(libHX) >= 4.28
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libesedb)
@@ -124,7 +124,7 @@ ready-to-run installation of Gromox.
%build
%configure \
%if 0%{?suse_version} && 0%{?suse_version} < 1600
CC=gcc-14 CXX=g++-14 \
CC=gcc-12 CXX=g++-12 \
%endif
%nil
%make_build V=1
@@ -168,7 +168,11 @@ cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php-fpm.d/gromox.conf
perl -i -lpe 's{Type=simple}{Type=simple\nRestart=on-failure}' "$b/%_unitdir"/*.service
%fdupes %buildroot/%_prefix
%global services gromox-delivery.service gromox-delivery-queue.service gromox-event.service gromox-http.service gromox-imap.service gromox-midb.service gromox-pop3.service gromox-snapshot.service gromox-snapshot.timer gromox-timer.service gromox-zcore.service
%check
%make_build check V=1
# Though services autoreconnect, starting them in the preferred order services is smoother
%global services gromox-timer.service gromox-http.service gromox-zcore.service gromox-event.service gromox-midb.service gromox-imap.service gromox-pop3.service gromox-delivery.service gromox-delivery-queue.service gromox-snapshot.service gromox-snapshot.timer gromox-cleaner.service
%if 0%{?service_add_pre:1}
%pre
@@ -193,27 +197,6 @@ fi
# the pam module will be combined with a too old version of gromox
# libs. No good solution in sight..
/usr/bin/systemctl try-restart grommunio-chat.service php-fpm.service saslauthd.service 2>/dev/null || :
# Delete old service links
if /usr/bin/systemctl is-enabled gromox-exch.target >/dev/null 2>/dev/null; then
echo Migrating gromox-exch.target
/usr/bin/systemctl enable gromox-http.service gromox-midb.service gromox-zcore.service || :
/usr/bin/systemctl disable gromox-exch.target || :
fi
if /usr/bin/systemctl is-enabled gromox-mra.target >/dev/null 2>/dev/null; then
echo Migrating gromox-mra.target
/usr/bin/systemctl enable gromox-imap.service gromox-pop3.service || :
/usr/bin/systemctl disable gromox-mra.target || :
fi
if /usr/bin/systemctl is-enabled gromox-mta.target >/dev/null 2>/dev/null; then
echo Migrating gromox-mta.target
/usr/bin/systemctl enable gromox-delivery.service gromox-delivery-queue.service || :
/usr/bin/systemctl disable gromox-mta.target || :
fi
if /usr/bin/systemctl is-enabled gromox-sa.target >/dev/null 2>/dev/null; then
echo Migrating gromox-sa.target
/usr/bin/systemctl enable gromox-event.service gromox-timer.service || :
/usr/bin/systemctl disable gromox-sa.target || :
fi
%preun
%if 0%{?service_del_preun:1}
@@ -237,7 +220,6 @@ fi
%attr(0755,grommunio,gromoxcf) %dir %_sysconfdir/%name/
%_sbindir/gromox-*
%_libdir/*.so.*
%_libdir/%name/
%_libdir/php*/
%_libexecdir/%name/
%_pamdir/