- sed -e 's/mts: *sendmail/mts: smtp/' ${MHMTSCONF} >${MHMTSCONF}.new
- mv -f ${MHMTSCONF}.new ${MHMTSCONF}
+ #### And set up the maildrop in the test directory so tests don't
+ #### use the user's real maildrop.
+ sed -e 's/mts: *.*/mts: smtp/' \
+ -e "s%mmdfldir: *.*%mmdfldir: ${MH_TEST_DIR}/Mail%" \
+ -e 's%mmdflfil: *.*%mmdflfil: maildrop%' \
+ "${MHMTSCONF}" >"${MHMTSCONF}.new"
+ mv -f "${MHMTSCONF}.new" "${MHMTSCONF}"