Hello,
We have an account that has about 100k spam emails in the inbox catch-all account made during whm account creation. It no longer receives emails, however, I'm having trouble deleting all the emails in this folder.
[/home/user/mail/new]# rm -f /home/user/mail/new/*
-bash: /bin/rm: Argument list too long
I've seen several ways suggested on how to remove spam emails when encountering this problem but none of them seem too concrete. What do you recommend and is it possible to delete them from whm/cpanel as root through the web gui? If I delete the 'new' directory as the 'user' account (and not root) then re-create it and chmod/own permissions, would that be better or would I receive the same error? Does this folder require any special permissions that are not seen when running 'ls -al'?
Thank you.
We have an account that has about 100k spam emails in the inbox catch-all account made during whm account creation. It no longer receives emails, however, I'm having trouble deleting all the emails in this folder.
[/home/user/mail/new]# rm -f /home/user/mail/new/*
-bash: /bin/rm: Argument list too long
I've seen several ways suggested on how to remove spam emails when encountering this problem but none of them seem too concrete. What do you recommend and is it possible to delete them from whm/cpanel as root through the web gui? If I delete the 'new' directory as the 'user' account (and not root) then re-create it and chmod/own permissions, would that be better or would I receive the same error? Does this folder require any special permissions that are not seen when running 'ls -al'?
Thank you.