LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2005, 08:39 PM   #1
linux_angus
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Rep: Reputation: 0
Question Problem with sendmail


Does anyone can help me what I should check my mail server I just installed on RH9. I am using sendmail 8.12.8, everything were just fine except to send out to Internet address. I can send msg out locally without problem, but if I send msg to Internet, it shows connection timed out in my mailq status. Below is the exact error msg I captured from mailq:

/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
j6M0o5xB010941 696 Thu Jul 21 20:50 <abc@abc.org>
(Deferred: Connection timed out with gsmtp171.google.com.)
<XYZ@gmail.com>
Total requests: 1


I checked my mail server is able to connect Internet and I also tried to send mail msg from Internet to my mail server, it works OK, too! I can receive mail from Internet. But I cannot send out!

Any idea?? Thanks!
 
Old 07-21-2005, 11:43 PM   #2
dugas
Member
 
Registered: Jul 2004
Location: louisiana
Distribution: fedora 4/kubuntu
Posts: 116

Rep: Reputation: 15
sendmail config

You have to tell sendmail to listen on the network. Change in the sendmail.mc file in /etc/mail
Comment out the line with dnl
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Then you must rebuild sendmail.mc
Many ways to do, make works on some systems
 
Old 07-22-2005, 12:40 AM   #3
linux_angus
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I checked my sendmail.mc file, and I've already changed to listen 0.0.0.0 instead of 127.0.0.1. Here I captured from my conf file

DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl

if even I comment out, the problem is still the same. What else I can check?
 
  


Reply



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
Sendmail Problem hansi umayangan Linux - Networking 3 01-17-2005 05:53 AM
Sendmail Problem eggoz Linux - General 2 04-01-2004 01:23 PM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 10:08 AM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 05:00 PM
little problem with sendmail ... AGAIN MiB_24 Linux - General 6 01-03-2002 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 AM.

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
Open Source Consulting | Domain Registration