Spamassasin timing Out

Julian Field mailscanner at ecs.soton.ac.uk
Fri Jan 10 13:51:37 GMT 2003


At 11:41 10/01/2003, you wrote:
>syslog below, nowt interesting
>Just though yesterday I ran these home-made command to wipe out frozen and
>bounces stuck in outgoing queue
>exim -C/etc/exim/exim_outgoing.conf -Mrm $(mailq
>-C/etc/exim/exim_outgoing.conf | grep '<>' | cut -c11-27)
>exim -C/etc/exim/exim_outgoing.conf -Mrm $(mailq
>-C/etc/exim/exim_outgoing.conf | grep '*** frozen' | cut -c11-27)
>perhaps this may have had an effect?
>
>Jan 10 10:23:01 uadspa01 /USR/SBIN/CRON[13362]: (mail) CMD (  if [ -x
>/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)

That looks wrong. Surely you are trying to run the outgoing queue, not the
mqueue.in?
In that case you presumably need the "-C/etc/exim/exim_outgoing.conf"
option in your cron job.

It may well also be the cause of the number of messages in your incoming
queue to go shooting upwards.

 From the fact that the PID is the same on all of these log entries,
MailScanner is not crashing and restarting or anything like that. It really
does think there are over 100 messages in the incoming queue. The number of
bytes in each batch changes as well, so it is not rescanning exactly the
same 100 messages over and over again.

>Jan 10 10:30:01 uadspa01 mailscanner[4527]: Scanned 53 messages, 454720
>bytes in 3 seconds
>Jan 10 10:30:03 uadspa01 mailscanner[4527]: Scanning 100 messages, 1769779
>bytes
>Jan 10 10:38:01 uadspa01 /USR/SBIN/CRON[14378]: (mail) CMD (  if [ -x
>/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)
>Jan 10 10:46:26 uadspa01 mailscanner[4527]: Scanned 100 messages, 1769779
>bytes in 7 seconds
>Jan 10 10:46:33 uadspa01 mailscanner[4527]: Scanning 100 messages, 1097136
>bytes
>Jan 10 10:53:01 uadspa01 /USR/SBIN/CRON[15834]: (mail) CMD (  if [ -x
>/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)
>Jan 10 11:00:01 uadspa01 /USR/SBIN/CRON[16467]: (root) CMD ([ -f $LOCKFILE ]
>&& exit 0; run_mailscanner=0; if [ -f /etc/default/mailscanner ]; then .
>/etc/default/mailscanner; fi; [ $run_mailscanner = 0 ] && exit 0; trap "rm
>-f $LOCKFILE" EXIT; touch $LOCKFILE; /usr/sbin/check_mailscanner >/dev/null
>2>&1; exit 0)
>Jan 10 11:02:44 uadspa01 mailscanner[4527]: Scanned 100 messages, 1097136
>bytes in 7 seconds
>Jan 10 11:02:52 uadspa01 mailscanner[4527]: Scanning 100 messages, 814068
>bytes
>Jan 10 11:08:01 uadspa01 /USR/SBIN/CRON[17450]: (mail) CMD (  if [ -x
>/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)
>Jan 10 11:19:34 uadspa01 mailscanner[4527]: Scanned 100 messages, 814068
>bytes in 6 seconds
>Jan 10 11:19:41 uadspa01 mailscanner[4527]: Scanning 100 messages, 2725204
>bytes
>Jan 10 11:23:01 uadspa01 /USR/SBIN/CRON[19029]: (mail) CMD (  if [ -x
>/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)
>
>-----Original Message-----
>From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
>Sent: 10, January, 2003 11:23
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Spamassasin timing Out
>
>
>At 11:17 10/01/2003, you wrote:
> >Spoke to soon, mailq now lists 300 messages that have been sitting their
> >some for 40 minutes...
> >It looks like it just keeps scanning and scanning the same messages
>
>Anything in the logs?
>If not, we'll have to do a bit of off-list debugging.
>
> >It was working, honest :(
> >
> >-----Original Message-----
> >From: Jason Cormie [mailto:j.cormie at ABERTAY.AC.UK]
> >Sent: 10, January, 2003 10:31
> >To: MAILSCANNER at JISCMAIL.AC.UK
> >Subject: Re: Spamassasin timing Out
> >
> >
> >Only RBL I use is janets and thats on Exim
> >I see if I can dig up my installation notes...
> >
> >vim /etc/mailscanner/mailscanner.conf
> >Host Name = Abertay Mailscanner 1
> >Virus Scanner = mcafee
> >Sweep = /etc/mailscanner/wrapper/mcafeewrapper
> >Attachment Warning Filename = alert.txt
> >Expand TNEF = no
> >Notify Senders = no
> >Local Postmaster = uadspa01 at abertay.ac.uk
> >Still Deliver Quietly Deleted Viruses = no
> >Allow Iframe Tags = yes
> >SpamAssassin Auto Whitelist = no
> >Always Include SpamAssassin Report = yes
> >High SpamAssassin Score = 15
> >High Scoring Spam Action = delete
> >add a # in front of Spam List = ORDB-RBL, relays.ordb.org
> >
> >
> >vim /etc/mailscanner/spamassassin.prefs.conf
> >required_hits           10
> >skip_rbl_checks         1
> >
> >
> >
> >-----Original Message-----
> >From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> >Sent: 10, January, 2003 10:05
> >To: MAILSCANNER at JISCMAIL.AC.UK
> >Subject: Re: Spamassasin timing Out
> >
> >
> >At 09:55 10/01/2003, you wrote:
> > >Strange but True...
> > >
> > >Started up mailscanner this morning using Spamassassin...
> > >
> > >And now it works...
> >
> >Dodgy RBL's being used by SpamAssassin?
>
>--
>Julian Field
>www.MailScanner.info
>MailScanner thanks transtec Computers for their support

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list