[Mimedefang] Tracking down the delay (Razor timeout!)
Adam Porter
porter at marine.rutgers.edu
Wed Jan 28 14:21:49 EST 2004
> I don't have a complete answer for you, but it occurs to me that you
might
> want to tinker with the SpamAssassin configuration options rbl_timeout
> and razor_timeout. According to Mail::SpamAssassin::Conf(3pm) the
> defaults for these are 15 seconds for the rbl stuff and 10 seconds for
> the razor2 stuff. Assuming the default settings for both, that sounds
> like it could account for at least 25 seconds.
>
> Perhaps setting these down to 5 seconds each and then restarting
> everything might be a useful experiment. If the delays drop after that,
> you'll know you're in the right ballpark.
Thanks, this seems like good advice! I already had rbl_timeout at 5 so
I shortened razor_timeout to 5 also and sure enough, my delays are ~10
seconds now.
I may have narrowed the problem down to razor. Looks like I'm getting
intermittent delays (which could explain why I have sometimes run
spamassassin all the way through without delay.) Often I run this once
and it completes quickly, but the 2nd and all subsequent attempts razor
hangs on timeout with wonder.cloudmark.com:
# razor-check -d -debuglevel=9 /tmp/spam2.txt
[...]
Jan 28 14:09:00.272986 check[29149]: [ 8] preparing 2 queries
Jan 28 14:09:00.273370 check[29149]: [ 8] sending 1 batches
Jan 28 14:09:00.273584 check[29149]: [ 4] wonder.cloudmark.com << 108
Jan 28 14:09:00.273727 check[29149]: [ 6]
-a=c&e=4&ep4=7542-10&s=LDMBvNPlqNgucLUsV_snpo9cxOcA
a=c&e=4&ep4=7542-10&s=10fgyuwqXkOs1rGoOYlmLj-I1EYA
.
(Pauses here for long time)
Jan 28 14:09:15.266090 check[29149]: [ 1] razor-check error: check 2:
Timed out (15 sec) while reading from wonder.cloudmark.com
check 2: Timed out (15 sec) while reading from wonder.cloudmark.com
#
So I guess my questions now are: How do I find & set up a good,
reliable set of RBLs? Do I need to invest a lot of time or can I
automate it? Is this an anomaly with cloudmark's db/service or does
this kind of thing happen a lot? (PS: I re-initialized my razor client
but it hasn't helped.)
My apologies for dumping my razor problems on the MD list... If it
weren't for great software like MD, I might never have bothered with
spamassassin, razor, etc...
Cheers,
-Adam
More information about the MIMEDefang
mailing list