Creating "Secret/Selective" Email account

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.

I’m using R6.5

Any ideas?

Thanks!

Subject: Creating “Secret/Selective” Email account

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.

Subject: RE: Creating “Secret/Selective” Email account

Thanks. Thats simple enough.

I had created the following plan:

-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?

Subject: RE: Creating “Secret/Selective” Email account

Complex agents are always simpler in script, but you might be able to use formula.

Here’s an article from LDD (a bit old, but still relevant) that covers pre-delivery agents.

http://www-10.lotus.com/ldd/today.nsf/f01245ebfc115aaf8525661a006b86b9/4897c5b8c2737e088525674300751711?OpenDocument

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.