Sendmail configration problem

Posted on 2005-02-26
Medium Priority
Last Modified: 2013-12-16
Hi ther,
After I installed Redhat Enterprise Linux 3 AS as Mail Server for university, I could send and receive emails internally, but I could not sendmail to or receive from externally, for example, I could not sendmail to my  yahoo.com  account, I could not receive email from it either.

It is not network connection problem, because I could browse www.yahoo.com...

How to fix?

Thank you  so much!

Question by:shumei2k
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
LVL 51

Expert Comment

ID: 13413714
do you have a proper MX record in DNS?

Expert Comment

ID: 13415037
for sending out mails u need to  add this line to the  /etc/mail/sendmail.mc file :


just before where the lines  start with" MAILER" options
this will enable ur sendmail for the relay to outside domains...........

regarding the incoming mails...u need to confirm that ur domain is registered and ur MX record entry in the DNS is made. also u make entry of the domain for which u will receive mails for in the followin file :

in /etc/mail/access  to accept mails for ur domain
and /etc/mail/virtusertable specifying all the users on ur machine.............

Charanjeet Singh

Expert Comment

ID: 13415092

i beleive u must have already edited the sendmail.mc file to receive mails....from other machine.. as u are already using it for internal mails......

charanjeet singh
LVL 40

Accepted Solution

jlevie earned 1500 total points
ID: 13415493
What error is being logged in /var/log/maillog for attempts to sendmail mail to outside addresses? And if there aren't any errors in maillog what does '/usr/sbin/sendmail -q -v' show for the delivery attempts?

NOTE: Don't include "FEATURE(promiscuous_relay)dnl" in your sendmail configuration. That is neither necessary nor desireable to be able to send/receive external mail. It will make you mail server an open relay and result in it being blacklisted.

Author Comment

ID: 13416194
I was confused. Please see my another open question:  "The difference of Glibc and Sendmail on RedHAt AS 3 and Redhat 9 "

Anyway, it looks like the sendmail.mc of RHEL AS 3 is similar as sendamil.mc of RadHat 9.
I did not find
in sendmail.mc in RHEL AS 3

It works now after I commented the line:

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

Thank you!

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

741 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