Indeed. It only removed it from the address maps.
-- Craig (from my mobile)

Ken Raffenetti <raffenet@mcs.anl.gov> wrote:
The "/root/bin/update-zimbra-user.sh $DOMAIN $USERNAME REMOVE" script is a local operation on newman. It doesn't touch anything on the zimbra server. And the REMOVE argument doesn't actually do anything from what I can tell. Someone needs to look at what script the zimbra-deact-key invokes on the Zimbra server to find out why mail disappeared.

----- Original Message -----
From: "Max Trefonides" <maxadam@mcs.anl.gov>
To: "Core Sysadmins" <core-sysadmins@mcs.anl.gov>
Sent: Tuesday, June 18, 2013 4:58:31 PM
Subject: Fwd: [mcs-systems #167302] Testing your mail

FYI:


--
Max Trefonides
MCS Systems
maxadam@mcs.anl.gov

Begin forwarde d message:

From: Max Trefonides <maxadam@mcs.anl.gov>
Subject: Fwd: [mcs-systems #167302] Re: Testing your mail
Date: June 18, 2013 4:58:02 PM CDT
To: Mike Rios <mrios@anl.gov>

This is a user who was suspended in our account system yesterday,
we reactivated and now the user does not see any old mail in his
account.


I gotta go, but this is what our system ran ...

/root/bin/zimbra-deact.sh mcs.anl.gov knight

it looks like this is what was run:

root@newman:/etc/postfix# less /root/bin/zimbra-deact.sh
#!/bin/sh

DOMAIN=$1 # domain name
USERNAME=$2 # Username

if ssh -q -i /root/.ssh/zimbra-deact-key mcsadmin@zimbra.anl.gov
$DOMAIN:$USERNAME
then
if ! /root/bin/update-zimbra-user.sh $DOMAIN $USERNAME REMOVE
then
echo mailrelay fail
exit 1
fi
else
echo zimbra fail
exit 1
fi

UGH! why is that a REMOVE?!?!?


Can you help me restore this account? new mail has been being
delivered today, I wanted to tell you as soon as I knew, to try to
avoid the problem we had last time. right now I have a little
league playoff game to get to ...


--
Max Trefonides
MCS Systems
maxadam@mcs.anl.gov

Begin forwarded message:

From: Chris Knight <knight@mcs.anl.gov>
Subject: [mcs-systems #167302] Re: Testing your mail
Date: June 18, 2013 4:46:03 PM CDT
To: Tina Stanton-Pi ersanti <tstanton@mcs.anl.gov>
Cc: systems@mcs.anl.gov
Reply-To: systems@mcs.anl.gov, Chris Knight <knight@mcs.anl.gov>

quick update: messages started coming in at 3:48pm (which is, of
course, shortly after I created the ticket), but contents from
Saturday still gone.

chris


On Jun 18, 2013, at 4:41 PM, Tina Stanton-Piersanti
<tstanton@mcs.anl.gov> wrote: