[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] How do I clear a users e-mail out?



> cwickham@xxxxxxxxxxxxxxxx wrote:
> 
> Simple command =)
> 
> shell# > /var/spool/mail/user
> 
> This takes an input value of nothing and over writes the file with it. Very
> quick and simple way of getting rid of mail.

 
Yup, that'll deal with that user's email, that's for sure.
This is what happens (listing of part of mailspool):

-rw-rw----   1 johndoe  mail       492065 Nov 16 10:44 johndoe
-rw-r--r--   1 root     root            0 Mar 16 11:36 user

Slight ownership / permissions problem.