Restricting Message Size for Everyone Except a Select Few Users in MDaemon

Recently, one of our customers asked the following question:

“How do I restrict messages to 2MB for inbound and outbound mail – for all users except a small group of users?”

In MDaemon, this can be done via the Content Filter (located under the Security menu). Simply follow these easy steps:

  1. Add the users who will not be subject to the size restriction to a group via Accounts | Groups & Templates.
  2. Go to Security | Content Filter and create a new rule.
  3. In the left-hand “Conditions” column, check the box “If MESSAGE SIZE is greater than.”
  4. In the right-hand “Actions” column, check the box “DELETE the message”, and also check the box “Send a NOTE 1 to.”
  5. In the bottom section, click on the blue text “is greater than 10K” and enter a value in KB (2000 KB, for example), and then click OK.
  6. Click on the blue text “Specify Information” next to “and send note 1.”
  7.  In the new window, enter $SENDER$ in the To field, adjust the subject if desired, and enter a message in the main window, such as “Sorry, your message has exceeded the allowed size limit.”
  8. Click OK to save your progress.
  9. Give your new rule a name in the “Name this rule” field at the top, and click OK to save the rule.
  10. Now, we need to create a new rule to skip the size limit rule for members of the group we created in Step 1. Click on New Rule.
  11. Give your rule a name.
  12. In the left-hand “Conditions” column, check the boxes “If SENDER is a member of GROUP” and “If RECIPIENT is a member of GROUP.”
  13. In the box below, click on the blue “specific group name” text for each item, and select the group you created in Step 1. Do not change the word “or” to “and.”
  14. In the right-hand “Actions” column, check the box “SKIP the next ‘n’ rules.”
  15. Click the blue text “Specify Information” in the bottom section, and verify that it has “1” specified under “Skip over how many rules?”
  16. Click OK.
  17. Save your new rule.
  18. Back on the main Rules screen, highlight the last rule you created, and click the “Move up” button to move it above the size limit rule we created previously.
  19. Click OK to exit the content filter.
Here are screenshots of these rules:

Screen1

Screen2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

As a reminder, you can view our webinars and tutorial videos on our YouTube channel. Is there a topic you’d like to learn more about? Let us know in the comments section below!

 

 

 

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Blocking Messages based on Keywords in SecurityGateway

If you work in real estate, you are not likely to receive email with pharmaceutical-related content, and if you work in the medical field, you’re not likely to receive email about stock tips or account-related notifications from PayPal. With SecurityGateway, you can create content filter rules to filter out messages that contain words that are not relevant to your business. You can filter based on the sender, recipient, IP address, message subject, message body, or any header found within the message. I’ll show you how in the following brief tutorial video.

SecurityGateway is a software-based email gateway/firewall that can be installed in front of any Exchange or other SMTP mail server, allowing you to block malicious content, such as spam, viruses, malware, and phishing attempts, before it reaches your mail server. You can learn more about SecurityGateway here.

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  

How to Notify a Designated User when a New User is Created in MDaemon

As I mentioned in a previous post, you can do some creative things with MDaemon’s content filter. Recently, one of our users had asked in our community forums if there was a way to send a notification message to a designated user or email address whenever a new account is created in MDaemon. I’ll walk you through the steps to achieve this in this tutorial video.

 

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Creating an MDaemon Content Filter Rule to Run on Weekends Only

You can get very creative with MDaemon’s versatile content filter, performing a wide variety of tasks based on an equally wide variety of criteria. In this example, I’ll show you how to create a content filter rule that is triggered on messages sent on weekends only.

Two content filter rules are created – one to insert a date and time header into all messages, and one to act upon messages containing certain letters or words within that header.

First, let’s create our rule to insert a date and time header into all messages.

  1. In MDaemon, go to Security / Content Filter and click on New Rule.
  2. Enter a name for your new rule, such as “Add X-CF-Processed.”
  3. In the left-hand “Conditions” column, check the box “ALL MESSAGES.”
  4. In the right-hand “Actions” column, check the box “ADD an extra HEADER 1 to message.”Step4
  5. Click on the blue “specify information” link at the bottom of the window.
  6. In the “Header name” field, enter the name of the header you want to add. In this case, we’ll call it “X-CF-Processed.”
  7. In the Header Value field, enter $CURRENTTIME$. This is a macro that will insert the current day, date, and time into the message header.Step7
  8. Click “OK” to save your header information.
  9. Click “OK” to save your rule.

Now, we need to create a rule that looks for contents in the header that we created in the previous rule, and acts upon the message based on the contents of that header.

  1. Click on “New rule” and enter a name for your rule at the top, such as “Weekend Messages.”
  2. Under the left-hand “Conditions” column, check the box “If the user defined HEADER 1 contains.”
    Step2b
  3. Click on the blue text at the bottom “userdef1.”
  4. In the “User Defined Header” window, enter the name of the header we created in our first rule (X-CF-Processed), and then click on OK.

Step4b

 

  1. Click on the blue text “contains specific strings.”
  2. Since we want this rule to run on weekends only, in the “Check for this string” field, enter “Sat” (without the quotes), and then click on Add. Then, enter “Sun” (without quotes) and click on Add again.Step6b
  3. Click on the word “and” (it will be a blue link), select the “Any or” option, then click on “Ok”.Step7b
  4. Click OK to close the “Specify Search Text” window.
  5. In the right-hand “Actions” column, select the action you wish to take, such as “DELETE the message” or “COPY the message to FOLDER.” You have many options here, including using macros to send a note back to the sender, copying the message to a custom folder, or moving the message to a custom queue. In this example, I’ve chosen to just delete the message. In addition to deleting the message, you could go one step further and send a note back to the sender of the message informing him or her that the message was deleted.Step9b
  6. Click “Ok” to save your content filter rule.

Using this technique, all messages sent on weekends will be handled based on how you have configured your content filter. You can get very creative with the content filter, so I recommend trying different filtering rules and macros in a test environment to become familiar with its versatility.

 

 

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •