I am trying to put together a solution to accomplish the following:1. Create a “secret” email account that will do the following.
i. Accept emails for predefined person/email addresses (maybe a group)
ii. Rejects emails from anyone else, and sends a mail to sender that this email account does not accepts email from them.
You could set up an agent in the “secret” mail file that runs before new mail arrives. It would check the sender against a list of allowed senders, and if the sender is not in the list send a reply to them stating that their message is not accepted, then delete the message.
-Agent move all new mail to a folder called “HOLDING”
Agent scan HOLDING and if Sender in group “Allowed” then move mail to INBOX.
If ingroup “Notallowed” then move mail to folder “NOT WANTED” and send email to sender
Scheduled agent delete docs in “Not Wanted”
Problem - The conditions in the Document Selection option of the agent does not allow search for group memberships. Hence I’d need to add each user individually. Thats a no go.
I will try your approach. Can this be down with Simple actions or will I need a script?
Look particulary at example three, Deleting Messages. You’ll basically want to do the same thing, only instead of forwarding the message to an administrator, you’ll want to send a message to the note.From letting them know their message was rejected. You’ll also need to change the If note.From(0) line to allow for a list of not-allowed addresses. I’d set them up in an array, then use ArrayGetIndex to determine if the sender is a member of that array.