View previous topic :: View next topic |
Author |
Message |
fklama n00b
Joined: 13 Apr 2004 Posts: 33 Location: Germany
|
Posted: Sun Jan 26, 2025 6:04 pm Post subject: Where did cyradm go? |
|
|
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:
- How to get net-mail/cyrus-imapd to also create the cyradm command?
- What package to emerge to get cyradm?
- How one does what cyradm used to do now (adding IMAP users, IMAP quotas, etc.)?
|
|
Back to top |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 461
|
Posted: Sun Jan 26, 2025 8:44 pm Post subject: |
|
|
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 |
|
|
freke Veteran
Joined: 23 Jan 2003 Posts: 1048 Location: Somewhere in Denmark
|
Posted: Sun Jan 26, 2025 9:33 pm Post subject: |
|
|
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 |
|
|
|