Bad configuration for Roundcube
| Originator: | yoann.gini | ||
| Number: | rdar://10249603 | Date Originated: | 07-Oct-2011 11:57 AM |
| Status: | Open | Resolved: | |
| Product: | Mac OS X Server | Product Version: | 10.7.1 (11B26) |
| Classification: | Serious bug | Reproducible: | Always |
Summary: The default config of Roundcube, the Lion Server's webmail, has a problem. When a new user is authenticated, the wemail add the server FQDN as domain name and not the domain configured in Server.app Steps to Reproduce: - Setup a Lion Server with directory services and mail server. Name your server mainserver.pretendco.com and choose pretendco.com as domain name for internet address. - Create somes users, Server.app automatically filled-up the email address like shortname@pretendco.com - Open your webmail https://mainserver.pretendco.com/webmail and login - Now go into Preferences > Identities and select your ID on the left. Expected Results: You e-mail address should be shortname@pretendco.com Actual Results: You e-mail address is shortname@mainserver.pretendco.com Regression: This bug wasn't here in SquirrelMail, and it's not really a bug, it's the default behavior for Roundcube, so it's look like a untested integration… Notes: The good solution for this problem is to add the capabilities to servermgrd to edit the good config file. But if you can patch it quickly for 10.7.2 you have just to edit this file : /usr/share/webmail/config/main.inc.php and set a %d inside the quote of this line : $rcmail_config['mail_domain'] = ''; With a %d Roudcube take the domain name of the http address used to access to the webmail. It's not a perfect solution but it can be a good patch until you update serverngrd.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!