Norman Zhang wrote:


I read somewhere that I could create mailboxes for users in cyrus and don't need to useradd if only using MySQL. Is this correct? For example, if I'm to create a mailbox for myself, say nzhang and want to receive mail for address [EMAIL PROTECTED] Do I just create a mailbox nzhang with alias nzhang: norman.zhang?

system user and cyrus mailboxes are two separate and unrelated things, so, yes, you can have mailboxes with no associated user on the system, *but* you have to provide a method to authenticate those mailboxes. So you can create a "nzhang" mailbox in cyrus with no "nzhang" user on that box, but then cyrus has to use a different database than the system users database (usually /etc/shadow). Cyrus uses sasl for authentication, and that's the most difficult thing to get right, due to its extreme flexibility and configurability. By default the rpm is configured to use the system database (actually through a separate daemon, since cyrus cannot read /etc/shadow) because it's the simplest thing to do and it's a good starting point.

The second issue is aliases. Of course you can have a mailbox nzhang with an alias (in postfix) norman.zang. Or you can create a mailbox norman.zhang (actually you cannot in the default configuration, since the dot is the hierarchy separator in cyrus, but you can change it with altnamespace in /etc/imapd.conf).

Bye
--
- Yo también quiero una Europa libre de Patentes de Software  -
- I want a Software Patents Free Europe too! And you?         -
---------------------------------------------------------------
  EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to