Results 1 to 1 of 1
Thread: delete mail script
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2005
delete mail script
i need a shell or perl script which wud keep recent certain number of mails(say last 4 mails) from
mailbox of a mail user account and delete all other older mails from its mailbox.I m using linux enterprise server
and have user mailboxes in /var/mail/* .Does anyone of u have such a shell or perlscript which wud serve tht purpose?
help will b appreciated .