Question
I would like to ensure messages sent by one or more users are silently copied to another email account.
Answer
To do this you will first need to own a licensed copy of GMS Anti-Spam.
This can be achieved by creating an End of Message (EOM) script. So from GMS Anti-Spam > Scripts, paste the script below amending the email addresses accordingly.
The following script will exectue if the message is sent FROM from either user1 OR user2.
if (emailX-DetectLoop != 1) { if (mail == "user1@localdomain.com" || mail == "user2@localdomain.com") { newMsg = MsgCopy(email); if (newMsg) { MsgAddHeader (newMsg, "X-DetectLoop", 1); newMsgrecipient = "archive@domain.com"; MsgClose (newMsg, MSG_SEND); } } }
Keywords:mml copy security script