Make backups of the original MMP configuration files AService.cfg and ImapProxyAService.cfg:
# cd /opt/SUNWmsgsr/config # cp AService.cfg AService.cfg.orig_`date +%Y%m%d` # cp ImapProxyAService.cfg ImapProxyAService.cfg.orig_`date +%Y%m%d` |
Edit the AService.cfg file:
default:ServiceList /opt/SUNWmsgsr/lib/ImapProxyAService@10.1.82.187:143|10.1.82.187:993 default:LogDir /opt/SUNWmsgsr/data/log/mmp default:NumThreads 2 |
Edit the ImapProxyAService.cfg file. For odd-numbered FE, use Directory Servers in the following order: –03, -02, -01. For even-numbered FE use Directory Servers in the following order: –02, -03, -01.
default:LdapUrl "ldap://ds-amer-03.us.example.com ds-amer-02.us.example.com ds-amer-01.us.example.com/dc=example,dc=com" default:LogDir /opt/SUNWmsgsr/data/log/mmp default:LogLevel 10 default:BindDN "uid=msg-admin-mail-amer.example.com, ou=People, dc=example, dc=com" default:BindPass "password" default:BacksidePort 143 default:SearchFormat (uid=%s) default:SSLEnable yes default:SSLPorts 993 default:SSLCertNicknames Server-Cert default:SSLKeyPasswdFile /opt/SUNWmsgsr/config/sslpassword.conf default:SSLCacheDir /opt/SUNWmsgsr/config default:SSLSecmodFile secmod.db default:SSLCertPrefix "" default:SSLKeyPrefix "" default:SSLBacksidePort 0 default:RestrictPlainPasswords yes default:ConnLimits 129.0.0.0|255.0.0.0:10000,0.0.0.0|0.0.0.0:500 default:LdapCacheSize 10000 default:LdapCacheTTL 900 |
Create log directory
# mkdir /opt/SUNWmsgsr/data/log/mmp # chown mailsrv:mailsrv /opt/SUNWmsgsr/data/log/mmp # chmod 755 /opt/SUNWmsgsr/data/log/mmp |
Restart service and verify IMAP is working properly. If so, and assuming certificates have been configured, turn on SSL by uncommenting the following lines in ImapProxyAService.cfg
default:SSLEnable yes default:RestrictPlainPasswords yes |