LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2005, 05:37 AM   #1
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Rep: Reputation: 30
Where is Postfix getting stuck?


Hello All,

I'm trying to get postfix to work, and I have it running internally without any problems. But, now I want to mail externally (of course) and I believe I'm having problems with my router+adsl modem.

My setup:
I have my linux servers hooked up to a broadband router, and this router gets its adsl connection from a modem I got from my ISP.

If I try to connect to localhost port 25, I can. If I try to connect via the adsl router port 25, I can't and same thing if I try via the router. I'm new to MTA's so I don't know if that is default security from postfix or if I need to able to connect from the outside? But anyways, i'm assuming that the issue is if Postfix can get outbound connections going...but how can I check that????

This is what I get when I try to mail to the outside:

---------------------------------------
The Postfix program

<XxXxXxXxXx@gmail.com>: Host or domain name not found. Name service error for
name=gmail.com type=MX: Host not found, try again

--8875CB01D2.1109879688/XxXxXxX.com
Content-Description: Delivery report
Content-Type: message/delivery-status
--------------------------------------------

Can anybody help? How could I check where exactly the transmission is getting stuck?

Last edited by vous; 03-13-2005 at 07:49 AM.
 
Old 03-13-2005, 06:14 AM   #2
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Original Poster
Rep: Reputation: 30
This is the error message I get in the mail log file when I try to send to gmail (same problem I posted earlier):

Mar 13 12:00:25 DomainName postfix/qmgr[22935]: B4050B01EF: from=<UserName@DomainName.com>, siz
e=355, nrcpt=1 (queue active)
Mar 13 12:00:25 DomainName postfix/smtp[32625]: B4050B01EF: to=<UserName@gmail.com>, relay=
none, delay=57, status=deferred (Host or domain name not found. Name service error for name=gma
il.com type=MX: Host not found, try again)
Mar 13 12:00:34 DomainName postfix/smtpd[32549]: disconnect from DomainName.com[127.0.0.1]

So basically the problem is:

"(Host or domain name not found. Name service error for name=gma
il.com type=MX: "

Would this mean that Postfix cannot make an outbound connection?

So I checked the docs in my adsl modem and it says:

"Static NAPT
For outgoing connections, NAPT entries are created dynamically when they try to reach a foreign host. "

So I assume this means that postifix will be able to get out if he tries....would this be right?

If that it is so, how can it not find the domain name?
 
Old 03-13-2005, 07:48 AM   #3
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Original Poster
Rep: Reputation: 30
Big step forward!

I can now send emails out to the internet!!!

The problem was that the address set in the postfix resolv.conf file was incorrect; I fixed it and now it works!....partly...:-(

The problem that I have now is that if I respond to the email I sent to myself, from the gmail account (or yahoo for that matter), he can't find his way back...

Any ideas on what I could check the inbound path of an email to know where it's getting stuck?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 11:09 PM
stuck on what to do.. iamstinke Slackware 8 03-19-2004 06:46 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 07:33 PM
move postfix mails from server to another postfix server onetwo Linux - Software 2 03-18-2003 03:22 PM
I'm stuck once again! marksstroud Linux - Newbie 1 10-18-2001 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration