Web Hosting Talk







View Full Version : qmail + hotmail


clocker1996
07-30-2002, 08:13 PM
hmm..

Lately, everytime I email a hotmail account, from my server, It never goes through

i have qmail setup, as mail.mydomain.com. running pop3 and smtp

A friend of mine setup a forum, on my server (the same one which i run mail.mydomain.com on with qmail), I guess he uses YaBB.

I have a catch all account setup for my domain. So if you mail asfsdskjhsa@mydomain.com I get that email.

Anyway, lately ive been getting mail like this:

Hi. This is the qmail-send program
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<cs_sorrow@hotmail.com>:
CNAME lookup failed temporarily. (#4.4.3)
I'm not going to try again; this message has been in the queue too long.

--- Below this line is a copy of the message.

Return-Path: <anonymous@mydomain.com>
Received: (qmail 9571 invoked by uid 99); 23 Jul 2002 22:18:45 -0000
Date: 23 Jul 2002 22:18:45 -0000
Message-ID: <20020723221845.9570.qmail@mydomain.com>
To: cs_sorrow@hotmail.com
From: monson@telus.net
X-Mailer: YaBB Perl-Powered Socket Mailer
Subject: Welcome to Strikers Regiment Forum

Welcome, sorrow!

Your username is sorrow, and your password is *******

Regards,
The Strikers Regiment Forum team
.

so i'm guessing my friends forum is trying to mail these people via /usr/sbin/sendmail (on my box)

and i'm guessing that this ERROR is also the same reason why i cant email hotmail accounts myself

Does anyone know what it could be?
or why i can't seem to email hotmail ? I can email anyone else though

btw /usr/sbin/sendmail is the qmail replacement version (for those who are wondering... you know, the /var/qmail/bin/sendmail )

clocker1996
07-30-2002, 08:17 PM
oh and btw, when i email hotmail it does not bounce back either

Joey
07-30-2002, 08:24 PM
It's a DNS problem. Anyone else have idears?

-----
rollin% dig MX @ns1.nrgservers.net hotmail.com

; <<>> DiG 9.2.1 <<>> MX @ns1.nrgservers.net hotmail.com
;; global options: printcmd
;; connection timed out; no servers could be reached
rollin% dig MX hotmail.com

; <<>> DiG 9.2.1 <<>> MX hotmail.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50197
;; flags: qr rd ra; QUERY: 1, ANSWER: 14, AUTHORITY: 4, ADDITIONAL: 7

;; QUESTION SECTION:
;hotmail.com. IN MX

;; ANSWER SECTION:
hotmail.com. 3201 IN MX 5 mx07.hotmail.com.
hotmail.com. 3201 IN MX 5 mx08.hotmail.com.
hotmail.com. 3201 IN MX 5 mx09.hotmail.com.
hotmail.com. 3201 IN MX 5 mx10.hotmail.com.
hotmail.com. 3201 IN MX 5 mx11.hotmail.com.
hotmail.com. 3201 IN MX 5 mx12.hotmail.com.
hotmail.com. 3201 IN MX 5 mx13.hotmail.com.
hotmail.com. 3201 IN MX 5 mx14.hotmail.com.
hotmail.com. 3201 IN MX 5 mx15.hotmail.com.
hotmail.com. 3201 IN MX 5 mx01.hotmail.com.
hotmail.com. 3201 IN MX 5 mx02.hotmail.com.
hotmail.com. 3201 IN MX 5 mx04.hotmail.com.
hotmail.com. 3201 IN MX 5 mx05.hotmail.com.
hotmail.com. 3201 IN MX 5 mx06.hotmail.com.

;; AUTHORITY SECTION:
hotmail.com. 3201 IN NS ns1.hotmail.com.
hotmail.com. 3201 IN NS ns2.hotmail.com.
hotmail.com. 3201 IN NS ns3.hotmail.com.
hotmail.com. 3201 IN NS ns4.hotmail.com.

;; ADDITIONAL SECTION:
mx01.hotmail.com. 3201 IN A 65.54.254.145
mx02.hotmail.com. 3201 IN A 65.54.254.145
mx04.hotmail.com. 3201 IN A 65.54.254.145
mx05.hotmail.com. 3201 IN A 65.54.254.129
mx06.hotmail.com. 3201 IN A 65.54.254.129
mx07.hotmail.com. 3201 IN A 65.54.254.129
mx08.hotmail.com. 3201 IN A 64.4.49.7

;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jul 30 19:18:36 2002
;; MSG SIZE rcvd: 507

rollin%
-----

Shyne
07-30-2002, 08:53 PM
Check that during qmail installation it replaces it's own copy of the sendmail script.

qmail-sendmail

clocker1996
07-30-2002, 09:30 PM
Originally posted by Shyne
Check that during qmail installation it replaces it's own copy of the sendmail script.

qmail-sendmail

I don't believe there is such thing as a qmail SENDMAIL SCRIPT

there is a QMAIL version of sendmail, which is /var/qmail/bin/sendmail which is not a script.

qmail-sendmail does not exist.

And I don't think that the qmail installation was designed to replace sendmail with qmails version. I believe you have to do that manually, on your own, by hand.

Besides, my /usr/sbin/sendmail is already the qmail version.

suron:/var/qmail/bin# cd /tmp
suron:/tmp# wget http://cr.yp.to/software/qmail-1.03.tar.gz
wget: Error in /etc/wgetrc at line 49.
--21:12:15-- http://cr.yp.to:80/software/qmail-1.03.tar.gz
=> `qmail-1.03.tar.gz'
Connecting to cr.yp.to:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 220,668 [application/x-gzip]

0K .......... .......... .......... .......... .......... 23% 0:00 461K
50K .......... .......... .......... .......... .......... 46% 0:00 385K
100K .......... .......... .......... .......... .......... 69% 0:00 533K
150K .......... .......... .......... .......... .......... 92% 0:00 563K
200K .......... ..... 100% 0:00 294K

21:12:16 (444.32 KB/s) - `qmail-1.03.tar.gz' saved [220668/220668]

suron:/tmp# tar xzf qmail-1.03.tar.gz
suron:/tmp# cd qmail-1.03
suron:/tmp/qmail-1.03# find ./ | grep qmail-sendmail
suron:/tmp/qmail-1.03# find / | grep qmail-sendmail
suron:/tmp/qmail-1.03#

clocker1996
07-31-2002, 12:34 AM
Wow, talk about messed up.

I sent an email to somebody on hotmail.com a week ago.

JUST now, i get this back:

Hi. This is the qmail-send program
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<theiremail@hotmail.com>:
CNAME lookup failed temporarily. (#4.4.3)
I'm not going to try again; this message has been in the queue too long.

--- Below this line is a copy of the message.

priyadi
07-31-2002, 12:45 AM
From the qmail FAQ:

Q: How do I deal with CNAME lookup failed temporarily?

A: The SMTP standard does not permit aliased hostnames (see http://pobox.com/~djb/im/cname.html), so qmail has to do a CNAME lookup in DNS for every sender and recipient host. CNAME lookup failed temporarily means that the relevant DNS server is down. It will try again soon.

If the message gets deferred over and over again, probably it has something to do with your DNS configuration. Make sure you are able to query hotmail's DNS from your server.

DavidU
07-31-2002, 08:28 AM
Hotmail's DNS return is too big so qmail dumps it.

run a local resolver which you might want to do on a mailserver anyway or hardcode a couple of their MX's into smtproutes.

it's a known problem with hotmail.

-davidu

clocker1996
08-22-2002, 05:42 AM
nice

local resolver worked

thanks