Trying to get MailScanner v4.22-5 to forward messages
Christopher Lyon
cslyon at netsvcs.com
Fri Aug 8 18:16:18 IST 2003
Here it the output from the maillog:
Aug 8 10:08:37 smtp3 MailScanner[21213]: MailScanner E-Mail Virus
Scanner version 4.22-5 starting...
Aug 8 10:08:37 smtp3 MailScanner[21213]: Error in line 1124 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin User
State Dir twice! Error in line 1125 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin Install
Prefix twice! Error in line 1126 of /etc/MailScanner/MailScanner.conf,
setting value of SpamAssassin Local Rules Dir twice! Error in line 1127
of /etc/MailScanner/MailScanner.conf, setting value of SpamAssassin
Default Rules Dir twice! Error in line 1128 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin User
State Dir twice! Error in line 1129 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin Install
Prefix twice! Error in line 1130 of /etc/MailScanner/MailScanner.conf,
setting value of SpamAssassin Local Rules Dir twice! Error in line 1131
of /etc/MailScanner/MailScanner.conf, setting value of SpamAssassin
Default Rules Dir twice! Error in line 1132 of
/etc/MailScanner/MailScanner.conf, setting value of Spam Domain List
twice! Can't continue proce
Aug 8 10:08:47 smtp3 MailScanner[21216]: MailScanner E-Mail Virus
Scanner version 4.22-5 starting...
Aug 8 10:08:47 smtp3 MailScanner[21216]: Error in line 1124 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin User
State Dir twice! Error in line 1125 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin Install
Prefix twice! Error in line 1126 of /etc/MailScanner/MailScanner.conf,
setting value of SpamAssassin Local Rules Dir twice! Error in line 1127
of /etc/MailScanner/MailScanner.conf, setting value of SpamAssassin
Default Rules Dir twice! Error in line 1128 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin User
State Dir twice! Error in line 1129 of
/etc/MailScanner/MailScanner.conf, setting value of SpamAssassin Install
Prefix twice! Error in line 1130 of /etc/MailScanner/MailScanner.conf,
setting value of SpamAssassin Local Rules Dir twice! Error in line 1131
of /etc/MailScanner/MailScanner.conf, setting value of SpamAssassin
Default Rules Dir twice! Error in line 1132 of
/etc/MailScanner/MailScanner.conf, setting value of Spam Domain List
twice! Can't continue proce
That might explain why the MailScanner is "defunk"
Here is the ps ax:
PID TTY STAT TIME COMMAND
1 ? S 0:03 init
2 ? SW 0:00 [keventd]
3 ? SW 0:00 [kapmd]
4 ? SWN 0:00 [ksoftirqd_CPU0]
9 ? SW 0:00 [bdflush]
5 ? SW 0:00 [kswapd]
6 ? SW 0:00 [kscand/DMA]
7 ? SW 0:00 [kscand/Normal]
8 ? SW 0:00 [kscand/HighMem]
10 ? SW 0:00 [kupdated]
11 ? SW 0:00 [mdrecoveryd]
15 ? SW 0:00 [kjournald]
73 ? SW 0:00 [khubd]
865 ? SW 0:00 [kjournald]
1996 ? S 0:00 syslogd -m 0
2000 ? S 0:00 klogd -x
2018 ? S 0:00 portmap
2037 ? S 0:00 rpc.statd
2073 ? S 0:00 /usr/local/affant/sbin/snmpd
2124 ? S 0:00 /usr/sbin/sshd
2138 ? S 0:00 xinetd -stayalive -reuse -pidfile
/var/run/xinetd.pid
2164 ? SL 0:00 /usr/local/affant/bin/ntpd -c /etc/ntp.conf
2227 ? S 0:00 gpm -t imps2 -m /dev/mouse
2236 ? S 0:00 crond
2251 ? S 0:00 /usr/bin/perl /usr/local/affant/bin/swatch
--tail-file=/var/log/messages --config-file=/etc/affant/ip
2256 ? S 0:00 /usr/bin/perl //.swatch_script.2251
2257 ? S 0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl
/etc/webmin/miniserv.conf
2260 tty1 S 0:00 /sbin/mingetty tty1
2261 tty2 S 0:00 /sbin/mingetty tty2
2262 tty3 S 0:00 /sbin/mingetty tty3
2263 tty4 S 0:00 /sbin/mingetty tty4
2264 tty5 S 0:00 /sbin/mingetty tty5
2265 tty6 S 0:00 /sbin/mingetty tty6
2266 ttyS0 S 0:00 /sbin/agetty -L 9600 ttyS0 vt102
2268 ? S 0:00 /usr/bin/tail -n 1 -f /var/log/messages
20912 ? S 0:00 /usr/sbin/sshd
20915 ? S 0:00 /usr/sbin/sshd
20916 pts/0 S 0:00 -bash
20950 pts/0 S 0:00 su
20951 pts/0 S 0:00 bash
21115 ? S 0:00 sendmail: accepting connections
21120 ? S 0:00 sendmail: Queue runner at 00:15:00 for
/var/spool/clientmqueue
21126 ? S 0:00 sendmail: Queue runner at 00:15:00 for
/var/spool/mqueue
21144 ? S 0:00 /usr/bin/perl -I/usr/lib/MailScanner
/usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
21145 ? Z 0:00 [MailScanner <defunct>]
21149 pts/0 R 0:00 ps ax
> -----Original Message-----
> From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> Sent: Friday, August 08, 2003 6:15 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Trying to get MailScanner v4.22-5 to forward messages
>
> At 22:42 07/08/2003, you wrote:
> > > > >
> > > > > >
> > > > > > Also, try doing a "sendmail -bv
> > > >one.of.your.addresses at yourdomain.com" to
> > > > > > see how sendmail thinks it will try to deliver a message to
one
> >of
> > > >your
> > > > > > users.
> > > > >
> > > > Here is the command and the output.
> > > >
> > > > ./sendmail -bv cslyon at netsvcs.com
> > > > cslyon at netsvcs.com... deliverable: mailer esmtp, host
netsvcs.com.,
> > > >user
> > > > cslyon at netsvcs.com
> > >
> > > What sort of setup are you using to run MailScanner? The one I
suggest
> >in
> > > the FAQ involving using your firewall to block incoming access to
your
> > > primary MX, and running MailScanner on a secondary MX? Or else
what?
> >
> >I want to have MailScanner scan all incoming mail for spam and viri
> >content and forward it over to my production mail server which is
> >exchange. Mail scanner is opened from the outside on port 25 and I
can
> >telnet to it on port 25. I see the mail coming into the box and it
sits
> >in the /var/spool/mqueue.in directory. So, I know that is working.
The
> >MX records are pointed just as you have stated above?
>
> Please do a "ps ax" and send me the output.
> Also, what does your maillog have to say about MailScanner?
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list