Zmaccts showing incomplete email addresses: Difference between revisions

No edit summary
No edit summary
Line 4: Line 4:
=zmaccts command is showing incomplete email addresses =
=zmaccts command is showing incomplete email addresses =
<hr>
<hr>
{{KB|{{WIP}}|{{ZCS 9.0}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}  
{{KB|{{WIP}}|{{ZCS 9.0}}|{{ZCS 8.8}}  
<hr>
<hr>


Line 24: Line 24:


Now run the "zmaccts" command again to verify the modification.
Now run the "zmaccts" command again to verify the modification.
'''NOTE:''' This is a customization and needs to be tested first on the test environment before implementing on production. Also these changes may not survive an upgrade.

Revision as of 04:45, 7 June 2022

zmaccts command is showing incomplete email addresses


{{KB|

|ZCS 9.0 Article ZCS 9.0 |ZCS 8.8 Article ZCS 8.8


Problem

zmaccts command is showing incomplete email addresses.

Example:

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

Above example is 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 modification.

Jump to: navigation, search