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.”
  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.



  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

Alt-N Introduces First MDaemon Private Cloud Email Service Provider in India

December 11, 2014

Alt-N Introduces First MDaemon Private Cloud Email Service Provider in India

MDaemon Hosted Email for Resellers and Customers announced at HostingCon India 2014.

Grapevine, Texas (USA) – December 11, 2014 – Representatives from Alt-N Technologies and CloudMailStore, the first service provider in India to offer hosted MDaemon email, are participating in Asia’s largest conference for the Internet Infrastructure Industry to introduce hosted email services for India’s SME business customers and resellers. MDaemon Private Cloud software enables service providers to offer hosted email accounts of Alt-N’s popular email software, the MDaemon Messaging Server, which has been sold in India for nearly two decades.Demo-MDaemon-Private-Cloud_process

“We’re very excited to bring a cloud version of our email software to this important market,” said Kevin Beatty, Vice President Marketing and Business Development, at Alt-N Technologies. “We’ve had a strong relationship with CloudMailStore over the years and we feel that their demonstrated expertise with MDaemon will give SMEs and resellers in India a very affordable alternative to other cloud solutions.”

“We support thousands of MDaemon hosted email accounts from our Level 3 datacenter to provide the highest level of reliability and security,” said Ankur Jayaswal, CEO, at CloudMailStore. “We believe customers are looking for very affordable hosted email for their businesses and with MDaemon Private Cloud, we can meet those needs and grow our cloud business.”

Alt-N Technologies and CloudMailStore will be at booth #S9 at HostingCon India, which is being held at the National Center of Performing Arts in Mumbai, December 12-13.

More information about MDaemon Private Cloud can be found at the CloudMailStore website, Additional Alt-N products can be found on its website,

About Alt-N Technologies

Alt-N Technologies develops affordable and secure messaging, collaboration, and security software designed for, and trusted by, small-to-medium businesses in over 90 countries and 25 languages worldwide. The company’s flagship solutions, the MDaemon Messaging Server and SecurityGateway for Email Servers, include the latest email security technologies and require minimal support and administration to operate and maintain. The company uses a network of global distributors and resellers for the sales and support of its products.

About CloudMailStore

CloudMailStore(CMS) is a leading provider of E-mail solutions. We currently manage over 100,000 mailboxes for various hosters, resellers and web development agencies. We are the first Alt-N Partner to offer a 24x7x365 environment of MDaemon hosted mailboxes. We offer mail server software, management and migration services. No long term contracts required. All our services are billed monthly.


Media Contact:

Kevin Beatty
Alt-N Technologies
817-601-3222 x214

Spread the love