rev. 1.10
	The POP daemon's temporary mail file has a leading dot ('.').
	This was lost in the shell script rewrite of the rmuser command.
This commit is contained in:
mtm 2007-10-19 07:55:52 +00:00
parent 04748f6a7c
commit 93dac539c3

View File

@ -86,10 +86,10 @@ rm_mail() {
echo -n " mailspool"
rm ${MAILSPOOL}/$login
fi
if [ -f ${MAILSPOOL}/${login}.pop ]; then
verbose && echo -n " ${MAILSPOOL}/${login}.pop" ||
if [ -f ${MAILSPOOL}/.${login}.pop ]; then
verbose && echo -n " ${MAILSPOOL}/.${login}.pop" ||
echo -n " pop3"
rm ${MAILSPOOL}/${login}.pop
rm ${MAILSPOOL}/.${login}.pop
fi
verbose && echo '.'
}