[Mimedefang] Your vendor has not defined Sys::Syslog macro _PATH_LOG
Mike Batchelor
mikebat at tmcs.net
Tue Jun 18 14:42:07 EDT 2002
I added some code to mimedefang-filter to bounce messages that exceeded a
certain spam score. Now it stopped working if any spam score at all is
assigned. Mimedefang-multiplexor complains to syslog:
"Your vendor has not defined the Sys::Syslog macro _PATH_LOG at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Sys/Syslog.pm line 277"
Well, this is stupid since "inet" should be used, not "unix" sockets for
syslogging. How is Mimedefang getting lost here? There is no definition of
_PATH_LOG anywhere in any of my system headers (consequently, there is none
in my .ph headers, either).
My mimedefang-filter is a modified version of the example filter from the
2.6 dist (1.4 2002/02/26 acording to comments at the top). I attached a
copy of it. The lines I added that seem to be the problem are:
# if ($hits >= "5.5") {
# action_bounce("Looks like spam.");
# $didBounce = "yes";
# }
What's my problem here? Do I need to exit the script if I have bounced?
---
"The avalanche has already begun. It is too late for the pebbles to vote."
-- Kosh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mimedefang-filter
Type: application/octet-stream
Size: 6383 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20020618/fa5caf31/attachment-0002.obj>
More information about the MIMEDefang
mailing list