# echo "Mailexchange by WagnerTech" # check environment export CWD=`echo $0 |sed "s!/mMailExchange!!"` export ROOTDIR=`echo $0 |sed "s!/tools.*!!"` # load Linux-Adapter . $CWD/../etc/SuSE8.adapter # perform steps vEinwahlOk=1 # e.g. in case of an existing connection if $cEinwahl then echo "Einwahl erfolgt." vEimwahlOk=0 fi $cFetchmail $cSendmail if [ $vEinwahlOk -eq 0 ] then $cHangUp fi