extreamly long delays

Julian Field mailscanner at ecs.soton.ac.uk
Thu Jul 4 15:59:01 IST 2002


At 15:37 04/07/2002, you wrote:
>I'm having a problem similar to this.  I keep getting 'Spamassassin timed
>out and was killed.'  I bumped the timeout time for scanning the messages
>from 10 seconds to 30 seconds and now I don't get this error... BUT,
>SpamAssassin is taking 15-30 seconds to scan each email.

Try disabling the rbl checks in SpamAssassin. Edit your
/usr/local/MailScanner/etc/spam.assassin.prefs.conf and remove the "#" from
the start of the "# skip_rbl_checks 1" line.

Sounds like your DNS lookups are a bit on the slow side.
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
>Behalf Of Bill Omer
>Sent: Wednesday, July 03, 2002 5:31 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: [MAILSCANNER] extreamly long delays
>
>I have done both.
>
>However, I change:
>Check Spam = yes
>to Check Spam = no
>
>now everything is flying.  After doing a little reading, I ve learned that
>slow dns resolution can cause this problem.  However, I don t have a
>problem at all with resolving domain names.
>
>Any idea s on what I should check for this?
>
>Spam Assassin was working great before (and still does if I run it rather
>than mailscanner).
>
>Regards,
>Bill Omer
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Kelly Hamlin
>Sent: Wednesday, July 03, 2002 10:12 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: extreamly long delays
>
>Try using delivery method = Queue and set Deliver in background to yes.
>Also lower your amount of logging in sendmail cf to like 7 from 9. This
>should help a lot.
>What are the specs on your mailserver. Also, what features do you have
>enabled in your mailscanner.conf?
>
>                   //////
>                 ( o o )
>+--.oooO--(_)--Oooo.-----------------+
>| [Kelly Hamlin]
>| support at cyberstreet.com
>| http://www.cyberstreet.com
>|   .oooO
>|      (  )    Oooo.
>+---   (----(   )----------------------------+
>           \_)    ) /
>                 (_/
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Bill Omer
>Sent: Wednesday, July 03, 2002 10:11 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: extreamly long delays
>
>I m having some problems with regarding very long delays in mail
>delivery.    It seems as if it s getting stuck when there are pieces of
>mail in the mail queue in the state of Deferred.  Right now, I see 315
>pieces of mail, all in the state of Deferred (with Connection refused)
>when I do a mailq.   There are also           2157 pieces of mail in
>/var/spool/mqueue.in, and the number keeps growing.
>
>I have the following set in my mailscanner.conf:
>
>Max Safe   Messages Per Scan = 500
>Max Unsafe Messages Per Scan = 100
>Max Safe   Bytes Per Scan = 10000000
>Max Unsafe Bytes Per Scan = 5000000
>
>I m pretty sure this has something to do with it.  I ve been trying to
>change the settings here in hopes to increase the speed of both scanning
>and delivery.
>
>I m also using
>Delivery Method = batch
>
>Any help on this would be great.
>
>Regards,
>Bill Omer
>

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list