cleaner script please help
I am new admin, on old mail server I have installed postfix,phamm and script cleaner.sh.
I want to rip mails phamm not cleaned enough.Do I need enter in the desired domain and there starts this cleaner script or do it from the root folder? In short how to use the cleaner script.Please your advice or short tutorial for use cleaner.sh
As bash scripts are most of the time very individual stuff (your forerunner probably wrote it himself) it may be wise to post the contents of this script hiere to get feedback on what it does and how it can be improved.
example:nedd erase mail
What to type?
What is common practice?
#Copyright ...Alessandro De Zorzi and Mirko Grava
#Phamm is free...
#This file must be in path vmail/bin
touch $OUTPUT#find mail to delete...
#create file for awk....
#find domain to delete...
#create file for awk...
#execute and delete temporary files...
chmod 700 $OUTPUT
#rm -rf "/tmp/mb* "/tmp/vd* $OUTPUT
ah cleaner.sh seems to be a component of phamm (http://www.phamm.org/docs/INSTALL). From what you have posted from the script it can simply be executed from its normal location (e.g. /path/to/cleaner.sh) if the location of the script is in your PATH variable you can also just execute cleaner.sh.
|All times are GMT +2. The time now is 16:03.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.