Bug 204174

Summary: SpamAssassin with URIDNSBL tries DNS lookups for *.so in body text
Product: [Fedora] Fedora Reporter: Anthony Messina <amessina>
Component: spamassassinAssignee: Warren Togami <wtogami>
Status: CLOSED DEFERRED QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5CC: felicity, jm, parkerm, perl-devel, reg+redhat, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-26 21:28:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anthony Messina 2006-08-26 12:04:29 UTC
Description of problem:
SpamAssassin, when using the URIDNSBL plugin (the default) attempts DNS queries
on body text containing words such as libplain.so, or anything ending in ".so".
The DNS queries fail of course.

I noticed this problem as I am subscribed to info-cyrus and postfix-users
mailing lists where these libraries are often discussed.

Version-Release number of selected component (if applicable):
spamassassin-3.1.3-1.fc5

How reproducible:
Every time.

Steps to Reproduce:
1. Ensure that the SpamAssassin URIDNSBL plugin is loaded in
/etc/mail/spamassassin/init.pre

2. Send a message with "<whatever word you want>.so" in the body of the message
(I tried "marcinator.so")

3. Check your /var/log/messages and see
Aug 26 06:51:47 home named[5631]: lame server resolving 'marcinator.so' (in
'so'?): 205.166.226.38#53
Aug 26 06:51:49 home named[5631]: unexpected RCODE (REFUSED) resolving
'marcinator.so/NS/IN': 209.68.0.85#53

Actual results:
SpamAssassin looks up *.so from body text

Expected results:
SpamAssassin would not look up *.so as it causes unnecessary DNS lookups that
will fail

Additional info:
When I comment out the URIDNSBL plugin entry in /etc/mail/spamassassin/init.pre
and try again, the symptoms do not occur.

Comment 1 Theo Van Dinter 2006-08-26 16:53:49 UTC
FYI, this was cut/paste into SA's Bugzilla ticket 5066
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5066

SA is operating correctly, so the ticket was closed as "worksforme".

Comment 2 Anthony Messina 2006-08-26 21:28:18 UTC
See http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5068