#!/bin/sh #---------------------------------------------------------------------------- # /var/spool/hylafax/mimeconverters/no-converter-mail # # Creation: 2007-01-10 hbfl # Last Update: $Id$ # # Copyright (c) 2007-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version.. #---------------------------------------------------------------------------- mime_path=/var/spool/hylafax/mimeconverters sendmail=/usr/sbin/sendmail . /var/install/include/eistime image=${1} path=${2} { echo "From: EisFAX faxmail Agent " echo "To: " echo "Subject: Mail2Fax convert failed on Server '${HOSTNAME}'" echo "Mime-Version: 1.0" echo "X-Mailer: sendmail EisFAX on eisfair" echo "Content-Type: text/plain; charset=UTF-8" echo "Content-Transfer-Encoding: quoted-printable" echo echo echo "Dispatched from EisFAX on Server '${HOSTNAME}'" echo "Current Date: ${EISDATE} Time: ${EISTIME}" echo echo echo "Mail2Fax convert from ${image} failed." echo "Error: Converter ${path} couldn't be found!" echo "Please fix this problem as soon as possible." } | ${sendmail} faxmaster exit # --------------------------------------------------------------------------- # end # ---------------------------------------------------------------------------