From b1a03247b935821af3ecd54752b0492a00fe720c Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Fri, 19 Oct 2007 07:18:56 +0000 Subject: The POP daemon's temporary mail file has a leading dot ('.'). This was lost in the shell script rewrite of the rmuser command. Submitted by: Ian Smith --- adduser/rmuser.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'adduser/rmuser.sh') diff --git a/adduser/rmuser.sh b/adduser/rmuser.sh index a051b64..d263217 100644 --- a/adduser/rmuser.sh +++ b/adduser/rmuser.sh @@ -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 '.' } -- cgit v1.2.3-56-ge451