LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2003, 07:35 AM   #1
paperdiesel
Member
 
Registered: Oct 2003
Location: southern cali
Distribution: fedora core 4
Posts: 79

Rep: Reputation: 15
sendmail help! please!


Nothing fancy here, I just need sendmail to be able to send messages out to the internet from my redhat 9 workstation. I'm not trying to run a mailserver or anything.

It's fresh off the install, and I haven't edited any sendmail config files (because I don't know how or which ones to edit). Here's what I get back when I try and send an email:

----- Transcript of session follows -----
... while talking to flmx04.mgw.rr.com.:
>>> MAIL From:<root@localhost.localdomain> SIZE=328
<<< 553 5.1.8 <root@localhost.localdomain>... Domain of sender address root@localhost.localdomain does not exist
501 5.6.0 Data format error

--h9UDR1dx005841.1067520421/localhost.localdomain
Content-Type: message/delivery-status

Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Thu, 30 Oct 2003 08:26:10 -0500

Final-Recipient: RFC822; edited.email@address.com
Action: failed
Status: 5.1.8
Diagnostic-Code: SMTP; 553 5.1.8 <root@localhost.localdomain>... Domain of sender address root@localhost.localdomain does not exist
Last-Attempt-Date: Thu, 30 Oct 2003 08:27:01 -0500

Last edited by paperdiesel; 10-30-2003 at 07:36 AM.
 
Old 11-02-2003, 07:02 PM   #2
olddog55
LQ Newbie
 
Registered: Jul 2003
Distribution: Debian Sarge & Woody, RedHat, tomsrtbt
Posts: 11

Rep: Reputation: 0
The relay you are using needs to see a valid domain... You need to change your local system name and it's associated domain from the default 'localhost.localdomain' to something resolvable.
 
Old 11-03-2003, 08:13 AM   #3
paperdiesel
Member
 
Registered: Oct 2003
Location: southern cali
Distribution: fedora core 4
Posts: 79

Original Poster
Rep: Reputation: 15
Yah that was pretty much it. Although everything I've read about /etc/hosts has said DO NOT CHANGE THE FIRST LINE, which includes that loopback 127.0.0.1 and the localhost.localdomain name. So I just added a second line with my real IP addy and a resolvable name (server.mydomain.com) and rebooted.

Thanks for the help. Miller Time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 07:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM


All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration