MailScanner installation questions

Hongwei Li hongwei at morpheus.wustl.edu
Mon Sep 15 15:18:03 IST 2003


Hello,

I just installed MailScanner 4.23-11 on our RedHat 7.3 Linux system that
uses sendmail-8.11.6-25.73.    Following the instruction, I installed
MailScanner, configured it, then started it as follows:

# service sendmail stop
# chkconfig sendmail off
# chkconfig --level 2345 sendmail off
#
# chkconfig MailScanner on
# chkconfig --level 2345 MailScanner on
# service MailScanner start
#

However, after MailScanner started, we have trouble with pop3 server
function.  None of Outlook, Outlook Express, Netscape mail, Eudora users
are able to send mails out although they can read mails.  If using pine,
then no problems at all.

Checking the processes, I got:

# ps xa | grep Mail
 4920 ?        S      0:00 /usr/bin/perl -I/usr/lib/MailScanner
/usr/sbin/MailSc
 4924 ?        Z      0:00 [MailScanner <defunct>]
 4933 ?        Z      0:00 [MailScanner <defunct>]
 4934 ?        Z      0:00 [MailScanner <defunct>]
[root at morpheus root]# ps xa | grep sendmail
 4893 ?        S      0:00 sendmail: accepting connections
 4902 ?        S      0:00 /usr/sbin/sendmail -q15m -OPidFile
/var/run/sendmail.


So, I have the following questions:

1. Should I change anything in sendmail setting or MailScanner so that
pop3 users can read/send mails as usually?

2. What does [MailScanner <defunct>] mean? something wrong?

3. The file mqueue has the property as:
# ls -ld /var/spool/mqueue
drwxr-xr-x    2 root     mail         4096 Sep  5 13:10 /var/spool/mqueue

so, I created mqueue.in the same:
# ls -ld /var/spool/mqueue.in
drwxr-xr-x    2 root     mail         4096 Sep  5 09:39 /var/spool/mqueue.in

However, the configuration file /etc/MailScanner/MailScanner.conf has the
options:

Run As User = mail
Run As Group = mail

Will that cause any problem? shoul I change the options?

4. I want to ues clamav with mailscanner.  Do I need to start daemon for
clamav?

5. I have installed SpamAssassin before, and set up it as per-user level
(not system-wide, no daemon for it).   To use MailScanner with
SpamAssassin, do I need to change any setting for SpamAssassin? do I need
to start daemon for spammassassin?  do I need to change any of the
following settings in MailScanner.conf :

Use SpamAssassin = no
SpamAssassin User State Dir =
SpamAssassin Install Prefix =
SpamAssassin Local Rules Dir =
SpamAssassin Default Rules Dir =

6. If everything is setupcorrect, how to check if MailScanner and ClamAV
are working properly?

Thanks a lot!

Hongwei



More information about the MailScanner mailing list