checkNicDelete
    	
			
This simple routine checks a domain in cancelation lists from nic.it and notify it to a mail address using local or external smtp (with swaks).
			The scope is to be immediately aware of the availability of a domain to avoid it to be stolen from web shark company. 
			
prerequisites: 
			
packages wget, swaks (if sending through external authenticated smtp)
			
configured mta if send locally with mail -s
			
			
INSTRUCTIONS:
			
- put the script in /usr/local/bin/ 
			
- it must be executable: chmod +x /usr/...
			
- schedule it: crontab -e and add the line 
			
"01 02 * * * /usr/local/bin/checkNicDelete.sh" 
			
  to check every day
			
- if you use local mta without auth, see instructions at the end of the script
		    
		    
		    Download