Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Mar 2001 11:30:06 +1100
From:      Tony Landells <ahl@austclear.com.au>
To:        "Doug Young" <dougy@gargoyle.apana.org.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sendmail configuration with NAT 
Message-ID:  <200103090030.LAA03328@tungsten.austclear.com.au>
In-Reply-To: Message from "Doug Young" <dougy@gargoyle.apana.org.au>  of "Fri, 09 Mar 2001 10:13:12 %2B1000." <018901c0a82d$bcd14580$0200a8c0@apana.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brc@brisbane.apana.org.au>...
> 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					<ahl@austclear.com.au>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103090030.LAA03328>