#!/bin/bash
# Emulation of "mail -s" by using blat
# You need to specify your SMTP server as -server argument

/bin/blat - -to $1 -f logrotate@localhost -subject $2 -server smtp.server
