Despite the fact that it was deleted the scripts should not have deleted the mailbox: "•Closed. When a mailbox status is closed, the login is disabled, and messages are bounced. This status is used to soft-delete an account before deleting it from the server." it's still a mystery why the mailbox was emptied, the scripts check out, I'm wondering if it might be related to the mailbox living on zimbra-mb2 ... I'm reaching here ... the script lives in zimbra.anl.gov:/home/mcsadmin/bin ... I'm waiting on rios to work with me on that. I've restored his mailbox and imported the mail tat was sent to the new one into it and renamed the restored mailbox to [email protected] -- Max Trefonides MCS Systems [email protected] On Jun 18, 2013, at 5:28 PM, Craig Stacey <[email protected]> wrote:
Indeed. It only removed it from the address maps. -- Craig (from my mobile)
Ken Raffenetti <[email protected]> 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" <[email protected]> To: "Core Sysadmins" <[email protected]> Sent: Tuesday, June 18, 2013 4:58:31 PM Subject: Fwd: [mcs-systems #167302] Testing your mail
FYI:
-- Max Trefonides MCS Systems [email protected]
Begin forwarded message:
From: Max Trefonides <[email protected]> Subject: Fwd: [mcs-systems #167302] Re: Testing your mail Date: June 18, 2013 4:58:02 PM CDT To: Mike Rios <[email protected]>
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 [email protected] $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 [email protected]
Begin forwarded message:
From: Chris Knight <[email protected]> Subject: [mcs-systems #167302] Re: Testing your mail Date: June 18, 2013 4:46:03 PM CDT To: Tina Stanton-Piersanti <[email protected]> Cc: [email protected] Reply-To: [email protected], Chris Knight <[email protected]>
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 <[email protected]> wrote: