Link to home
Start Free TrialLog in
Avatar of paries
paries

asked on

want to send mail from local box not domain mail server

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







ASKER CERTIFIED SOLUTION
Avatar of Matt V
Matt V
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial