[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SMTP Looping and RBL problem (separate issues)



Hi,
2 things we found today using 2.99.54 on Solaris 2.6.

RBL/Policies:
We spent a long time trying to setup RBL in smtp-policy.src
using "Third RBL variant: Late block" from distributed file.

Early block worked fine, but late didn't. The problem 
(after a look at the code) was
that test-rcpt-dns-rbl depends on the existence of TXT
records, and rss.mail-abuse.org is not using them anymore.
Our test address was on rss. Removing rss and leaving only ORBS
worked fine.

SMTP Looping:
Today we found a spike on our DNS server (more or less 300 queries 
per second). All the queries were for the A record of the same name.

The problem was an smtp process. The message being processed was 
for XX@qmx.net (apologies for publishing the domain, but it may help)
The MX for this domain (ICE.QAX.net) didn't have an A record.

After enabling verbose we have the text at the end.
this are just a couple of lines from a file which grove up to 3Mb in less
than a minute.

BTW: the same address tested with 2.99.54 bounce saying:
  Diagnostic texts:
    smtp; 500 (DNS: MX host does not support SMTP: qmx.net)


VERBOSE OUTPUT:
=================
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67789s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)
SMTP: Connecting to host: qmx.net firstmx=0 mxcount=? noMX=0
 getmxrr(qmx.net)DNS lookup reply: len=120 rcode=0 qdcount=1 ancount=1
nscount=2 arcount=2 RD=1 TC=0 AA=0 QR=1 RA=1
 -> (67787s) MX[0] pref=5 host=ICE.QAX.net
 MX lookup lacked ADDITIONAL SECTION Address for entry: MX 5 ICE.QAX.net
  mx[0] mxtype=--(0) host='ICE.QAX.net'
 gaih_inet('ICE.QAX.net') gethostbyname() h=0  h_errno=2
 g->gaih[INET]('ICE.QAX.net',...) rc=3
  getaddrinfo('ICE.QAX.net','0') (PF_INET) -> r=-3 (temporary failure in
name resolution), ai=0
  getmxrr('qmx.net') -> nmx=1, maxpref=66000, realname=''
 rc=75, mxh[0].host=<NUL> (host=qmx.net) mxcnt=1
memset(SS->mxh, 0, 2048)

============================
DNS INFO
============================
dig MX qmx.net
--------------
; <<>> DiG 8.3 <<>> MX qmx.net 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUERY SECTION:
;;      qmx.net, type = MX, class = IN

;; ANSWER SECTION:
qmx.net.                1D IN MX        5 ICE.QAX.net.

;; AUTHORITY SECTION:
qmx.net.                1D IN NS        NS1.QAX.net.
qmx.net.                1D IN NS        NS2.AA.net.
---------------------------------
dig A ICE.QAX.net
-----------------------------------
; <<>> DiG 8.3 <<>> A ICE.QAX.net 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;      ICE.QAX.net, type = A, class = IN



Hope all this info helps.
Thanks.

Nicolás Baumgarten
Pert Consultores 
nico@pert.com.ar