Solved

want to send mail from local box not domain mail server

Posted on 2011-02-15
1
478 Views
Last Modified: 2013-12-18
hello,
I have just installed centos 5.5
i want this box to send email using sendmail from this box and not using my mail.domain.com server. I am using sendmail.i386 0:8.13.8-8.el5
with the default config when i try to send mail i get the error:

Feb 15 19:59:48 rtx sendmail[9462]: p1G1xm71009462: to=randy@domain.me, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

which is to be expected with the default.
so then i comment DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

now when i send mail it is trying relay through my mail.mydomain.com

does it look at the domain record or something? i did not put in mail.mydomain.com anywhere.

I do not want it relaying though the mail mail server

thanks for any help







0
Comment
Question by:paries
[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
1 Comment
 
LVL 22

Accepted Solution

by:
Matt V earned 500 total points
ID: 34903192
Are you trying to send mail to an address at your domain?  If so, it will try to send it directly to your server based on the MX lookup.  Have you tried sending to a gmail or hotmail address to see what it does?
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

728 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