Today, they reported that since I left, the Mail tab is not showing whenever a user logs into UWC (Sun Communications Express).
Initially, I thought it was a silly mistake made because I encountered the same before. I solved it with the following previously:
bash-3.00# cd /opt/sun/comms/messaging/sbinbash-3.00# ./configutil -o service.http.port -v 2080 <- mshttpd portbash-3.00# ./configutil -o local.webmail.sso.uwcenabled -v 1bash-3.00# ./configutil -o local.webmail.sso.uwccontexturi -v uwcbash-3.00# ./configutil -o local.webmail.sso.uwcport -v 80 <- web/app server portbash-3.00# ./stop-msgbash-3.00# ./start-msg
So, I asked them to verify the above first. Everything looks fine. Strange...
Then I asked if they have modify any configuration. As usual, "No, we'hv done nothing special."
OK, that's fine. I asked them to send the output of "configutil" to me. (any modification made will be reflected very clearly)
bash-3.00# ./configutil > /tmp/configutil.output
It was very clear to me what happened the moment I looked at the output!
service.http.enable = 1service.http.port = 2080service.imap.enable = 0service.pop.enable = 1
To confirm, I asked for http.log (this log tracks the activity in UWC).
[17/Jul/2009:13:14:28 +0800] nodeA httpd[25463]: General Error: IMAP connection to nodeA.ap.com:143 failed: Connection refused[17/Jul/2009:13:14:28 +0800] nodeA httpd[25463]: General Error: Failed to connect to imap server on nodeA.ap.com[17/Jul/2009:13:14:28 +0800] nodeA httpd[25463]: General Warning: Couldn't login admin on IMAP server: Mail server unavailable. Administrator, check server log for details.
Why is the IMAP service disabled? "Oh, we only want users to access via POP and SMTP. No IMAP is allowed." Well, at least I should be consulted before the change is made. Right?
UWC required IMAP service to be running in order for the Mail Tab to be rendered.
Anyway, I instructed them to enable IMAP service and the Mail Tab is now showing.
bash-3.00# cd /opt/sun/comms/messaging/sbinbash-3.00# ./configutil -o service.imap.enable -v 1bash-3.00# ./stop-msgbash-3.00# ./start-msg
By the way, a better approach to restricted IMAP access is to modify the mailAllowedServiceAccess attribute.
By default, it looks like:
mailAllowedServiceAccess: +pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL
To disallow IMAP access, do this:
mailAllowedServiceAccess: +pop:ALL$-imap:ALL$+smtp:ALL$+http:ALL
No comments:
Post a Comment