#1113810 Packaging /usr/bin/sieveshell separately

Package:
cyrus-admin
Source:
cyrus-admin
Description:
Cyrus mail system - administration tools
Submitter:
Roland Hieber
Date:
2025-10-12 13:07:01 UTC
Severity:
normal
Tags:
#1113810#5
Date:
2025-09-02 21:33:52 UTC
From:
To:
Dear Maintainer,

The 'sieveshell' utility is a useful client to upload sieve scripts to a remote
IMAP mail server via the ManageSieve protocol. However it is currently included
in the 'cyrus-admin' package, which pulls in most of the cyrus server components
via the cyrus-common dependency, including /usr/sbin/cyrmaster, an init.d
service, and a cron.weekly snippet for maintainance.

I didn't intend to run a full cyrus server on my laptop, I just wanted to upload
a sieve script to my remote IMAP server… :D (and it's a Dovecot IMAP server too!)

If possible, please package /usr/bin/sieveshell in a separate package (or maybe
along cyrus-clients?) so it can be installed separately.

Thanks,

 - Roland

#1113810#10
Date:
2025-09-05 13:09:46 UTC
From:
To:
Control: tags -1 +patch

In the attached patch, I instead tried to put promstatsd into its separate
package so cyrus-admin can lose the cyrus-common dependency. This seemed to work
fine, except that /usr/bin/sieveshell is still installed as a symlink to
/usr/sbin/cyrus, which seems to be a simple wrapper script that effectively only
calls /usr/lib/cyrus/bin/sieveshell, and calling /usr/lib/cyrus/bin/sieveshell
directly works equally well. I'm not sure how to make this more user-friendly so
that the real sieveshell script is installed into /usr/bin directly…

 - Roland

#1113810#17
Date:
2025-10-12 12:58:57 UTC
From:
To:
I just installed cyrus-admin just because I want sieveshell, so hereby a
+1 to package sieveshell separately.

Cheers,
  Diederik