spam_sanitize_filename

one of the documented procedures in this installation of the ACS
Usage:
spam_sanitize_filename   filename
What it does:
Remove any pathname metachars from a filename, allow only a very clean set of characters
Defined in: /web/philip/tcl/spam-daemon.tcl

Source code:


    regsub -all {[^A-aZ-z0-9._-]} $filename "_" file_clean
    regsub -all {[.]+} $file_clean "." file_clean_1
    return $file_clean_1


philg@mit.edu