bd63 [Solved] DNS lookups do not work with postfix in jail - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old July 2nd, 2012, 10:34
jahlives jahlives is offline
Junior Member
 
Join Date: Jun 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default DNS lookups do not work with postfix in jail

Hello

I'm currently having difficulties with postfix running on FreeBSD 9 in a jail. I set up the jail and postfix and everything should be running fine. But my problem is that DNS lookups do not work in postfix-restrictions.

When I send a mail to the server for relaying it to the outside world I always get lines like the following in /var/log/maillog:
Code:
Jul  2 11:17:08 andenes postfix/smtpd[1982]: NOQUEUE: reject: RCPT from unknown[192.168.199.11]:
450 4.1.2 <MYACCOUNT@gmail.com>: Recipient address rejected: 
Domain not found; from=<MYSENDER@brain-force.ch> to=<MYACCOUNT@gmail.com> proto=ESMTP helo=<narvik.local>
and mail is rejected.

But if I perform the nslookup directly from command line then I get a positive answer
Code:
andenes# dig gmail.com +short
173.194.35.22
173.194.35.21
My DNS server (BIND) is running in a seperate jail on the same FreeBSD machine.
I put the DNS server in /etc/resolv.conf of the jail and it looks as follows
Code:
search local
nameserver 192.168.200.201
nameserver 8.8.8.8
.201 is the named machine.

Any ideas what could be "broken"?

thanks a lot

tobi

Last edited by DutchDaemon; July 2nd, 2012 at 12:12. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
UPnP Inside Jail Does Not Work, Fine Outside Sephiroth Networking 2 December 10th, 2010 15:43
Jail with Postfix and Dovecot How To peep96 Web & Network Services 5 September 29th, 2010 22:50
Getting smtps to work in postfix BeastieBoy Web & Network Services 4 September 12th, 2010 05:45
Compile postfix in a jail mrz Installation and Maintenance of FreeBSD Ports or Packages 5 September 8th, 2010 08:41
User lookups very slow Steije Web & Network Services 8 January 31st, 2010 14:48


All times are GMT +1. The time now is 03:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0