Manually test RBL?

Julian Field mailscanner at ecs.soton.ac.uk
Sun Jan 25 15:30:12 GMT 2004


At 15:11 25/01/2004, you wrote:
>Hi,
>
>I've got two severs set with MailScanner and using the RBL spamcop.net.
>One one server spamcop works great and seems to tag more spam than any
>other RBL, but on the other server (in a different network/location),
>spamcop is not getting one hit and the logs show that it times out every
>time. This is a client's site and this server has a Pix firewall and
>ICMP turned off both ways. I don't think this makes a difference though.
>
>Is there anyway from the command line to test connectivity with spamcop?
>
>Or does anybody have an idea why this might be happening?
>
>On the RBL line in SpamScanner,

SpamScanner?

>  spamcop is listed as 'spamcop.net' on
>both servers.

What about the dot on the end? It should be there, like it is for the other
lists. Otherwise check the DNS setup on the rogue machine. The standard
test is this:

[root at tinker etc]# dig 2.0.0.127.bl.spamcop.net any

; <<>> DiG 9.2.1 <<>> 2.0.0.127.bl.spamcop.net any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55945
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 8, ADDITIONAL: 0

;; QUESTION SECTION:
;2.0.0.127.bl.spamcop.net.      IN      ANY

;; ANSWER SECTION:
2.0.0.127.bl.spamcop.net. 2048  IN      TXT     "Blocked - see
http://www.spamcop.net/bl.shtml?127.0.0.2"
2.0.0.127.bl.spamcop.net. 2048  IN      A       127.0.0.2

;; AUTHORITY SECTION:
bl.spamcop.net.         69080   IN      NS      blns8.spamcop.net.
bl.spamcop.net.         69080   IN      NS      blns9.spamcop.net.
bl.spamcop.net.         69080   IN      NS      blns10.spamcop.net.
bl.spamcop.net.         69080   IN      NS      blns11.spamcop.net.
bl.spamcop.net.         69080   IN      NS      blns12.spamcop.net.
bl.spamcop.net.         69080   IN      NS      blns4.spamcop.net.
bl.spamcop.net.         69080   IN      NS      blns5.spamcop.net.
bl.spamcop.net.         69080   IN      NS      blns6.spamcop.net.

;; Query time: 167 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Jan 25 15:28:32 2004
;; MSG SIZE  rcvd: 289

>  Oh, and the problem server is working with spamhaus
>although it times out once in a while.

dig 2.0.0.127.sbl-xbl.spamhaus.org. any

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list