Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: niki40 on January 21, 2005, 04:18:33 PM
-
I have problems with this contrib. These are the errors.
I tryed changing update location from USA to Argentina, country where I live, but it still bad.
Cron <root@server> /usr/bin/antivirus-stats.pl
ERROR: Date::Manip unable to determine TimeZone.
Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/antivirus-stats.pl line 231
main::parse_arg('yesterday', '') called at /usr/bin/antivirus-stats.pl line 81
Cron <root@server> /usr/bin/spamfilter-stats.pl
ERROR: Date::Manip unable to determine TimeZone.
Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/spamfilter-stats.pl line 317
main::parse_arg('yesterday', '') called at /usr/bin/spamfilter-stats.pl line 96
My maillog
Jan 21 03:22:57 server spamd[2552]: clean message (0.5/5.0) for qmailq:404 in 16.1
seconds, 37365 bytes.
Jan 21 03:22:57 server spamd[2552]: result: . 0 - FROM_ENDS_IN_NUMS scantime=16.1,
size=37365,mid=<20050120165439.55399.qmail@web52406.mail.yahoo.com>,autolearn=no
Jan 21 03:26:07 server fetchmail[28563]: SMTP error: 451 postmaster@localhost
Jan 21 03:26:07 server fetchmail[28563]: can't even send to postmaster!
Jan 21 05:36:07 server fetchmail[30924]: SMTP error: 451 postmaster@localhost
Jan 21 05:36:07 server fetchmail[30924]: can't even send to postmaster!
Jan 21 06:01:08 server fetchmail[5171]: SMTP error: 451 postmaster@localhost
Jan 21 06:01:08 server fetchmail[5171]: can't even send to postmaster!
Jan 21 10:36:06 server fetchmail[12845]: SMTP error: 451 postmaster@localhost
Jan 21 10:36:06 server fetchmail[12845]: can't even send to postmaster!
Jan 21 10:41:07 server fetchmail[14153]: SMTP error: 451 postmaster@localhost
Jan 21 10:41:07 server fetchmail[14153]: can't even send to postmaster!
Jan 21 10:41:07 server fetchmail[14153]: SMTP error: 451 postmaster@localhost
Jan 21 10:41:07 server fetchmail[14153]: can't even send to postmaster!
Jan 21 10:51:36 server spamd[2156]: server hit by SIGCHLD
Jan 21 10:51:36 server spamd[2156]: handled cleanup of child pid 2556
Jan 21 10:51:36 server spamd[2156]: handled cleanup of child pid 2555
Does anybody can help me?
Regards
Niki
-
I have problems with this contrib.
WHich contrib, in particular? Name? Version? URL?
-
I have problems with this contrib.
WHich contrib, in particular? Name? Version? URL?
Charly these are them:
spamassassin_V3
perl-CGI-FormMagick-0.89-08.noarch.rpm
smeserver-fetchmail-1.3.4-02.noarch.rpm
and http://sme.swerts-knudsen.dk/downloads/AntiVirus/antivirus_install.sh
Regards and thanks for answer
Niki
-
Nikki40
I use assp as my spam / mail virus solution since a year, with excellent results (beter than spam assassin IMHO)
stops spam before reaching your server or using your bandwith
You can check it at http://assp.sourceforge.net
there was an sme install script contrib, dont remember where... (maybe a search)
Just a excellent piece of software. (again IMHO)
-
Cron <root@server> /usr/bin/antivirus-stats.pl
ERROR: Date::Manip unable to determine TimeZone.
Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/antivirus-stats.pl line 231
main::parse_arg('yesterday', '') called at /usr/bin/antivirus-stats.pl line 81
Cron <root@server> /usr/bin/spamfilter-stats.pl
ERROR: Date::Manip unable to determine TimeZone.
Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/spamfilter-stats.pl line 317
main::parse_arg('yesterday', '') called at /usr/bin/spamfilter-stats.pl line 96
Have the same problem
My maillog
Jan 21 03:22:57 server spamd[2552]: clean message (0.5/5.0) for qmailq:404 in 16.1
seconds, 37365 bytes.
Jan 21 03:22:57 server spamd[2552]: result: . 0 - FROM_ENDS_IN_NUMS scantime=16.1,
size=37365,mid=<20050120165439.55399.qmail@web52406.mail.yahoo.com>,autolearn=no
Jan 21 03:26:07 server fetchmail[28563]: SMTP error: 451 postmaster@localhost
Jan 21 03:26:07 server fetchmail[28563]: can't even send to postmaster!
Jan 21 05:36:07 server fetchmail[30924]: SMTP error: 451 postmaster@localhost
Jan 21 05:36:07 server fetchmail[30924]: can't even send to postmaster!
Jan 21 06:01:08 server fetchmail[5171]: SMTP error: 451 postmaster@localhost
Jan 21 06:01:08 server fetchmail[5171]: can't even send to postmaster!
Jan 21 10:36:06 server fetchmail[12845]: SMTP error: 451 postmaster@localhost
Jan 21 10:36:06 server fetchmail[12845]: can't even send to postmaster!
Jan 21 10:41:07 server fetchmail[14153]: SMTP error: 451 postmaster@localhost
Jan 21 10:41:07 server fetchmail[14153]: can't even send to postmaster!
Jan 21 10:41:07 server fetchmail[14153]: SMTP error: 451 postmaster@localhost
Jan 21 10:41:07 server fetchmail[14153]: can't even send to postmaster!
Jan 21 10:51:36 server spamd[2156]: server hit by SIGCHLD
Jan 21 10:51:36 server spamd[2156]: handled cleanup of child pid 2556
Jan 21 10:51:36 server spamd[2156]: handled cleanup of child pid 2555
I have add this also and lost all my email !!!
But it seems no one has the answer, where is the contributor???
-
Cron <root@server> /usr/bin/antivirus-stats.pl
ERROR: Date::Manip unable to determine TimeZone.
Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/antivirus-stats.pl line 231
main::parse_arg('yesterday', '') called at /usr/bin/antivirus-stats.pl line 81
Cron <root@server> /usr/bin/spamfilter-stats.pl
ERROR: Date::Manip unable to determine TimeZone.
Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/spamfilter-stats.pl line 317
main::parse_arg('yesterday', '') called at /usr/bin/spamfilter-stats.pl line 96
It looks that Date::Manip is unable to determine the Time Zone of the computer it's install, so it cannot calculate today's date!
I have tried setting the timezone:
ex: Date_Init("TZ=CDT");
Does anyone knows where the sme timezone is stored?
-
It looks that Date::Manip is unable to determine the Time Zone of the computer it's install, so it cannot calculate today's date!
I have tried setting the timezone:
ex: Date_Init("TZ=CDT");
Does anyone knows where the sme timezone is stored?
Found the solution: in usr/bin/spamfilter-stats.pl
and /usr/bin/antivirus-stats.pl add the following lines at the end of the configuration section.
$opt{'timezone'} = date +%Z;
Date_Init("TZ=$opt{'timezone'}");
Cheers
-
I have updated the sme-antivirus package til fix this issue. Upgrade via:
http://sme.swerts-knudsen.dk/howtos/howto_22.htm
-
Hello everyone
I have same problem as HAJ and I´m on Brasil (timezone=BRT).
Using HAJ tips:
"
Found the solution: in usr/bin/spamfilter-stats.pl
and /usr/bin/antivirus-stats.pl add the following lines at the end of the configuration section.
$opt{'timezone'} = date +%Z;
Date_Init("TZ=$opt{'timezone'}");
"
I have tried put those lines on antivirus AND spamfilter -stats.pl files.
My server was reinstalled 2 weekend ago so all files were updated... but just my antivirus-stats.pl file had those 2 lines.
Even with those lines the script do not run ok.
So I decided to give a HARD try: started Date_Init with CDT value (don´t know WHERE is CDT timezone... but I don´t care! :) )
A few seconds after manually run the script I got an e-mail with this on first lines:
Period Beginning : Mon 28 Mar 2005 09:45:08 AM BRT
Period Ending : Tue 29 Mar 2005 09:45:08 AM BRT
So I don´t know WHY this is working but appears to be working!!
Can someone explain ? Thanks
-
I have installed Anti V and Spam from the scripts at Jesper's site and I am not having any joy at all getting it going. If I scan outward mail, the server wont accept mail from the client.
The scripts seemed to run smoothly.
Tha amavis log is empty. I am not sure where to go next. Any suggestions welcolme
It is a freshly installed server V6.0.1
-
A bit more - when installing the spam filter it hates this line:
/sbin/e-smith/db spamassassin_V3 set wbl.global $spamwbl
-
I fixed this - the permissions on var/log/amavis_ng.log were wrong. Dont know if it was just my system or script bug. Given I could find little in the lists, I suspect my system.