Zmaccts showing incomplete email addresses: Difference between revisions

No edit summary
No edit summary
 
Line 2: Line 2:
__FORCETOC__
__FORCETOC__
<div class="col-md-12 ibox-content">
<div class="col-md-12 ibox-content">
=zmaccts command is showing incomplete email addresses =
=zmaccts command result shows incomplete email addresses=
<hr>
<hr>
{{KB|{{WIP}}|{{ZCS 9.0}}|{{ZCS 8.8}}|}}  
{{KB|{{WIP}}|{{ZCS 9.0}}|{{ZCS 8.8}}|}}  
Line 8: Line 8:


====Problem====
====Problem====
zmaccts command is showing incomplete email addresses.
zmaccts command result is showing incomplete email addresses.


Example:
Example:
Line 14: Line 14:
  user.xyz@example.c
  user.xyz@example.c


Above example is shows that email addresses are not complete like missing “m” from “.com” and "om" from ".com"
Above example shows that email addresses are not complete like missing “m” from “.com” and "om" from ".com"


====Solution====
====Solution====
Line 23: Line 23:
  sed -i 's/my @w = ( 36, 11, 15, 15 );/my @w = ( 90, 11, 15, 15 );/' /opt/zimbra/bin/zmaccts
  sed -i 's/my @w = ( 36, 11, 15, 15 );/my @w = ( 90, 11, 15, 15 );/' /opt/zimbra/bin/zmaccts


Now run the "zmaccts" command again to verify the modification.
Now run the "zmaccts" command again to verify the result.
 
'''Note:'''  These changes will not survive an upgrade on the server. Take a backup of the zmaccts file before upgrading or make the configuration change again after an upgrade.

Latest revision as of 05:37, 12 June 2022

zmaccts command result shows incomplete email addresses


   KB 24426        Last updated on 2022-06-12  




0.00
(0 votes)

Problem

zmaccts command result is showing incomplete email addresses.

Example:

user.abc@example.co
user.xyz@example.c

Above example shows that email addresses are not complete like missing “m” from “.com” and "om" from ".com"

Solution

Take the backup of zmaccts script and modify the column widths and separators value into script.

Run as Root:

cp /opt/zimbra/bin/zmaccts /opt/zimbra/bin/zmaccts.org
sed -i 's/my @w = ( 36, 11, 15, 15 );/my @w = ( 90, 11, 15, 15 );/' /opt/zimbra/bin/zmaccts

Now run the "zmaccts" command again to verify the result.

Note: These changes will not survive an upgrade on the server. Take a backup of the zmaccts file before upgrading or make the configuration change again after an upgrade.

Jump to: navigation, search