• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1255
  • Last Modified:

Redhat Fedora 5 sendmail configuration

I need a simple step-by-step procedute to modify and re-compile the sendmail.cf file to use an outside server to relay email sent by the server using the mail command. It appears that the services provider (or the router) is blocking outgoing messages from a localhost address.

3 Solutions
thomaswrightAuthor Commented:
The instructions are very nice, but don't work for me. (I tried them). It appears that comcast is blocking something on their end. I have a legimated mail server at rackspace but need to send mail from various linux boxes at client sites which autocomatically lets me know when the backup job scripts complete. I think comcast is trying to block  home linux users from spamming. Any other suggestions using sendmail?
Yes, Most large ISPs (cable companies, DSL providers) do block or re-direct port 25.
This is control Spam from being sent by customers using their service.

You could do either of the following.

1. Change the SMTP port number to something besides 25,
2. Keep smtp port 25 and Use authenticated SMTP connections.
3. Relay your e-mail through the ISPs smtp server. ( this is not good idea if you are sending a lot of e-mails because then they may brick you internet access, because they will suspect that you are sending out spam)

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

RedHat ought to be ashamed of the crappy sendmail.mc they ship with all their products (including RHEL). Of course, I'm hard-pressed to think of a *NIX vendor that does much better.

Take a look at this PAQ --> http://www.experts-exchange.com/Networking/Email_Groupware/Sendmail/Q_21322113.html
thomaswrightAuthor Commented:
Thank you. That PAQ is helpful. It does give insight to the issue. I'm still working on a tested resolve though.
thomaswrightAuthor Commented:
If you can close the question and refund points I guess that would be the best course of action.  Although there are several 'tips' out there I could not find an easy solution to the problem.

For future refrence for those viewing this article from a search, after making changes to the /etc/mail/sendmail.mc file you would recompile sendmail using the following sequence of commands:

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
makemap hash /etc/mail/access.db < /etc/mail/access
/etc/init.d/sendmail restart
Seems to me that some help was rendered and that awarding some points is warranted. But I'm not going to get into an argument over the issue.
thomaswrightAuthor Commented:
Sorry, I did award points, thanks for the effort guys!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now