run 'export LANG=en_US' example script: #!/bin/bash #print out today's maillog export LANG=en_US /usr/local/bin/pflogsumm.pl -d today -h 15 /var/log/maillog
Kevin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bill Landry Sent: Wednesday, December 03, 2003 9:28 PM To: [EMAIL PROTECTED] Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing data I am running Postfix on three RedHat 9 servers and have experienced the "0" numbers with pflogsumm reports when I did not have Date::Calc installed. I've always compiled the perl modules from source or installed them from CPAN, but have not tried installing them from RPM yet. Bill ----- Original Message ----- From: "Craig Isdahl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 5:50 PM Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing data Ok, I'll expand a little more... # rpm -qa | grep perl perl-5.8.0-88.3 perl-CGI-2.81-88.3 perl-Date-Calc-5.3-3 perl-File-MMagic-1.16-3 perl-Filter-1.29-3 perl-Bit-Vector-6.1-33 perl-Date-Calc-5.3-3 and perl-File-MMagic-1.16-3 were installed using apt-get install. apt-get update and apt-get upgrade were also run on the box. No errors just zeros. Any other suggestions as I'm learning postfix (which is formidable to say the least - I know I know, much easier than sendmail) and have much to learn :) Anybody else running RH9 experience this. If not, did you install Date-Calc rpms or source? Thanks! Craig -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Len Conrad Sent: Wednesday, December 03, 2003 19:21 To: [EMAIL PROTECTED] Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing data >Did you install Date::Calc? not having a moduel is fatal, but the PERL runtime fails, announcing is can't find that module. Once or twice, I've installed IMGate on Linux boxes that showed exactly his problem. pflogsumm runs, showing nothing but goose eggs. I spent a lot of time trying to get it to work, but in the end, I told the client that his Linux was broken. :)) He did something, I forget what, to get it working. He was using RPM's, and IIRC, he randomly downloaded RPMs of pflogsumm and various modules until he started getting numbers. Len
