Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Using CentOS 5.6 and trying to send (only) emails to remote boxes. I am on a CentOS client box and trying to send email to my road-runner email account.

mailx -s "Some Subject" me@tx.rr.com < msg.txt

$cat message.txt
From: localhost.localdomain
To: gwade7@tx.rr.com
Subject: Test
Testing...

Log file shows:

Oct  3 14:06:34 ip sendmail[1131]: p93J6Yas001131: from=root, size=118, class=0, nrcpts=1, msgid=<201110031906.p93J6Yas001131@ip.localdomain>, relay=root@localhost
Oct  3 14:06:34 ip sendmail[1131]: p93J6Yas001131: to=gwade7@tx.rr.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30118, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
  1. How do I use my Road-Runner email server to route my email to an external email box?
  2. Does anybody know if I must use user/password on the Road-Runner /Mail Server?
share|improve this question
    
Are you able to at least get email into your system mail account? –  Rilindo Oct 3 '11 at 19:36
add comment

1 Answer

From the log message that you posted it seems that you are running the MSP agent, but not the MTA, or the MTA is not listening on 127.0.0.1 port 25. You may have to also post the /etc/mail/submit.mc and /etc/mail/sendmail.mc files.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.