Okay put this into the script so you can see what is happening
Code:
enable=`/opt/zimbra/bin/zmprov gd $domain | grep zimbraDomainPrefMailSignatureEnabled | awk '{print $2}'`
echo "$enable - $domain" >> /tmp/disclaimer.trace
if [ ! -z $enable ]; then # if not empty and then send two emails through again. I am guessing that for some reason the domain is not matching the one in Zimbra; which means it is not triggering the disclaimer to be added.