HowTo: MailScanner 4.24 for Exim 4.24

Could sound verry noobisch, but where to grab?

... hmm... Allready got APT :)
Did not know RH9 was that easy :)
 
Last edited:
I'll get:

[root@server1 run]# service MailScanner start
Starting MailScanner daemons:
incoming exim: [ OK ]
outgoing exim: [ 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 ]
*update
I think I miss a perl module?
*update
I'm not that good with linux. could anybody PLEASE help me :rolleyes: ?
And yes, I know what module I need and yes I know what it does and why it is needed.

*update
I'm still bussy with it... I found the thing I need and I tried to install it, but I get:
++++++++++++++++++++++
[root@am-alia Archive-Zip-1.10]# perl Makefile.PL

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

++++++++++++++++++++++

What would be the solution?
 
Last edited:
why do i need mailscanner and spamassassin and clamav?
don't they both do spam filtering? SA and MS?

and MS does virus filtering, and so does Clamav?
 
After installation of Clamav and MailScanner following the instructions on this post... When I run it, I get below. I do killall exim and killall MailScanner and restart it, but the same comes up.

20452 ? S 0:00 [httpd]
21700 ? S 0:00 [exim]
21701 ? S 0:00 [exim]
21745 ? S 0:00 [exim]
21757 ? S 0:00 [exim]
21761 ? S 0:00 [exim]
21830 ? S 0:00 [MailScanner]
21831 ? Z 0:00 [MailScanner <defunct>]
21843 ? S 0:00 [exim]
21844 ? S 0:00 [exim]
21846 ? Z 0:00 [MailScanner <defunct>]
21862 ? S 0:00 [exim]
21863 ? S 0:00 [exim]
21865 ? Z 0:00 [MailScanner <defunct>]
21868 pts/0 R 0:00 ps axw

Any idea why ??

Also, in exim.conf, when I add below
spool_directory = /var/spool/exim.in
queue_only = true
queue_only_override = false
log_file_path = /var/spool/exim/msglog/%slog

All emails sent and received disappeared - not delivered or received.
 
Thanks for the great how-to....installed w/out a hitch on my Fedora Core 2 box.

One tip I would add - mailscanner installs a file in cron.daily called clean.quarantine, which will automatically delete files from the quarantine at an interval you define. Very helpful. Otherwise, you could have thousands of mails pile up o a busy server.

To activate:
#Pico /etc/cron.daily/clean.quarantine

Change "$disable = 1;" to "$disable = 0;"

Change the number of days to keep the messages if you wish, default is 30.

ctrl-x, Y and your good to go.
 
ret said:
why do i need mailscanner and spamassassin and clamav?
don't they both do spam filtering? SA and MS?

and MS does virus filtering, and so does Clamav?
NO no no no no

If you don't know what they do then go and read the manual.
 
itman21 said:
After installation of Clamav and MailScanner following the instructions on this post... When I run it, I get below. I do killall exim and killall MailScanner and restart it, but the same comes up.


21830 ? S 0:00 [MailScanner]
21831 ? Z 0:00 [MailScanner <defunct>]
21843 ? S 0:00 [exim]
21844 ? S 0:00 [exim]
21846 ? Z 0:00 [MailScanner <defunct>]
21862 ? S 0:00 [exim]
21863 ? S 0:00 [exim]
21865 ? Z 0:00 [MailScanner <defunct>]
21868 pts/0 R 0:00 ps axw

Any idea why ??
That's normal, so I wouldn't worry about it.
 
Updated mail scanner instructions:

# tar -zxvf MailScanner-4.28.6-1.rpm.tar.gz
# cd MailScanner-4.28.6-1
# ./Update-MakeMaker.sh
# ./install.sh
# chown -R mail:mail /var/spool/MailScanner
 
FarCry said:
well, we are mostly redhat users here :) that rpm is for RH9/Fedora/RHE
Maybe, but it's a direct link to an rpm, which may be the latest today, but won't be in the future.
 
how the mailscanner and exim work.

when server received mail, which folder i will goto to store the mail (/var/spool/exim.in/input) and after it process by mailscanner then when it will store the mail. after that when server need to sent out the mail, where it will store before sending out to other server.

try to figure out. :confused:
 
Hello,

I'm installing MailScanner, ClamAV... And now i'm not receiving and posting any mail... My /var/spool/exim/msglog/mainlog file :

2004-07-14 14:48:05 exim 4.24 daemon started: pid=4969, no queue runs, listening for SMTP on port 25 (IPv4)
2004-07-14 14:48:05 exim 4.24 daemon started: pid=4972, -q15m, not listening for SMTP
2004-07-14 14:48:05 Start queue run: pid=4973
2004-07-14 14:48:05 End queue run: pid=4973

What is a problem ?

When i'm starting a MailScanner service it's ok for all. Please help. Thanks.
 
Upgrade SpamAssassin to v2.63

i have successfully install but i need to upgrade to v2.63 of SpamAssassin to get rid of "FORGED_MUA_OUTLOOK" that score 3.48 in SpamAssassin, so almost all the email that sent almost reach as spam.

did anybody know how to do this. looking for very clear instruction to do this.
 
I had the same problem as: WebrulerHosting

and I installed the perl module Archive-Zip and the errors were gone :)
 
Last edited:
Back
Top