Solved

Sendmail in RH9

Posted on 2003-10-29
5
372 Views
Last Modified: 2013-12-15
Hi there experts!

I have this problem. I have installed a new PC with RH9. Installation went thru well with no problems at all.  After the installation, I checked that the following services and running( HTTP/FTP/EMAIL(SMTP & POP3).

Now here is the problem..

I can check email from my network and outside (POP3 is working) but I can't send mail (SMTP).  When I go the the RH9 pc and telnet localhost 25. it is working. But when I telnet 192.168.x.x 25 this gives me no response.

I have turned of ipchains & iptables cause i suspect that this is a firewall issue but still I can't access the SMTP.

Finally, I checked the /var/log/maillog and it seems that only the POP3s are logged.

 In my last distributions, sendmail is working out from the box. Is there something I missed?
0
Comment
Question by:Sandy Kalugdan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9648005
Try in the /etc/hosts.allow add 'sendmail:ALL', save it than restart the xinetd and sendmail service or even restart your server.

Hope this can help.
0
 
LVL 4

Accepted Solution

by:
victorbx earned 100 total points
ID: 9651176
you need to edit the file /etc/mail/sendmail.cf

there you need to search the line :
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

you need to replace 127.0.0.1 to 0.0.0.0

and if this is not working ( rare )

you need to change the line to be like this
O DaemonPortOptions=Port=smtp, Name=MTA

(remove "Addr=127.0.0.1,")

victor
0
 
LVL 40

Expert Comment

by:jlevie
ID: 9654206
Close... This is covered in the Release notes for RedHat (on CD #1). The correct procedure for enabling Sendmail to accept external connections is to comment out the line in /etc/mail/sendmail.mc that begins with O DaemonPortOptions=Port=smtp, build a new sendmail.cf, and restart sendmail.
0
 
LVL 3

Author Comment

by:Sandy Kalugdan
ID: 9654867
@victor,

after several research, i have been able to finally get my server to accept users outside the 127.0.0.1.  I'm surprised that your comment is exactly how I did it.

Nevertheless, you deserve to win the points for your efforts.
0
 
LVL 4

Expert Comment

by:victorbx
ID: 9655147
thank you SandyKalugdan

but why C grade if the answer was exactly the correct answer ?


:-)

victor
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SMB share across internet 15 116
The better OS Architecture 13 111
Linux 3 59
Golang on CentOS / Fedora 2 15
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question