On Thu, 19 Aug 2004, Erik Norgaard wrote:

On Thu, 19 Aug 2004, Erik Norgaard wrote:

It turns out that imap defaultdomain works perfectly - but only on
loopback interface (now that's really usefull :-))

Yup, and really strange! Why would it only work on the loop back interface? I am getting increasinly embarrased because it turned out that the problem was local.

Aparently, cyrus-imap does a reverse lookup of the ip on the inter-
face that recieves the connection. This must resolve to a host
under the defaultdomain.

So, adding the line '192.168.0.4 top.example.com' to /etc/hosts
solved the problem.

This may mean that new problems will arise if you have more do-
mains/hostnames in your hostsfile. Say eth0 belongs to example.com
while eth1 belongs to example1.com, or you specify host.example.com
and host.example1.com because boths should map to the same ip. I
do not know if you will be able to serve both domains. So, beware
what you put in your hosts file.

This is done on purpose so that clients do not have to use fully qualified userids for authentication. This can be useful when you want to merge email servers and/or you do not want your clients to change their login information.


I have no idea why one would implement such a restriction, since
there can only be one default domain, the namespace is implicitly
given if not part of the login realm. Anyone?

Use virtdomains: userid, but you will need to use a fully qualified userid for authentication.


--
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to