Monday, June 30, 2014

Postfix vacation auto replies – LDAP configuration

MSH Autoresponder for Sendmail and Postfix it's a milter which seamlessly integrate with mail servers. Setting vacation auto replies, common support message responses or out of office replies is no longer a problem. You will made rules which will be triggered based on many conditions and skipped by used exceptions.

LDAP configuration for autoresponder

Go to LDAP Directory Service page. To use variables from LDAP select Enable option. In Server Name field put your server address (ip address or fully qualified hostname), if you have default configuration then leave Encryption and Port unchanged. Define Base DN like this: dc=sacramento, dc=post,dc=cal. If you have enabled anonymous connections to server then set Anonymous Connection, otherwise provide credentials for accessing directory service.

LDAP configuration in Postfix Autoresponder.

Server side rules

Based on server side rules you can define any Postfix or Sendmail auto reply.

Find out more about MSH Autoresponder for your mail server.

Thursday, June 26, 2014

Postfix & Sendmail - Out of Office Reponder - Unauthorized Access

Out of Office Assistant is a solution for Postfix and Sendmail. It's a milter which extends mail server functionality with client side auto replies, aka out of office. It's give users option to turn on or off auto reply, define reply message and set time range when out of office reply will be send.

Administrator Panel it's a center management application of server settings and users out-of-office states, thanks to it assistant could remotely change users OOF state.

Access to server only for specified users

After installing of Milter on mail server, everyone could connect with Administrator Panel to it. Anonymous connection is enabled. It's need to be changed.

On  Access Control page in Administrative Tools node option Enable Access Control option need to be selected.

Out of Office Assistant Access Control page.

When selected administrator should define users which could have access to server settings. In this example admin and lucas users where created. After saving settings, access to application will be blocked against unauthorized access.

Mozilla Thunderbird integration

To give users option for setting Out of Office state by own add-on for Mozilla Thunderbird is provided. It will seamlessly integrate with email client and will provide everything what is needed to set up vacation auto reply.

Mozilla Thunderbird add-on.

Find out more about MSH Out of Office Assistant...

Wednesday, June 25, 2014

Zimbra Disclaimer - applying License Key

MSH Disclaimer & Signatures is a milter extension for Postfix, Sendmail and Zimbra. Application works as background deamon and preprocess incoming and outgoing email messages. Provided Administrator Panel helps with defining rules and composing rich text disclaimers and signatures.

If you need company wide disclaimer which is added on server side try MSH Disclaimer & Signatures.

Simple disclaimer with an image.

How to import License Key

Move license.key file to directory /opt/msh-ds/etc

mv license.key /opt/msh-ds/etc

Restart msh-ds-settings daemon:

/etc/init.d/msh-ds-settings restart

After these two steps new license is applied. It can be checked in Administrator Panel on License page.

Do not add second disclaimers

Application have functionality to prevent of adding second disclaimer if one already is inserted.

Find out more about MSH Disclaimer & Signatures and try it for free...

Monday, June 23, 2014

Traffic shaping milter - Postfix and Sendmail

MSH Traffic Policy for Postfix and Sendmail is sophisticated email management system that allows to set server sided rules for automatic content control and flow administration.

This software if you when you need to:
  • take control over your mail flow
  • block unwanted spam
  • check email messages sensitive content
  • limit number of recipients, attachment or message size
  • modify message headers, message sender and recipients
  • sent new and forward messages

Install administrator panel on Microsoft Windows


Run setup file MSH Traffic Policy Setup.exe.

If you agree to the license click button I Agree.

Select destination folder for installation and click Install button.

When installation is complete click Next button.

When you select Launch application option wizard will run MSH Traffic Policy Administrator after you click Finish button.

Wizard will also create shortcuts for application in Start Menu | MSH Traffic Policy Administrator menu.

Find out more about MSH Traffic Policy...

Wednesday, June 18, 2014

Sendmail Autoreply – copy rules settings between servers

When you're changing email addressing you will probably need to set up auto reply on a lot of mailboxes. Looking for especially an easy solution?

You know that Vacation and making scripts for each user in home directory will not work for you. Problem to solve: When email message arrives to an account, email server auto magically send autoreply to the sender of that mail.

MSH Autoresponder for Postfix and Sendmail is a milter application which extends your email server functionality with autoresponder mechanism.

Take a look on it...

Copy rules settings

If you have more than one MTA server you can use option Copy Settings to copy rules settings between two mail servers.
Postfix Sendmail Auto Reply copy settings

When option Copy also other settings (like LDAP settings) option is selected then not only rules will be copied, but LDAP, advanced logging options etc. When preserving rules settings on remote server is not needed then option Remove old auto response rules need to be selected.

Automatic mail answering

So if you need email server auto-reply then find out more about MSH Autoresponder...

Tuesday, June 17, 2014

Postfix Disclaimers – JRE installation – JAVA_HOME

MSH Disclaimer & Signatures is a milter which integrate with most popular mail servers, like Postfix, Sendmail and Zimbra. It's a first class disclaimer solution. Application is using JRE environment, so before installing program you need to configure Java and JAVA_HOME variable.

Download and install Java on Linux server

Go to Oracle website and download newest JRE installation setup which suite your Linux distribution.

Note: To install Java in system-wide location you must login as the root user.

Extract JRE package:

tar zxvf jre-XXX-linux-YYY.tar.gz

Move unpacked JRE directory to /usr/lib/jvm/:

mv jreXXX /usr/lib/jvm/

You can delete .tar.gz file if you want to save disk space. It's not needed anymore.

Configure JAVA_HOME environment variable

To properly install MSH Disclaimer & Signatures application JAVA_HOME environment variable needs to be correctly set.

If you want to set JAVA_HOME only to current session you could invoke:

export JAVA_HOME=/usr/lib/jvm/jreXXX

But it will not persist if you reboot system.

To make available JAVA_HOME after reboot you need to set variable in .bash_profile file, it's located in each user directory. Create it if not exists. For system-wide and all users modify /etc/environment file,  thanks to it you'll not need to modify each user.

Add this definition to /etc/environment or .bash_profile file:


Note: XXX variable in jreXXX means your JRE version, ie. Jre1.9.0_4

To check if JAVA_HOME variable is set, run command:


You should output earlier defined path to JRE.

Installation disclaimers and signatures

Now when Java is installed and set-up, you can run application install script.

./msh-ds-milter --install

Find out more about MSH Disclaimer & Signatures...

Monday, June 16, 2014

Out of Office Assistant – milter installation

Before you could set vacation auto replies and common email autoresponses you need to install and configure Milter extension to your mail server.

MSH Out of Office Assistant supports Postfix, Sendmail and cooperate with Mozilla Thunderbird mail client.

Install milter server module on your MTA

Application consists of three modules:
  • Server Module - which is installed on mail server
  • Administrator Panel – used by administrator to configure and set up client modules
  • Client Module – extensions for Mozilla Thunderbird installed on users desktops machines

Below you will find description of Server Module installation. After downloading application, you need to add executable bit to install script.

# chmod +x msh-o3a-milter.bin

Run the installation script with –-auto parameter:

# ./msh-o3a-milter.bin -–auto

After successful installation, you'll see output like this:

* Checking permissions... OK
* Self extracting installer... OK
* Checking Java 1.6 or above installation... OK
* Running installer...
* Extracting files... OK
* Copying init script files... OK
* Updating init scripts... OK
* Copying remove script... OK
* Updating postfix configuration file...
* Appending smtpd_milters = inet:localhost:7072
* Starting msh-o3a-settings... OK
* Starting msh-o3a-milter... OK
* Reloading postfix... OK
* Application installed.

By default application installs in /opt/msh-o3a directory.

Post installation configure

Server Module don't need additional configuration, it works out of the box. You only need to remember to check if firewall is not blocking 1105 and 1106 TCP ports.

Find out more about MSH Out of Office Assistant...

Friday, June 13, 2014

Postfix policy delegation rules

MSH Traffic Policy for Postfix, Zimbra and Sendmail is sophisticated 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 official and standardized Milter API. Integration is done before mail is queued, so it can be used to filter spam and manipulate message before it hits your mail server.

Desktop application is flexible and powerful tool which gives many advantages for administrator comparing to manual scripts editing. It can run on Windows and Linux desktop.

Only brief of many features available in application:
  • Block, reject or silently accept email message,
  • Full message attachment control,
  • Message and envelope recipients manipulation,
  • Content filtering,
  • Appending disclaimers,
  • Message throttling per defined time unit,
  • Recipient rate limiting,
  • Invoking external scripts and executables,
  • Sending new email messages based on multiple conditions
  • Forwarding, rerouting messages

This heavy duty machinery for message processing it's available for free test. Download and learn more about MSH Traffic Policy.

Thursday, June 12, 2014

Autoresponder milter installation

Combine static text and automatically completed dynamic fields to build your auto reply. Define the conditions that trigger it, choose all emails, specific users or domains.

Template Editor let you to create templates for auto replies with static text and LDAP fields.

MSH Autoresponder handles all this and much more. It's the most flexible auto-reply software for Postfix, Sendmail and Zimbra. Try it for free.

Install milter server module on your MTA 

Milter autoresponder it's a server module which is installed on mail server. It's heavy duty machinery which is responsible for sending auto replies. Before you could run installation script add executable bit to it:

# chmod +x msh-autoresponder-milter.bin

Run the installation script:

# ./msh-autoresponder-milter.bin

When everything goes OK, you'll see output like this:

* Checking permissions... OK 
* Self extracting installer... OK 
* Checking Java 1.6 or above installation... OK 
* Running installer... 
* Extracting files... OK 
* Copying init script files... OK 
* Updating init scripts... OK 
* Copying default settings files...OK 
* Updating postfix configuration file... OK 
* Starting msh-ar-settings-service..... OK 
* Starting msh-ar-milter..... OK 
* Restarting Postfix... OK 
* Application successfully installed.

>> Using port 1098 and 1099. Make sure that firewall is not blocking it. 
>> Go to to see how to get started.

Now application is installed in /opt/msh-autoresponder directory. Use Administrator Panel for configuration, to create and enable auto reply rules.

Built on Rules

Combine conditions and exceptions to define exactly when your MTA auto-reply software takes action.

Learn more from and download Auto Responder for free, fully featured and fully supported trial.

Wednesday, June 11, 2014

Company wide disclaimers only in specified date range

When you want to append disclaimers with Zimbra, Postfix and Sendmail you'll use MSH Disclaimer & Signatures application. It's server side sophisticated milter which integrate with MTA trough official and standardized Milter API. In a simply way created signatures will be added to each outgoing, internal or even incoming email messages.

Add disclaimer only in specific date time range

  • Create a new disclaimer rule.
  • On Conditions tab you can add requirements based on Sender, Recipients or Message Subject.
  • And add also Time Range condition.
Time Range for disclaimer in Postfix, Zimbra, Sendmail.

For example date range could be defined for vacation disclaimer, ie. from first June to last July.

What about duplicates?

To prevent appending another disclaimer to email message, you should use Message Keyword Searching exception. It have options to precisely set what keywords to search.

Learn more about MSH Disclaimer & Signatures for your mail server.

Tuesday, June 10, 2014

Aliases configuration – OOF email messages

Solution which extends Postfix and Sendmail functionality with client side auto replies.

Server module works on MTA and provide center management place for all users which have implemented MSH Out of Office Assistant. Each user use add-in which seamlessly integrate with mail client, like Thunderbird.

Aliases query configuration


Enable Checking Aliases option.

By default email aliases are not checked, to enable it option Enable checking aliases need to be set.

After installation server module use preconfigured settings in <INSTALL_DIR>/msh-o3a-etc/ configuration file.

Settings for Postfix

By default for Postfix installation ALIAS_QUERY variable look like this:
ALIAS_QUERY='postalias -q %s /etc/aliases'

Invoked command and aliases file could changed to custom ones.

Settings for Sendmail

By default for Sendmail installation ALIAS_QUERY variable looks like this:
ALIAS_QUERY='sendmail -bv %s'

MSH Out of Office Assistant

Extend your MTA with client out of office and vacation auto replies. Users can turn on/off, define auto reply, forward original message and set time range of own statuses. Mail client extension seamlessly integrate with Mozilla Thunderbird mail client. Administration Panel provide central management of server settings and users out-of-office assistant options.

Settings for Loop Protection and prevention of sending auto response to mailing lists and spam can be easiliy configured.

Application can be used up to 15 users for FREE. Learn more about MSH Out of Office Assistant...

Monday, June 9, 2014

Automatically Compress Large Attachments

To make life easier and safe a lot hard drive space you could automatically compress incoming, internal or even outgoing attachments. Users don't care if they sent big excel sheet documents, powerpoint presentations or any other files which easily could be zip'ed.

Not all files should be packed to compressed format. JPEG, AVI or ZIP and RAR files already have reduced size, they're internally compressed. Second time compressing will not decrease size, in worst case will increase it.

Compress mail attachments larger than 5 MB

I recently need a solution where all incoming attachments should be taken from message, compressed and put back into the message. I don't want to compress outgoing traffic.

I will use MSH Traffic Policy application, it's very flexible and powerful software, it helps to solve many problems with MTA's traffic.

  • Create new rule and name it Pack Incoming Attachments.
  • On Actions tab click button Add and select Compress Attachments menu.
  • Enter 5 MB in size section. Only attachments which are greater or equal 5 MB will be compressed.
  • By default ZIP, TAR.GZ and BZ2 files are skipped. You can add another extensions you like. Ie. *.JPEG, *.AVI, and *.RAR.
  • Click button OK.
Compress attachments with Postifx, Sendmail and Zimbra

 To apply action only on incoming email messages, we need to exclude all messages which are not sent from our company domain.

  • On Exceptions tab click button Add and select Message Sender menu.
  • Enter your domain name using wild cards, like *
  • Click button OK.
  • Click button OK to close rule wizard.
  • Click button Save All settings to apply changes.
Message Sender exception to exclude outgoing traffic.

When rule is active all email messages which are not sent from * will have compressed attachments. This action give you a whole range of options to manipulate email attachments.

If you're looking for something else to do with attachments, like:
  • detaching attachments,
  • completely removing all type of attachments
  • stripping them from email message and inserting info about it
  • adding new attachment to e-mail

you should learn more about MSH Traffic Policy milter for Postifx, Sendmail and Zimbra.

Friday, June 6, 2014

Server auto replies with Postfix - only in specified time range

Postfix doesn't have built-in autoresponder functionality, you need to use 3rd party tool. On the market there are variety of tools and scripts which will do the job.
But almost none of them could set time range for sending auto replies out of the box. This functionality is very useful when you don't want to forget to disable autoresponder after some period of time.

Setting up MSH Autoresponder with simple timerange

  1. Open MSH Autoresponder administrator panel.
  2. Select Autoresponder Rules tree node.
  3. Click button Add New to create new rule.
  4. On Auto Reply tab compose auto reply message.
  5. Go to Conditions tab and add requirements to trigger autoresponder, like only for some recipients.
  6. Go to Time Range tab and select Enable time range option.

  7. Time range options in Postfix autoresponder.

  8. Choose date range in which you want to apply autoresponder, ie. 2014.12.24 – 2015.01.01.
  9. Click button OK and Save changes.

When you're not enabling time and date range autoresponders will be send all the time without a break.

  • You can set an an auto reply message when you're on national holiday.
  • Using Loop Protector auto-reply messages are sent to each recipient only with specified times per minute, hour, day or week.
  • Using Time Range options auto reply messages are sent only in specified period of time.

Learn more about MSH Autoresponder for Postfix and Sendmail.

Thursday, June 5, 2014

Automatic Replies for Exchange - message server war

When you're using exchange autoresponder for creating vacation email responses, support notifications or disabled/removed mailboxes you'll probably need to use Loop Protection.

It will happen when other mail servers also using auto reply software and not prevent from loops. This will create message servers war, because servers will send infinite of emails.

Server side solution

MSH Exchange Autoresponder it's an exchange tool for server side auto replies has built-in loop protection functionality. Thanks to it you can avoid a situation when two addresses exchange multiple autoresponders in an infinite loop.

Loop Protection in Exchange Autoresponder.
By default Loop Protection is enabled and it's set to no more than 1 auto reply message per 1 day to the same recipient. You can change time and count limit threshold you want.

The Loop Protector counts autoreplies separately for each email address and each rule. It will not accumulate autoreplies from all rules in the program.


  • easy message compose editor
  • protect against message loops between servers
  • use advanced time scheduling options for sending automatic messages
  • limit number of replies to the same recipient or send autoreply all the time
  • on click exchange transport agent installation
  • wildcards and regular expressions for matching message sender, recipients and subject
  • change auto reply sender email address
  • it's exchange server solution - Outlook is not needed

Find out more about autoresponder for Exchange 2007, 2010, 2013 and test it for free.

Wednesday, June 4, 2014

Add disclaimer to only internal messages

If you want to add HTML disclaimers only to internal email messages what would you do? First condition would be to narrow conditions to email messages which are sent from your company domain to the same company domain. Everything else should be skipped.

MSH Disclaimer & Signatures it's server side application dedicated to insert disclaimers into email messages based on various conditions. See some screenshots from administration panel.

Only internal messages

  • Add new Rule
  • Define first condition Message Sender
  • Enter your domain name using Wildcards

Message Sender condtiion, exception
  • Click button OK

  • Define second condition Message Recipient
  • Enter your domain name using Wildcards
  • Select In all fields TO, CC, and BCC in Sender Address option
  • Leave option True only if at least one recipient is matched
Message Recipient condition, exception.
  • Click button OK

On Disclaimer tab define disclaimer content in HTML and Plain Text format. Click button OK to close rule wizard.
Rich HTML disclaimer template.

Save All settings and test your configuration by sending email internal message.

Disclaimer for Zimbra, Postfix and Sendmail

Application works as external standalone mail add-in which integrate with your mail server through official and standardized Milter API. With built-in compose editor you'll create HTML and Plain Text rich disclaimer templates. Multiple conditions and exceptions will help with specifying range of message to which append disclaimer. No duplicates, skip adding another signature if already present in email message.

Learn more about MSH Disclaimer & Signatures 

Tuesday, June 3, 2014

Client side OOF with Postfix, Sendmail and Thunderbird

Most MTA'a doesn't have out of office functionality. To achieve this you need a use 3rd party tool. It must seamless integrate with mail transport agent, give possibility to change status for each user. Administrator should be able to manage all users out of office states.

For example, you have 50 employees in company, each user have mailbox on Postfix or Zimbra. None of this mail servers provide manageable by users out of office states. Users cannot change their OOF status when leave on vacation, also manager could not do it for them.

MSH Out of Office Assistant

There is one application which will provide this functionality, MSH Out of Office Assistant it's a milter application, it extends mail transfer agents and mail clients, like Thunderbird.

Thunderbird extension doesn't need any adjustments.

How it works?

You need to install server side module on Postfix or Sendmail. With administrator panel you're able to create custom Thunderbird extension. Next send it to users, they should install with mail client. Plugin is preconfigured, so it don't need any adjustments.

These three steps are sufficient to setup environment with out of office functionality.

Learn more about MSH Out of Office Assistant. It's free up to 15 users.

Monday, June 2, 2014

How to forward email message to another mailbox

By using a rule, any received email message that match conditions specified in the rule ca be forwarded to another email account. For example, all email messages from a sender or with a subject that specify can be forwarded.

Automatically redirect email messages with Postfix, Sendmail and Zimbra.

Suppose that Bob is working with an assistant on a project. For each email Bob receives about the project, he can use a rule to forward those messages to his assistant. Using message forwarding assures that Bob's assistant receives all of the project messages automatically.

Message forward/redirect action
  1. Click button Add Rule in the Administrator Panel.
  2. On the Conditions tab, click button Add and choose Message Recipient.
  3. In the email address, enter
  4. Click button OK.
  5. On the Actions tab, click button Add and choose Forward Message.
  6. Enter destination email address
  7. Define email Subject line, FWD: ${message:subject}
  8. Click button OK.
  9. Close rule wizard and save changes.

To learn more about forwarding and redirecting email messages visit MSH Traffic Policy website.