Cyrus domain resolution
vilius at lnk.lt
Wed Mar 23 08:25:51 EDT 2011
I was running Cyrus 2.3.7 on RHEL 5 just fine for the past several years. Recently I upgraded from physical machine to virtual and from RHEL 5 to RHEL 6. Cyrus IMAPD was upgraded to the 2.3.16 which comes with RedHat. What needs to be noted that IP of the server have changed. I'm not sure if I'm missing something but domain resolution doesn't work as it worked before. %r always resolves to 'hostname.domain.tld'.
This is my imapd.conf:
sasl_sql_select: select password from accountuser where username = '%u' and domain_name = '%r'
sasl_mech_list: PLAIN LOGIN
The things I tried:
1) Disable domain resolution according to IP (as per virtualdomains.html) with virtdomains: userid. %r still resolves to 'mail.example.com' even if in Outlook the user is as 'user at example.com'.
2) Set virtdomains: on and configuring reverse record for an IP to 'mail.example.com'. %r still resolves to 'mail.example.com'.
3) Set virtdomains: on and configuring reverse record for an IP to 'example.com'. Strangely now %r resolves to 'com'. (??)
The only thing that helps is setting servername: example.com in the config. But this is not what I want. My servername is 'mail.example.com'.
Any ideas? A bug?
LNK TV IT manager
mob.: +370 614 75713
More information about the Info-cyrus