Mail::MIMEDefang::Utils - Support methods used internally or by email filters
Mail::MIMEDefang::Utils are a set of methods that can be called from mimedefang-filter or by other methods.
Method that returns a string representing the current time.
Method that returns a string representing the current hour.
Method that synthesizes a valid Received: header to reflect re-mailing. Needed by Apache SpamAssassin to correctly parse email messages.
Method that copies a file if it fails to create an hard link to the original file.
Method that extracts an array of command, key, values from RESULTS file, needed for regression tests.
Method that returns 1 if either Content-Disposition.filename or Content-Type.name matches the regexp; 0 otherwise.
Method that returns 1 if the EXTENSION part of either Content-Disposition.filename or Content-Type.name matches regexp; 0 otherwise.
Method that returns 1 if the EXTENSION part of any file in the rar archive matches regexp.
Method that returns 1 if the EXTENSION part of any file in the 7zip archive matches regexp.
Method that returns 1 if the EXTENSION part of any file in the zip archive matches regexp.
Method that returns 1 if the EXTENSION part of any file in the tgz archive matches regexp. To enable the check $Features{'tar'} should be enabled.
Method that copies original INPUTMSG file into work directory for virus-scanning as a valid mbox file.
Method that generates a random indentifier used by MIMEDefang to create temporary files.