Disable alias login
Revision as of 09:54, 25 August 2021 by Amolmistry (talk | contribs) (→How to enable or disable login using alias account?)
How to enable or disable login using alias account?
Problem
How to allow or disallow alias account to login to the webmail?
Solution
- Execute the below command on the respective mailbox server to check the current status first. It will show TRUE or FALSE.
zmlocalconfig alias_login_enabled
- Execute the below command to disallow login to alias account.
zmlocalconfig -e alias_login_enabled=false
- Execute the below command to allow login to alias account
zmlocalconfig -e alias_login_enabled=true
- Once done with the above changes make sure to restart the mailbox services.
zmmailboxdctl restart
- If alias login is disabled and still somebody tries to login using alias account the log entry will show like follows in /opt/zimbra/log/audit.log
2021-06-28 23:14:25,104 WARN [qtp1225197672-333://localhost:8080/service/soap/BatchRequest] [name=alias-user@example.com;oip=xx.xx.xx.xx;ua=zclient/8.8.15_GA_3991;soapId=c2df7e2;] security - cmd=Auth account=original-user@example.com; protocol=soap; error=authentication failed for [alias-user@example.com], alias login not enabled.;
Submitted by: Amol Mistry |