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 <smithi@nimnet.asn.au>
This commit is contained in:
parent
c5081fcd35
commit
017568b3c6
@ -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 '.'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user