Scroll to navigation

Mail::MIMEDefang::Utils(3) Mail::MIMEDefang::Utils Documentation Mail::MIMEDefang::Utils(3)

NAME

Mail::MIMEDefang::Utils - Support methods used internally or by email filters

DESCRIPTION

Mail::MIMEDefang::Utils are a set of methods that can be called from mimedefang-filter or by other methods.

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 copies original INPUTMSG file into work directory for virus-scanning as a valid mbox file.
2022-12-01 3.2