Difference between revisions of "Disable alias login"

(Enable or Disable login using alias account)
(Enable or Disable login using alias account)
Line 1: Line 1:
=Enable or Disable login using alias account =  
+
=How to enable or disable login using alias account? =  
 
{{KB|{{WIP}}|{{ZCS 8.7}}|{{ZCS 8.8}}|{{ZCS 9.0}}||||}}  
 
{{KB|{{WIP}}|{{ZCS 8.7}}|{{ZCS 8.8}}|{{ZCS 9.0}}||||}}  
 
  
 
====Problem====
 
====Problem====
* Alias accounts also having rights to login to webmail which needs to be allowed or disallowed.
+
How to allow or disallow alias account to login to the webmail?
 
 
 
====Solution====
 
====Solution====
Execute the below command on the respective mailbox server to check the current status first. It will show TRUE or FALSE.
+
* Execute the below command on the respective mailbox server to check the current status first. It will show TRUE or FALSE.
 
<pre> zmlocalconfig alias_login_enabled
 
<pre> zmlocalconfig alias_login_enabled
 
</pre>
 
</pre>
  
Execute the below command to disallow login to alias account.  
+
* Execute the below command to disallow login to alias account.  
 
<pre> zmlocalconfig -e alias_login_enabled=false </pre>
 
<pre> zmlocalconfig -e alias_login_enabled=false </pre>
  
Execute the below command to allow login to alias account  
+
* Execute the below command to allow login to alias account  
 
<pre> zmlocalconfig -e alias_login_enabled=true </pre>
 
<pre> zmlocalconfig -e alias_login_enabled=true </pre>
  
After making False/True, make sure to restart mailbox services.
+
* Once done with the above changes make sure to restart the mailbox services.
<pre> zmmailboxdctl restart</pre>
+
*: <pre> zmmailboxdctl restart</pre>
 
+
* 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  
Refer /opt/zimbra/log/audit.log, upon login using alias account the log entry should show something like this.
+
<pre> 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;]   
 
 
<pre> 2021-06-28 23:14:25,104 WARN  [qtp1225197672-333://localhost:8080/service/soap/BatchRequest] [name=alias-user@example.com;oip=172.16.7.54;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.;</pre>
 
  security - cmd=Auth account=original-user@example.com; protocol=soap; error=authentication failed for [alias-user@example.com], alias login not enabled.;</pre>
  

Revision as of 08:18, 25 August 2021

How to enable or disable login using alias account?

   KB 24320        Last updated on 2021-08-25  




0.00
(0 votes)

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
Verified Against: ZCS 8.8 Date Created: 2021-06-24
Article ID: https://wiki.zimbra.com/index.php?title=Disable_alias_login Date Modified: 2021-08-25



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search