[NTLUG:Discuss] Deleting a users email..

Greg Hewett ghewett at d-tech.net
Mon Feb 14 15:30:18 CST 2000


to delete a specific message,  you can be very careful, and use vi, or your
favorite text editor, to delete the message.  when you open up the mailbox,
you will see a pattern. delete the entire thing, or your mail clients will
barf. 

vi /var/spool/mail/<username>
delete the message

** or to delete the whole thing:
cat /dev/null > /var/spool/mail/<username>

greg


On Mon, Feb 14, 2000 at 02:20:21PM -0600, Brian Silvers wrote:
> For sendmail,
> Is there a way to delete a specific email or do I have to dump all their
> mail in the with an echo > "" to their file in the /var/spool/mail ??
> 
> I have turned into a full blown Linux Administrator(which I am just a guy
> that set up a RH6 box)since one of our IMAIL NT boxes dumped with all the
> email accounts so I am learning as much as I can as fast as I can so sorry
> for the ignorance...
> 
> Brian Silvers
> kungfusion at x-net.com
> 
> X-Net Web Systems       ColdFusion, CGI's, Dynamic Content
> http://www.x-net.com     Flash, Database Integration,  and more!
> 
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss

-- 
			   **********************
			   * D-TECH CORPORATION *
			   *  systems engineer  *
			   * ghewett at d-tech.net *
			   *    972.776.4779    *
			   **********************




More information about the Discuss mailing list