Help: SpamAssassin timed out and was killed

Julian Field mailscanner at ecs.soton.ac.uk
Fri Dec 6 11:54:51 GMT 2002


I suspect one of the RBL checks it does is taking too long. Have you tried
increasing the SA timeout value (currently 10 seconds)?

At 10:31 06/12/2002, you wrote:
>SpamAssassin has timed out for every message sent to my test box this
>morning...
>I have it set to do no RBL checks, but do have razor installed.
>
>Debian
>Exim3.35-1/stable
>Mailscanner3.26.1-1/testing
>SpamAssassin2.43-1/testing
>razor1.20-1/testing
>
>tail of syslog after I rebooted (old windows habits die hard) and tried to
>send a message through it
>Dec  6 10:08:55 uadspa01 mailscanner[182]: Using locktype = posix
>Dec  6 10:08:55 uadspa01 mailscanner[182]: Creating hardcoded struct_flock
>subroutine for linux (Linux-type)
>Dec  6 10:08:55 uadspa01 mailscanner[184]: ECS MailScanner setting GID to
>mail (8)
>Dec  6 10:08:55 uadspa01 mailscanner[184]: ECS MailScanner setting UID to
>mail (8)
>Dec  6 10:08:55 uadspa01 /usr/sbin/cron[191]: (CRON) INFO (pidfile fd = 3)
>Dec  6 10:08:55 uadspa01 /usr/sbin/cron[192]: (CRON) STARTUP (fork ok)
>Dec  6 10:08:55 uadspa01 /usr/sbin/cron[192]: (CRON) INFO (Running @reboot
>jobs)
>Dec  6 10:09:30 uadspa01 mailscanner[184]: Scanning 1 messages, 3281 bytes
>Dec  6 10:09:40 uadspa01 mailscanner[184]: SpamAssassin timed out and was
>killed, consecutive failure 1 of 10
>Dec  6 10:09:48 uadspa01 mailscanner[184]: Scanned 1 messages, 3281 bytes in
>3 seconds
>
>mailscanner.conf (stripped of comments)
>Run As User = mail
>Run As Group = mail
>Max Safe   Messages Per Scan = 500
>Max Unsafe Messages Per Scan = 100
>Max Safe   Bytes Per Scan = 100000000
>Max Unsafe Bytes Per Scan = 50000000
>Host name          = Abertay Mailscanner 1
>Mail Header = X-MailScanner:
>Clean Header       = Found to be clean
>Infected Header    = Found to be infected
>Disinfected Header = Disinfected
>Incoming Work Dir  = /var/spool/mailscanner/incoming
>Quarantine Dir     = /var/spool/mailscanner/quarantine
>Pid File           = /var/run/mailscanner/mailscanner.pid
>Filename Rules     = /etc/mailscanner/filename.rules.conf
>Log Permitted Filenames = no
>Stored Virus Message Report  = /etc/mailscanner/stored.virus.message.txt
>Stored Bad Filename Message Report  =
>/etc/mailscanner/stored.filename.message.txt
>Deleted Virus Message Report = /etc/mailscanner/deleted.virus.message.txt
>Deleted Bad Filename Message Report =
>/etc/mailscanner/deleted.filename.message.txt
>Disinfected Report = /etc/mailscanner/disinfected.report.txt
>Hide Incoming Work Dir = yes
>Incoming Queue Dir = /var/spool/exim_incoming/input
>Outgoing Queue Dir = /var/spool/exim/input
>MTA                = exim
>Sendmail           = /usr/sbin/exim
>Sendmail2          = /usr/sbin/exim -C /etc/exim/exim_outgoing.conf
>Log Facility = mail
>Virus Scanning     = yes
>Virus Scanner = mcafee
>Sweep = /etc/mailscanner/wrapper/mcafeewrapper
>Virus Scanner Timeout = 300
>Expand TNEF        = no
>TNEF Expander      = /usr/bin/tnef --maxsize=100000000
>TNEF Timeout       = 120
>Attachment Warning Filename = VirusWarning.txt
>Warning Is Attachment = yes
>Scan All Messages = yes
>Deliver To Recipients = yes
>Virus Modify Subject = yes
>Virus Subject Text = {VIRUS?}
>Deliver From Local Domains = yes
>Notify Senders = no
>Sender Virus Report        = /etc/mailscanner/sender.virus.report.txt
>Sender Bad Filename Report = /etc/mailscanner/sender.filename.report.txt
>Sender Error Report        = /etc/mailscanner/sender.error.report.txt
>Notify Local Postmaster = yes
>Postmaster Gets Full Headers = no
>Local Postmaster = uadspa01 at abertay.ac.uk
>Action = keep
>Quarantine Whole Message = no
>Deliver Disinfected Files = yes
>Local Domains = tay.ac.uk
>Still Deliver Quietly Deleted Viruses = no
>Allow IFrame Tags = yes
>Allow Object Codebase Tags = no
>Mark Infected Messages = yes
>Inline Text Warning = Warning: This message has had one or more attachments
>removed.
>Inline Text Warning = Warning: Please read the "VirusWarning.txt"
>attachment(s) for more information.
>Inline HTML Warning = <P><B><FONT SIZE="+1" COLOR="red">Warning: </FONT>This
>message has had one or more attachments removed. Please read the
>"VirusWarning.txt" attachment(s) for more information.</B><BR></P>
>Sign Clean Messages = no
>Inline Text Signature = --
>Inline Text Signature = This message has been scanned for viruses and
>Inline Text Signature = dangerous content by MailScanner, and is
>Inline Text Signature = believed to be clean.
>Inline HTML Signature = <BR>--
>Inline HTML Signature = <BR>This message has been scanned for viruses and
>Inline HTML Signature = <BR>dangerous content by
>Inline HTML Signature = <A
>HREF="http://www.mailscanner.info/"><B>MailScanner</B></A>,
>Inline HTML Signature = and is<BR>believed to be clean.
>Sign Messages Already Processed = no
>Archive Mail = no
>Archive Mail Dir = /var/spool/mailscanner/archive
>Scanning By Domain = no
>Domains To Scan = /etc/mailscanner/domains.to.scan.conf
>Sign Unscanned Messages = yes
>Unscanned Header = not scanned: please contact your email provider for
>details
>Spam Checks = yes
>Spam Header = X-MailScanner-SpamCheck:
>Spam Modify Subject = yes
>Spam Subject Text = {SPAM?}
>Spam Action = deliver
>Log Spam = no
>Use SpamAssassin = yes
>Max SpamAssassin Size = 50000
>SpamAssassin Timeout = 10
>Max SpamAssassin Timeouts = 10
>SpamAssassin Prefs File = /etc/mailscanner/spam.assassin.prefs.conf
>SpamAssassin Auto Whitelist = no
>Compile SpamAssassin Once = no
>Always Include SpamAssassin Report = yes
>High SpamAssassin Score = 20
>High Scoring Spam Action = delete
>Spam List Timeout = 15
>Max Spam List Timeouts = 7
>Debug = 0
>Delivery Method = batch
>Lock File Dir = /tmp
>Multiple Headers = append
>Deliver Unparsable TNEF = no
>Deliver In Background = yes
>Minimum Code Status = supported
>
>Jason D Cormie
>Information Services
>University of Abertay Dundee

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



More information about the MailScanner mailing list