Birger Toedtmann wrote:

> 
> Not me.  But BTW: I once wrote a patch that enables master to behave like
> the subprocesses when given a "-C" at command line.  See imapd(8) for de-
> tails.  I tried several times to get it into some mainstream release, to 
> no avail  :-]
> 
> Maybe the patch still applies (AFAIK my last working test was with 2.1.2),
> its quite small and might be changed easily to fit with 2.1.4.  In case you
> use 2.0.16, it applies very neatly.


Nah don't need the patch, works without it. See my other post. To summarize: 
Just make multiple services in /etc/cyrus.conf, each with a different config 
file, and each listening on a different ip, like:

imap1 
cmd="imapd -C /etc/cyrus/domain1.conf" listen="mail.domain1.com:imap" prefork=0
imap2 
cmd="imapd -C /etc/cyrus/domain2.conf" listen="mail.domain2.com:imap" prefork=0

Then setup domain1.conf and domain2.conf like imapd.conf and remember to use 
the 'servername' option.

I give much more details in my post titled "semi-success on virtual domains" 
(or something like that).

Phil
-- 
"They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety."
-Benjamin Franklin, 1759

Reply via email to