I've got a complain from a user that had about 160B of spam lists (in the user .spamassassin folder). I've found a nice util named trim_whitelist that will make the files smaller by removing the old entries.
I was trying to make a bash script that i could put on cron but i lack the knowledge for making it. Someone wants to help me ?
The tools can be downloaded from http://www.deepnet.cx/~kdeugau/spamtools/ and it's named "trim_whitelist". to use it just do (inside the /home/USERNAME/.spamassassin) the following:
perl trim_whitelist auto-whitelist
I would like to have some sort of bash script that would go all the user dirs and execute the command.
PS: I've changed the original script to delete the old file that the script copies
Thanks in advance for any ideas that popup
I was trying to make a bash script that i could put on cron but i lack the knowledge for making it. Someone wants to help me ?
The tools can be downloaded from http://www.deepnet.cx/~kdeugau/spamtools/ and it's named "trim_whitelist". to use it just do (inside the /home/USERNAME/.spamassassin) the following:
perl trim_whitelist auto-whitelist
I would like to have some sort of bash script that would go all the user dirs and execute the command.
PS: I've changed the original script to delete the old file that the script copies
Thanks in advance for any ideas that popup