Cyrus administration problem

Nybbles2Byte nybbles2byte at gmail.com
Thu Aug 6 14:34:41 EDT 2009


Thanks but I am not sure how you are getting that conclusion from this wording in the manual.  As far as I can see it almost (but not quite) the reverse of what you are saying.

----------------------------------------------------------------------------------
Configuring Virtual Domains
Introduction

Virtual domains is the practice of hosting a service for more than one domain on one server. Cyrus IMAP has the ability to host IMAP/POP mailboxes for multiple domains (e.g. test at example.com and test at example.net) on a single server or Murder.

In order to accomplish this, Cyrus needs to know which domain to look in when a mailbox is accessed. There are two ways in which Cyrus can determine the domain:

    * Fully qualified userid - the client logs in with a userid containing the domain in which the user belongs (e.g test at example.com or test%example.net)
    * IP address - the server looks up the domain based on the IP address of the receiving interface (useful for servers with multiple NICs or using IP aliasing)

Both of these methods are active if the virtdomains option is set to on (or yes, 1, true) and can be used in conjunction with one another. If the virtdomains option is set to userid, then only the first method is used. Note that a fully qualified userid takes precedence over a domain obtained from the IP address.
----------------------------------------------------------------------------------


Thursday, August 6, 2009, 11:12:24 AM, you wrote:

> On Thu, Aug 6, 2009 at 3:09 PM,
> Nybbles2Byte<nybbles2byte at gmail.com> wrote:
>> Avoiding DNS lookups that in my particular setup have no purpose is a good
>> thing so I certainly want to keep this setting. However, if there is more
>> that I can do to make the setup better, great! What man pages (man ???) and
>> what should I be looking for?


> virtdomains: 1    (don´t query DNS)
> virtdomains: userid    (do DNS query)


>> Thursday, August 6, 2009, 4:24:22 AM, you wrote:

>>> On Thu, Aug 6, 2009 at 1:08 AM,
>>> Nybbles2Byte<nybbles2byte at gmail.com> wrote:
>>>> That was it! Well, close enough. I couldn't find any ldap_default_realm
>>>> in
>>>> the latest version but I was able to Google it and found someone else who
>>>> has a similar question.

>>>> The key in this version (downloaded a month ago) is to change
>>>> "virtdomains:
>>>> 1" to "virtdomains: userid".  This prevents Cyrus from doing a reverse
>>>> DNS
>>>> and then it just uses the servers short name for the realm - consistently
>>>> (instead of the randomness I was getting from the reverse DNS - although
>>>> now
>>>> that I think about it it was probably the DNS server handing out
>>>> r-lookups
>>>> in a round robin order).


>>> I guess no. You really don´t need "virtdomains: userid" (read manpage
>>> again).


>>>>> With ldap beckhend the secret is sasl_ldap_default_realm (or
>>>>> ldap_default_realm in saslauthd.conf) this is the domain to no-domain
>>>>> user like "root" (login with no-domain user is the global admin).

>>>>> sasl_ldap_default_realm should be equal defaultdomain to work like a
>>>>> cham.
>>>>> ;)

>>>>> I don't know if sasl_sql_default_realm exist.







>> --
>>  Nybbles2Byte                            mailto:nybbles2byte at gmail.com






-- 
 Nybbles2Byte                            mailto:nybbles2byte at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090806/7681188f/attachment.html 


More information about the Info-cyrus mailing list