Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where did cyradm go?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fklama
n00b
n00b


Joined: 13 Apr 2004
Posts: 33
Location: Germany

PostPosted: Sun Jan 26, 2025 6:04 pm    Post subject: Where did cyradm go? Reply with quote

I've been running an IMAP server based on net-mail/cyrus-imapd for a while.

Recently I've wanted to set up a new user to receive mails, and I've found that the cyradm command is missing.

Could someone answer one of these questions:

  1. How to get net-mail/cyrus-imapd to also create the cyradm command?
  2. What package to emerge to get cyradm?
  3. How one does what cyradm used to do now (adding IMAP users, IMAP quotas, etc.)?
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 461

PostPosted: Sun Jan 26, 2025 8:44 pm    Post subject: Reply with quote

According to [color=green]e-file cyradm[/code], cyrus-imapd is still the package you want.
If you're lacking the binary, you need to turn on the right USE flag, but I'm unfamiliar with cyrus-imapd and no USE flag seems obvious.
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1048
Location: Somewhere in Denmark

PostPosted: Sun Jan 26, 2025 9:33 pm    Post subject: Reply with quote

From a quick search
Quote:
The ``cyradm`` utility is a simple command line for performing common administrative tasks on a Cyrus IMAP server, written in Perl. The cyradm utility can either be executed from a client where it has been installed and connect to the server via IMAP or it can be executed locally via a shell on the server.
Currently testing if building with USE=+perl brings the cyradm command.
(after confirming that it wasn't build on my first try
Code:
mail ~ # emerge -pv1 cyrus-imapd

Local copy of remote index is up-to-date and will be used.

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 5.77 s (backtrack: 0/20).

[ebuild  N     ] net-mail/cyrus-imapd-3.4.5-r1::gentoo  USE="caps mysql pam server ssl -afs -backup -calalarm -clamav -http -kerberos -ldap -nntp -perl -postgres -replication -sieve -sqlite -static-libs -tcpd -test -xapian" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB


EDIT:
Can confirm that use-flag perl brings cyradm
Code:
mail ~ # USE="perl" emerge -va1 net-mail/cyrus-imapd

mail ~ # grep -iR cyradm /var/log/
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213752.log:--- replaced obj /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/text/imap/reference/manpages/systemcommands/cyradm.txt.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213752.log:--- replaced obj /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/imap/reference/manpages/systemcommands/cyradm.html
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213752.log:--- replaced obj /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/_sources/imap/reference/manpages/systemcommands/cyradm.rst.txt.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-212323.log:>>> /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/imap/reference/manpages/systemcommands/cyradm.html
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-212323.log:>>> /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/_sources/imap/reference/manpages/systemcommands/cyradm.rst.txt.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-212323.log:>>> /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/text/imap/reference/manpages/systemcommands/cyradm.txt.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:perl /var/tmp/portage/net-mail/cyrus-imapd-3.4.5-r1/work/cyrus-imapd-3.4.5/tools/fixsearchpath.pl /usr /bin < cyradm.sh > cyradm
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:cp cyradm blib/script/cyradm
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cyradm
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:Installing /var/tmp/portage/net-mail/cyrus-imapd-3.4.5-r1/image/usr/share/man/man1/cyradm.1
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:Installing /var/tmp/portage/net-mail/cyrus-imapd-3.4.5-r1/image/usr/bin/cyradm
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:>>> /usr/bin/cyradm
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:=== /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/imap/reference/manpages/systemcommands/cyradm.html
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:=== /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/_sources/imap/reference/manpages/systemcommands/cyradm.rst.txt.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:=== /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/text/imap/reference/manpages/systemcommands/cyradm.txt.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:>>> /usr/share/man/man1/cyradm.1.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:--- replaced obj /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/text/imap/reference/manpages/systemcommands/cyradm.txt.bz2
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:--- replaced obj /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/imap/reference/manpages/systemcommands/cyradm.html
/var/log/portage/build/net-mail/cyrus-imapd-3.4.5-r1:20250126-213120.log:--- replaced obj /usr/share/doc/cyrus-imapd-3.4.5-r1/doc/html/_sources/imap/reference/manpages/systemcommands/cyradm.rst.txt.bz2

mail ~ # cyradm
cyradm>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum