Quantcast
Channel: Zimbra, Postfix and Sendmail mail server tools
Viewing all 67 articles
Browse latest View live

Limit the number of emails sent by users

$
0
0
The MSH Traffic Policy have ability to to track how many emails are sent by particular user.

To enable this feature use Message Count Based on Sender action.

This condition will be true when user john.doe@server.local will send more than 200 emails per day.

When condition is defined it's time to create action which will be invoked when emails count reach limit. Block Message action with custom message for sender.

After these simple steps, user will be able to send only 200 messages per day.

Learn more about MSH Traffic Policy.

Delete recipient when message is sent from specific domain

$
0
0
Imagine that you want to block message to one of your employee, but only if email is from specific domain. You cannot use Block Message action because it would block message also to other recipients. Better solution is to use Remove Envelope Recipient action which silently remove email addresses.

After quickly defining new rule, we go straight to the actions, choosing Remove Envelope Recipient action from menu.
Remove Envelope Recipient menu

Envelope recipient(s) can be deleted by wildcards, regular expression or plain email address. I'll call my unlucky guy jeff at example.net.
Remove Envelope Recipient action

Now Message Sender condition is needed, because we want to take down recipient only from messages which were sent from i.e. @gmail.com.
Message Sender condition

So, after those two simple steps from now Jeff will never receive any email from gmail.com.

Maybe you have some other ideas how to make life more "happier" for your employees? Try MSH Traffic Policy, it's powerful tool for Sendmail and Postfix.

Out of Office Assistant 1.2 released

$
0
0
We're happy to announce that we've released a new version of MSH Out of Office Assistant for Postfix and Sendmail.

Assistant is a solution which extends your MTA with client side auto replies. It's integrate with Thunderbird and gives a possibility for end user to set an auto reply when he is going on vacation.

Administrator application can manage all settings regarding OOF users state, it can be useful for admins, receptionists, managers etc.
Application seamlessly integrate with Thunderbird. It gives possibility for users to change OOF state from own mail client.
In this version we've added access control functionality to prevent from unauthorized access to server. Administrator now can define which users could connect to server and change settings.

Learn more about MSH Out of Office Assistant.

Zimbra email disclaimer and signatures

$
0
0
Email disclaimers aren't a problem when they're simple, but when we want them to be more sophisticated it's a pain in the ass. Appending simple text to message is not enough for our bosses, marketing department, company compliance and our customers - they need something more.

Many "solutions" for adding signatures don't work out of the box, they're complicated and have weird configuration. They're only workarounds for a real problem. Solution is simple - use software designed for adding disclaimers and signatures to any type of messages.

What you cannot do with common tools on the market:
  • skip adding another disclaimer if already present in the message
  • add different disclaimer per domain or group
  • set time range to use different disclaimer on the vacation and Christmas
  • and so on...
This milter extension for mail servers, like Postfix, Sendmail and Zimbra it's a sophisticated application which works in the background and does heavy duty email processing.

Message in Thunderbird with appended disclaimer

To learn more read full article about disclaimers with your mail server.

Exchange Autoresponder - server side auto replies

$
0
0
MSH Exchange Autoresponder is transport agent extension that allows you to create server side auto responses on the basis of configurable criteria.

With administrative desktop application you will create and manage auto response rules, like common auto reply messages, vacation e-mails, marketing or support auto replies.

Administrative desktop application which helps with creating auto reply rules.


Compose Auto Reply Messages

You have control over auto reply subject, body content and additional custom message headers. Subject and body content support Active Directory variables so each auto reply message can be personalized based on an auto reply sender.

Advanced Time Scheduling

Use multiple options in which an auto reply rule will be active. With this functionality you can create rules which will send auto replies all the time, only on holidays, Christmas or specified hours.

Forward Message to Another Mailbox

Autoresponder rule can send forward to your assistant when you are out of office. Changing the subject of forward is very useful when you want to distinguish it from original message.

Protect Against Loops Between Servers

When other auto reply software not follow the standards there is a possibility to create a loop between servers. This is very dangerous situation when two servers non stop sends auto replies to each other. With this protection you will define how many times application will send auto replies in specific period of time (ie. in an hour, day) to the same recipient.

Change Autoreply Sender Address

When email is sent to specific user, auto reply can be sent from group.

Integrate with Active Directory

Application can integrate with Active Directory, so auto replies can be personalized with data from directory service.


To learn more visit MSH Exchange Autoresponder website.

Filter all recipients with Postfix and Sendmail

$
0
0


I've heard several times that someone wants to block message, save attachments or add disclaimer only to one type of emails. To messages which are from/to specific group of people.

Example: save attachments from all messages but skip messages from one particular domain, so if email is sent only to @gmail.com recipients then don't save, otherwise save.

from: someone@dot.com
to  : john@gmail.com
DON'T SAVE

from: someone@dot.com
to  : john@gmail.com
cc  : mike@gmail.com
DON'T SAVE

from: someone@dot.com
to  : john@gmail.com, jane@outlook.com
SAVE!

from: someone@dot.com
to  : jane@outlook.com
cc  : mike@outlook.com
SAVE!

HOW TO DO IT? Use MSH Traffic Policy!


First we need to define new Save Attachments action. It needs absolute path to directory where files will be saved. Path supports advanced variables, so it's possible to build hierarchy of directories based on message properties. Attachments have variety of file names, for example "...dont wait.jpeg", if file will be directly saved to disk, on some system may not be available or will be hidden (first dot). Select "Replace first dot with underscore in attachment filename" option to prevent this, now attachment will be saved as "_..dont wait.jpeg".

Save Attachments action
Now it's time do make some conditions and exceptions for our case. First we need to define condition which will match all messages, we can use Message Sender condition with asterisk as a value.

Exceptions should skip messages which are addressed only to @gmail.com recipients. If at least one recipient is not @gmail.com then attachments should be saved. Select Message Recipient exception, it will search for *@gmail.com addresses using wildcards. Also regular expressions (regex) can be used to match more sophisticated pattern. Recipients must be searched in all fields TO, CC, BCC. Our exception must be true only if all recipients are matched, otherwise it should fail.

Recipient email address pattern and searching options

SUMMARY


This is only one example of condition/exception matching message recipients. MSH Traffic Policy application offers many variety options to check/parse/match any message value (like size, type or attachments count) and with much more actions so that your work with email servers will be more fun.

Maybe you're looking for something different:


Automatically Compress Large Attachments

$
0
0
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 *@domain.com.
  • 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 *@domain.com 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.

Aliases configuration – OOF email messages

$
0
0
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/config.cf configuration file.

Settings for Postfix


By default for Postfix installation ALIAS_QUERYvariable 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...

Company wide disclaimers only in specified date range

$
0
0

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.

Autoresponder milter installation

$
0
0
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 http://www.mshsoftware.com?ptr=1016 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.

Postfix policy delegation rules

$
0
0
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.

Out of Office Assistant – milter installation

$
0
0
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...

Postfix Disclaimers – JRE installation – JAVA_HOME

$
0
0
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:

JAVA_HOME=/usr/lib/jvm/jreXXX

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

To check if JAVA_HOME variable is set, run command:

echo $JAVA_HOME

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

Sendmail Autoreply – copy rules settings between servers

$
0
0
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...

Traffic shaping milter - Postfix and Sendmail

$
0
0
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...

Zimbra Disclaimer - applying License Key

$
0
0
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...

Postfix & Sendmail - Out of Office Reponder - Unauthorized Access

$
0
0
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...

Postfix vacation auto replies – LDAP configuration

$
0
0
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.

Postfix - Automatically add attachments to specified emails

$
0
0
Postfix is a mail transfer agent (MTA), it's job is to handle the delivery of the mail, picking it up and sending it to the next point on it's route. Like postal worker, whose job is to take an envelope and carry it to the recipient. But sometimes you need to extend it's functionality with some other job, like adding attachments to only specified email messages.

MSH Traffic Policy it's a milter which extends basic MTA functionality with powerful tools.

Add attachment to outgoing mails


Think about task when you need to add PDF file to each email message which is going to @gmail.com recipient. There is only one answer Recipient Condition with Add Attachment action.

Message Recipient condition and Add Attachment action


After defining rule with these condition and action, mail which are going to @gmail.com recipient will be send with an attachment.

If you need to:
  • manipulate attachments and remove, strip and count them, 
  • manipulate sender and recipients, block messages, and filter using keywords 
  • add disclaimers 
  • and many more
you should learn more about MSH Traffic Policy.

Ouf of Office extension for Sendmail and Postfix

$
0
0
MSH Out of Office Assistant is a solution for extending your mail server with OOF functionality. It's integrate server side with MTA, like Postfix and Sendmail. Client side adds to Thunderbird mail client add-on for end users, they will have ability to change own out-of-office state and define auto reply message.

Administrator Panel lets to manage all users/mailbox states and other server settings.

Installing Administrator Panel on Linux desktop


Download latest version of application. Before running install script executable bit needs to be set:

chmod +x msh-o3a-admin.bin

Now run the installation script.

./msh-o3a-admin.bin

When everything will run without errors, after installation application could be found in $HOME directory of current users.

$HOME/msh-o3a-admin



Learn more about MSH Out of Office Assistant...

Viewing all 67 articles
Browse latest View live