Solved

want to send mail from local box not domain mail server

Posted on 2011-02-15
1
456 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Design Question: Office 365 + Exchange 2016 Hybrid 5 74
Junk folder 23 148
issue with multiple exchange server 2016 5 37
Tracking Bouncebacks in PHPMailer 3 38
The Microsoft Exchange server database may become damaged or corrupted due to many reasons, such as system failure. When this happens, it is usually urgent to restore the system to a stable and working state. There are different symptoms and causes …
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now