Re: can't find hosts
Yeah, I just fixed it actually after reading that qmail doesn't actually do dns lookups. Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably just leave it at that now... Cheers, -mic - Original Message - From: "Alex Pennace" [EMAIL PROTECTED] To: "Michael Cartmel" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, March 31, 2001 4:58 PM Subject: Re: can't find hosts On Sat, Mar 31, 2001 at 04:21:18PM +1000, Michael Cartmel wrote: I've tested my qmail setup and all the tests using qmail-inject work ok, however, if a mail comes in through qmail-smtpd it bounces with 'Sorry, I couldn't find and host named...'. All dns tools are working fine, it just seems to be qmail. Anyone know the answer? What do the logs say? How are you invoking qmail-smtpd?
Re: can't find hosts
On Sat, Mar 31, 2001 at 05:01:39PM +1000, Michael Cartmel wrote: [qmail-smtpd causing messages to be bounced] Yeah, I just fixed it actually after reading that qmail doesn't actually do dns lookups. Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably just leave it at that now... I don't suspect that at all. I believe that your tcpserver configuration caused $RELAYCLIENT to be set to something other than "", which can cause the problems you were having. Hence my earlier request for logs and the run script for qmail-smtpd under tcpserver.
Re: can't find hosts
the run script for tcpserver was as outlined in the Qmail HOWTO from www.qmail.org. - Original Message - From: "Alex Pennace" [EMAIL PROTECTED] To: "Michael Cartmel" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, March 31, 2001 5:32 PM Subject: Re: can't find hosts On Sat, Mar 31, 2001 at 05:01:39PM +1000, Michael Cartmel wrote: [qmail-smtpd causing messages to be bounced] Yeah, I just fixed it actually after reading that qmail doesn't actually do dns lookups. Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably just leave it at that now... I don't suspect that at all. I believe that your tcpserver configuration caused $RELAYCLIENT to be set to something other than "", which can cause the problems you were having. Hence my earlier request for logs and the run script for qmail-smtpd under tcpserver.
qmail can't find hosts
Hi I run qmail-1.03. OpenBsd 2.7. If I want to send e-mails they stay in the queue. If I want to receive e-mails, qmail gets them from the ISP but lets them in the queue. It does= n't send them to my NT-Exchange Server. Why qmail cannot find the receiver's host and the sender's host? If I run nslookup usa.net or myhost.ch it finds the IP-addresses. I tried to send an email from [EMAIL PROTECTED] to [EMAIL PROTECTED] Heres the result: Any ideas? What could be wrong? When I send from mydom.ch to usa.net I have the same problem. Received: (qmail 10816 invoked for bounce); 8 Jun 2000 10:21:30 - Date: 8 Jun 2000 10:21:30 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at mail.mydom.ch. I tried to deliver a bounce message to this address, but the bounce bounced! [EMAIL PROTECTED]: Sorry, I couldn't find any host named usa.net. (#5.1.2) --- Below this line is the original bounce. Return-Path: Received: (qmail 24419 invoked for bounce); 8 Jun 2000 10:21:30 - Date: 8 Jun 2000 10:21:30 - From: [EMAIL PROTECTED] To: "casinobrasil"@usa.net Subject: failure notice Hi. This is the qmail-send program at mail.mydom.ch. 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. [EMAIL PROTECTED]: Sorry, I couldn't find any host named mydom.ch. (#5.1.2) --- Below this line is a copy of the message. Return-Path: "casinobrasil"@usa.net Received: (qmail 29235 invoked by uid 66); 8 Jun 2000 10:21:29 - Received: from UNKNOWN(204.68.23.61), claiming to be "nwcst316.netaddress.usa.net" via SMTP by firewall, id smtpdw13068; Thu Jun 8 12:21:22 2000 Received: (qmail 6141 invoked by uid 60001); 9 Jun 2000 04:34:09 - Message-ID: [EMAIL PROTECTED] Received: from 204.68.23.61 by nwcst316 for [193.72.22.43] via web-mailer(34FM1.4.02C) on Fri Jun 9 04:34:09 GMT 2000 Date: 8 Jun 00 22:34:09 MDT From: Andreas Keiser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test angela X-Mailer: USANET web-mailer (34FM1.4.02C) Mime-Version: 1.0 Content-Type: text/plain; charset=3DUS-ASCII Content-Transfer-Encoding: quoted-printable test *** end of msg I think that my DNS configuration is ok, since nslookup works fine. Or could be something wrong with it? My DNS setup is the following: resolv.conf --- domain mydom.ch nameserver 127.0.0.1 lookup file bind localhost.rev - ; @(#)localhost.rev 5.1 (Berkeley) 6/30/90 @ IN SOA ucbvax.Berkeley.EDU. rwh.ucbvax.Berkeley.EDU. ( 14 ; Serial 3600 ; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum IN NS mail.mydom.ch. 1 IN PTR localhost.mydom.ch. named.boot directory / primary 0.0.127.IN-ADDR.ARPA localhost.rev forwarders (some DNS-IP Adresses) options forward-only Regards Andreas Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: qmail can't find hosts
Hi! [EMAIL PROTECTED]: Sorry, I couldn't find any host named usa.net. (#5.1.2) ^ There's the culprit! Return-Path: Received: (qmail 24419 invoked for bounce); 8 Jun 2000 10:21:30 - Date: 8 Jun 2000 10:21:30 - From: [EMAIL PROTECTED] To: "casinobrasil"@usa.net What mail program created that weird email address? [EMAIL PROTECTED]: Sorry, I couldn't find any host named mydom.ch. (#5.1.2) Same here. -Johan -- Johan Almqvist