#!/bin/sh
#  xbiff-wrapper: read your dot-qmail file and invoke xbiff with the pathname.
#
if [ ! "$QMAILSPOOLPATH" -a -f $HOME/.qmail ]; then
  dotqmail=`grep '^\./' $HOME/.qmail | head -1`
  if [ "$dotqmail" ]; then
    QMAILSPOOLPATH=$HOME/$dotqmail
    export QMAILSPOOLPATH
  fi
fi
#echo $QMAILSPOOLPATH			# for debug
exec xbiff-qmail $*
