On Tue, Feb 19, 2002 at 10:19:27PM -0600, Mike Grommet wrote:
> I'm using Cyrus IMAP 2.0.16
> 
> I've read many articles in the archives concerning the use of cyrus in
> virtual hosting environments... Most of them are fairly old tho.
> 
> Did this support get added in?
> Could someone point me to a HOWTO or other documentation on the subject?

We've done a simple trick to get this to work.  We have front-end postfix
servers, with virtual tables set up like this:

[EMAIL PROTECTED]                 [EMAIL PROTECTED]

Then the user simply log into the imap/pop server with dom-domain-user, and
lives happily ever after.  This also makes it trivial to move mailboxes around
on different servers etc, even spreading single domains over multiple servers.

If you cluster your cyrus servers you don't even have to worry about the user
being pointed at the right imap/pop server.


The database is being put in a MySQL table, with fallback to a stored backup
in a db3 file.  MySQL servers are being run with a primary, and slaves on each
of the mailservers, allowing speedy local writes.  Should the local MySQL
server fail, postfix simply queries another.  Should all the MySQL servers
fail, then we enable soft_bounce on them, and point to local db3 files
allowing service to continue.

Add to this multiple installations of the postfix frontend servers, all of
them able to deliver to the correct cyrus backend using LMTP, either locally
or over the network.

Sounds good?

(at least that's how things are supposed to work when things are done :)

Terje Elde
Combitel Networks AS

Reply via email to