#!/bin/sh
set -x
if [ "X" = "X${1}" ]
then
        exit;
fi

MAINDIR=/home/saturnero/gufiml/ #Keep the trailing slash

cd $MAINDIR
cat | /usr/local/bin/php mailparse.php $1
