Solved

want to send mail from local box not domain mail server

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

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…

757 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

20 Experts available now in Live!

Get 1:1 Help Now