Thursday, January 29, 2015

Integrate MSH Disclaimer & Signatures with LDAP

Version 1.3.0 of application have ability to connect with LDAP directory services. With this new option you can retrieve LDAP object like users and user groups. This will help you to manage disclaimers based on users or user group.

Simple scenario for appending different disclaimers per department

Define company wide disclaimer. Company have three departments: Marketing, Sales and IT. Each department need to have different disclaimer. CEO which is a member of all groups must have one unique signature.
Before you could use Message Sender - User and Message Sender - Group condition you need to configure LDAP Directory Service settings.

Rule 1 (disclaimer only for CEO)

First we need to set up conditions, use Message Sender – User condition. Click button Browse and select your CEO from the list.

Message Sender - User condition.

Due to our scenario we want to stop processing more rules when this one is applied and go to the next one when not applied.

Next rule options on Rule Wizard.

Rule 2 (disclaimer for IT department)

For users in IT department group we need to use Message Sender – Group condition. Click button Browse and select group from the list.

Message Sender - Group condition.

You can leave settings for processing other rules in default state.

Rule 3 and rule 4 (marketing and sales)

For marketing and sales department follow exactly same steps like for rule 2.


When everything is setup you could test it in action, just send some messages from user within previously specified group.

Learn more about server side disclaimers and signatures for Zimbra, Postfix and Sendmail.

Saturday, January 17, 2015

How to block messages without MESSAGE-ID header

If you would like to reject messages without some headers you cannot use built-in header_checks content inspection, because it scans one header at a time and does not save state between headers. Making it impossible to detect missing headers.

You need to use 3rd party tool called MSH Traffic Policy. It's an email management system that allows to set server sided rules for automatic content control and flow administration. Application works as external standalone mail filtering plug-in which integrate with MTA through milter API.

Block an email message

In this scenario we will discard message with Block Message action. But you could also inform sender with some text reply or just temporary reject the message. See below image how options was set.
Block Message action is very useful with fighting spam.

Detect missing message header

To test message for header which is not present you need to use Message Header condition. It have ability to scan through message and find out which header is missing. Select not have Header option and in Header name field put message-id.
Message Header condition will scan message for missing headers.

What else...

MSH Traffic Policy have many features which you will love:
  • take control over you mail flow
  • block unwanted spam
  • check messages for sensitive content (credit cards numbers etc.)
  • limit number of recipients, attachments, message size, number of sent messages
  • manage attachments (add, remove, strip, compress)
  • modify message headers, sender and recipients
  • send new and forward emails to another mailbox
  • create server side auto replies

Thursday, January 8, 2015

Autoreplies for your Sendmail and Postfix

When company needs to meet specific requirements about auto replies it should be well considered decision. Freeware tools and scripts have one advantage – they're free – but sometimes have more cons than pros. They don't have professional support and when something goes wrong you're left on your own.

MSH Autoresponder is a tool which integrate seamless with mail server and when triggered it sends auto replies.

Use credentials when connecting with server module

The application supports restricting access to server module. Users could have set up permissions to specific functions or whole app. Below you'll see how to use credentials when connecting to server.

On Add Server window select Provide credentials radio button and provide user name and password. Application use own authentication method, so users need to be defined earlier.

Add Server window - provide credentials

How an auto reply could be triggered

This tool supports Conditions and Exceptions which can be used to specify when auto replies should be send. Message Sender, Message Recipient(s) or Message Header(s) could be used. By default sending auto replies are protected by Loop Protector which prevents of 'message wars' between mail servers.

Learn more about MSH Autoresponder...