Create mailbox user accounts automatically when sending e-mail

July 29, 2011 • Customer Services       
Synopsis

In order for a user to receive e-mail their e-mail address (username) must be registered in MailSafe. This can be achieved using the Active Directory connector or by adding the user manually. This article explains how to automatically add the user when they first send an external e-mail, which is useful for non-Exchange/Active Directory environments.

Article

When the users mailbox is first created on the customers email server, they will not be able to be able to receive or send email through MailSafe. Before the user can send or receive email, they must first have their account added to the Users page in the portal - either manually or automatically with the Active Directory connector. However, what if you don't have Active Directory ?

It is possible to change the system, so that when a user sends an email, the system will check if the account already exists and if the account does not exist, an account will automatically be created. This is achieved with a special Content Rule that injects a custom header into the outbound message, which tells the system to create the new user.

 

Create a New Content Rule to Add a Message Header to Outbound Emails

  1. Select Rules > Content Rules from the Rules menu.
  2. Select the New Rule button, and the New Rule window will be displayed.
  3. Enter a rule name as "Automatically Create Users for Sent Emails".
  4. Under the Conditions tab, select the Add New Condition button.
  5. Select "Mailbox Exists" as the Target, "Matches" as the Match Type, and "False" as the Value.
  6. Select the Save icon, to save the condition.
  7. Select the Add New Condition button again.
  8. Select "Direction" as the Target, "Matches" as the Match Type, and "Outgoing" as the Value.
  9. Select the Save icon to save the condition.
  10. Select the Actions, and select the Add New Action button.
  11. Select "Add Message Header" from the Action dropdown box.
  12. Enter Mailbox:Add in the Value textbox (note: no space before or after the : colon).
  13. Select the Save icon to Save the action.
  14. Select the Save button to Save the rule, and close the dialog. 

IMPORTANT NOTE: Due to the replication system that MailSafe uses it may take up to 10 minutes for the new rule to take affect.

 

You should now try sending an e-mail from your new e-mail address. The e-mail needs to be an external e-mail so that it passes through the MailSafe filters.

 

Related articles


Last modified on Mon, May 14, 2012 « Back