#!/bin/bash
zmprov ca $1@zimbra.jo Managers
zmprov sp $1@zimbra.jo $2
zmmailbox -z -m $1@zimbra.jo createFolder /Inbox/Facebook
zmmailbox -z -m $1@zimbra.jo createFolder /sent/office
zmmailbox
aa -u https://zimbra.jo admin adminadmin
selectmailbox $1
addFilterRule rule1 address "test1" all not_is "@domain" fileinto /inbox/office
zmmailbox <<EOF
aa -u https://zimbra.jo admin adminadmin
selectmailbox $1
addFilterRule rule1 address "test1" all not_is "@domain" fileinto /inbox/office
exit
EOF