MailScanner-4.28.5-1
Erik Jakobsen
eja at URBAKKEN.DK
Fri Mar 5 14:43:33 GMT 2004
On Fri, 5 Mar 2004 14:18:59 +0000, Julian Field
<mailscanner at ECS.SOTON.AC.UK> wrote:
>All fixed in 4.28.5-2.
Sorry, but something is still not working :-):
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for Archive::Zip
+ make 'OPTIMIZE=-O2 -g -march=i386 -mcpu=i686'
Makefile:87: *** missing separator. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.45804 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.45804 (%build)
Missing
file /usr/src/redhat/RPMS/noarch/perl-Archive-Zip-1.09-2.noarch.rpm.
Maybe it did not build correctly?
Installing tnef decoder
Preparing... ###########################################
[100%]
package tnef-1.1.4-sizelimit1 is already installed
Now to install MailScanner itself.
Preparing... ###########################################
[100%]
1:mailscanner ###########################################
[100%]
error reading information on service sendmail: No such file or directory
To activate MailScanner run the following commands:
service sendmail stop
chkconfig sendmail off
chkconfig --level 2345 MailScanner on
service MailScanner start
To upgrade your MailScanner.conf file automatically, run
upgrade_MailScanner_conf
[root at gateway MailScanner-4.28.5-2]# cd /etc/MailScanner/
[root at gateway MailScanner]# upgrade_MailScanner_conf
Usage:
RPM
===
If you are using the RPM distributions then try this:
cd /etc/MailScanner
upgrade_MailScanner_conf MailScanner.conf MailScanner.conf.rpmnew >
MailScanner.new
mv MailScanner.conf MailScanner.old
mv MailScanner.new MailScanner.conf
TAR
===
If you are using the tar distribution so that the old version is in
/opt/MailScanner and the new one is in /opt/MailScanner.new then:
cd /opt/MailScanner.new/etc
../bin/upgrade_MailScanner_conf /opt/MailScanner/etc/MailScanner.conf /opt/MailScanner.new/etc/MailScanner.conf
> MailScanner.new
mv MailScanner.conf MailScanner.old
mv MailScanner.new MailScanner.conf
NOTE
====
To keep your old comments in your original file, add "--keep-comments"
to the command line. Note that this will mean you don't get to find
out any extra new values you might be able to use in existing "improved"
configuration options.
[root at gateway MailScanner]# upgrade_MailScanner_conf MailScanner.conf
MailScanner.conf.rpmnew > MailScanner.new
Summary
-------
Read 190 settings from old MailScanner.conf
Used 190 settings from old MailScanner.conf
Used 0 default settings from new MailScanner.conf.rpmnew
Notes
-----
I would advise you to check on any parameters which are different between
the default new conf file and the conf file you just created, so that you
find any parameters whose default values have changed.
If you ran this with a command like this
upgrade_MailScanner_conf MailScanner.conf MailScanner.conf.rpmnew >
MailScanner.new
then you should do
diff MailScanner.conf.rpmnew MailScanner.new
and check for any differences in values you have not changed yourself.
Once you have checked that MailScanner.new contains what
you want, you can then save your old one and move the new
one into place, using commands like these:
mv -f MailScanner.conf MailScanner.old
mv -f MailScanner.new MailScanner.conf
[root at gateway MailScanner]# mv -f MailScanner.conf MailScanner.old
[root at gateway MailScanner]# mv -f MailScanner.new MailScanner.conf
[root at gateway MailScanner]# service MailScanner restart
Shutting down MailScanner daemons:
MailScanner: [FAILED]
incoming postfix: [ OK ]
outgoing postfix: [ OK ]
Starting MailScanner daemons:
incoming postfix: [ OK ]
outgoing postfix: [ OK ]
MailScanner: Can't locate Archive/Zip.pm in @INC (@INC
contains: /usr/lib/MailScanner /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/lib/MailScanner)
at /usr/lib/MailScanner/MailScanner/Message.pm line 46.
BEGIN failed--compilation aborted
at /usr/lib/MailScanner/MailScanner/Message.pm line 46.
Compilation failed in require at /usr/sbin/MailScanner line 52.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 52.
[ OK ]
[root at gateway MailScanner]# service MailScanner start
Starting MailScanner daemons:
incoming postfix: [ OK ]
outgoing postfix: [ OK ]
MailScanner: Can't locate Archive/Zip.pm in @INC (@INC
contains: /usr/lib/MailScanner /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/lib/MailScanner)
at /usr/lib/MailScanner/MailScanner/Message.pm line 46.
BEGIN failed--compilation aborted
at /usr/lib/MailScanner/MailScanner/Message.pm line 46.
Compilation failed in require at /usr/sbin/MailScanner line 52.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 52.
[ OK ]
More information about the MailScanner
mailing list