[Mimedefang] Minor documentation request
Steffen Kaiser
skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Wed May 14 04:31:01 EDT 2003
Hello,
in man mimedefang-filter there is this snippet:
$size = (stat($entity->bodyhandle->path))[7];
if ($size > 1000000) {
action_replace_with_url($entity,
"/home/httpd/html/mail_parts",
"http://mailserver.company.com/mail_parts",
"The attachment was larger than 1,000,000 bytes.\n" .
"It was removed, but may be accessed at this URL:\n\n" .
"\t_URL_\n");
}
This example leaded me to append another "return action_accept();" at the
end of the filter sub, instead of returning the result of
action_replace_with_url.
My request: Could you document or make more obvious, which "action_*()"
functions are intended to end processing, e.g. assigning an action to
$Action, hence, which functions override the effect of a previous one?
Bye,
--
Steffen Kaiser
More information about the MIMEDefang
mailing list