So the script userbase runs on suspend, and the output in this case, is below:

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

Queue Status: complete Exit Code: 0
				/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov zimbraAccountStatus closed
 * Reloading Postfix configuration...
   ...done.
 

Errors: 
				

As far as I can tell, this should be good..  Here is the script that ran when he re-requested the MCS mail resource:

     /root/bin/zimbra-create.sh mcs.anl.gov knight "Christopher" "Knight" "Christopher Knight" knight@mcs.anl.gov

Queue Status: complete Exit Code: 0
				/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov createAccount knight@mcs.anl.gov 'NFTwaofky61zloKz'
575c381a-1dac-4ff0-835a-284a23685a8f
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov givenName "Christopher"
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov sn "Knight"
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov cn 'knight'
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov displayName "Christopher Knight"
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov ZimbraPrefOutOfOfficeDirectAddress 'knight@mcs.anl.gov' ZimbraPrefOutOfOfficeDirectAddress knight@mcs.anl.gov
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov zimbraNotes 'Created/Modified Tue Jun 18 15:13:03 2013'
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov zimbraPasswordMustChange FALSE
/usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount knight@mcs.anl.gov zimbraAccountStatus active
 * Reloading Postfix configuration...
   ...done.
 

Errors: 
				


On Jun 18, 2013, at 4:58 PM, Max Trefonides <maxadam@mcs.anl.gov> wrote:

FYI:


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

Begin forwarded 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-Piersanti <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: