[Mimedefang] Can't locate object method "new" via package "Date::Simple"
Meni Shapiro
ms at pcb.co.il
Thu Sep 23 05:49:52 EDT 2004
Hello Good plp,
I run mimedefamg+SA+clamd on a linux crux machine.
It runs fine!!!
Today i got this error in /var/log/maillog:
[quote]
Can't locate object method "new" via package "Date::Simple" (perhaps you
forgot to load "Date::Simple"?) at /etc/mail/mimedefang-filter line 390.
[end quote]
I have no idea what to do?
I restarted the service (a few times) but it keeps coming back?!?
I know restart isn't the proper way to solve a problem... ;-)
can someone suguest a solution????
P.S.: the part in mimedefang-filter is:
[quote]
if ($size > 1048576) {
if (($Subject !~ /ClamavD/) and ($Sender !~
/^\<?xxxx\@somedomain\.com\>?$/)) {
my $today = Date::Simple->new;
my $expir = $today + 28;
md_graphdefang_log("CUT attachment:", "\"$fname\"",
"size=$size");
return action_replace_with_url( etc. etc...
[end quote]
--
Sincerely,
Meni Shapiro
More information about the MIMEDefang
mailing list