Cyrus

about...


Cyrus is a mailbox store that supports either IMAP and POP protocols.

It was developed by the Carnegie Mellon University. While they no longer use Cyrus... they still support it.

CREATED 2017-02-28 11:08:28.0

00-27-5F

UPDATED 2020-12-29 14:01:59.0

cyradm...


Cyrus Admin or cyradm is Cyrus' administration utility used to manage the Cyrus Mail Store.

Start cyradm:

cyradm -u cyrus localhost

Enter the password for user cyrus...

List Mailboxes...

localhost> lm

CREATED 2020-12-29 14:06:26.0

010-00-04-CC

UPDATED 2020-12-29 14:52:35.0

Add a mail box...


Create a mailbox with the createmailbox command or use the shortcut cm as outlined below.

To create a mailbox...
      localhost> cm user.<username>
Example:

localhost> cm user.john.doe@example.com

CREATED 2020-12-29 14:30:53.0

010-00-04-CD

UPDATED 2020-12-29 14:52:36.0

Set the ACL...


Once the mailbox is created... you need permission to access it. For that we use an Access Control List or ACL. An ACL has to be for anyone to access it otherwise you won't be able to.

To set an ACL...
      localhost> sam <mailbox> <username> <rights>
Example:

localhost> sam user.john.doe@example.com john.doe@example.com all

Specify the rights as a string of letters...

  • l - lookup the name of the mailbox
  • r - read the contents of the mailbox
  • s - modify the seen and recent status of messages
  • w - write, change message flags
  • i - insert or put a message into the mailbox
  • p - post a message to the mail box
  • k - kreate sub mailboxes
  • x - delete a mailbox
  • t - delete messages
  • e - expunge or erase deleted messages
  • a - administer the mailbox
  • all - all rights

Example: to set lookup, read and write pemissions for a user use the string lrw

localhost> sam user.john.doe@example.com john.doe@example.com lrw

CREATED 2020-12-29 14:50:41.0

010-00-04-CE

UPDATED 2020-12-29 14:52:36.0

Testing The Server...


Test the server with Telnet...

telnet <server-FQDN> <port>

Commands...

  • . LOGIN <username&gr; <password>
  • . LIST "" "*" - List all your mailboxes
  • . LOGOUT - Close the connection and exit

Remember to put the dot in front of the command!

CREATED 2022-01-11 14:49:25.0

018-00-12-2A

UPDATED 2022-01-11 14:49:45.0

Knowledge

Docs
L
I
N
K
S

DBID: db.wam

Page Server: Ruger

©2012 Leistware Data Systems

      Hello anonymous