########################################################### ########################################################### ### ### ## mailtools1.0.tcl ## ## Copyright 1999 ## ## Taske ## ## ## ## GENERAL INFO: ## ## ------------- ## ## This script will take a channel message containing ## ## predefined strings and send it to an email address. ## ## It will also make you able to send a mail to an ## ## address with a message and make the bot display this ## ## in channels. ## ## ## ## To be able to use the relaying of messages to a mail ## ## account the email address has to be specified on the ## ## bot (.help email) and the system has to have mailx ## ## installed (to check, type 'whereis mail' or ## ## 'whereis mailx'. If you get a path you have it.) ## ## ## ## I had to use a perl script for the checkmail part ## ## of this tcl. If anyone has a better idea on how ## ## to solve it (preferrably inside the tcl) please let ## ## me know. ## ## ## ## The relaying only supports one owner as of now. ## ## If the bot has more owners it will only relay to the ## ## first owner it finds in the userlist. ## ## ## ## REQUIREMENTS: ## ## ------------- ## ## - Sendmail (will not work on exim server at least.) ## ## - Perl ## ### ### ########################################################### ###########################################################