From owner-freebsd-questions Thu Mar 8 16:30:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nameserver.austclear.com.au (nameserver.austclear.com.au [192.83.119.132]) by hub.freebsd.org (Postfix) with ESMTP id E437B37B718 for ; Thu, 8 Mar 2001 16:30:07 -0800 (PST) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.70.1]) by nameserver.austclear.com.au (8.9.3/8.9.3) with ESMTP id LAA75363; Fri, 9 Mar 2001 11:30:06 +1100 (EST) Received: from tungsten (tungsten [192.168.70.1]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id LAA03328; Fri, 9 Mar 2001 11:30:06 +1100 (EST) Message-Id: <200103090030.LAA03328@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Doug Young" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail configuration with NAT In-Reply-To: Message from "Doug Young" of "Fri, 09 Mar 2001 10:13:12 +1000." <018901c0a82d$bcd14580$0200a8c0@apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 Mar 2001 11:30:06 +1100 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've had sendmail working perfectly for years using public IPs, however when > I use NAT / private IPs I get "Relaying denied" problems. According to info > at sendmail.org, all thats required > is listing of the private IPs in /etc/mail/access & /etc/mail/relay-domains > .... however that doesn't appear sufficient here. Is there a relatively > simple solution or do I need to do a heap of reading up on sendmail.cf / m4 > / FEATURES / etc ?? > > The message could not be sent because one of the recipients was rejected by > the server. The rejected e-mail address was 'blah@somewhere.com'. Subject > 'test only ... please ignore', Account: 'bryden', Server: '203.3.126.129', > Protocol: SMTP, Server Response: '550 5.7.1 ... > Relaying denied. IP name lookup failed [192.168.0.2]', Port: 25, > Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79 Looking at the error message it looks like sendmail's unhappy because it can't do a DNS lookup on the address. What's in your sendmail .mc? What did you put in /etc/mail/access & /etc/mail/relay-domains. And just to ask the blatantly obvious, you did rebuild access.db after you changed /etc/mail/access didn't you? Cheers, Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message