Ok,
I need to either write a php script or shell script the will dump or delete all of the emails in an inbox once an hour using a cron job..
Here is the current shell script and cron job setup I was told to use, but I dont understand how its doing anything, and its definately not deleting my emails.
Shell script setup:
filename: maildump.sh
#!/bin/sh
echo > /home/username/.neomail-safelist/username/inbox
Cron job setup:
0 /1 /bin/sh /home/username/maildump.sh
I know there has to be more to it.. I dunno if any of you know anything about shell scripts, any help is greatly appriciated.