LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-02-2001, 01:47 AM   #1
elconde
Member
 
Registered: Sep 2001
Location: Cherry Hill, NJ
Distribution: Gentoo baby!
Posts: 67

Rep: Reputation: 15
Unhappy I changed my hostname, and now I can't send e-mails


Hello,

I recently installed a lnksys router so I could share my cable modem connection with my roommate. Everything worked fine until I decided to change my hostname with linuxconf. I read that it doesn't matter what you call your hostname if you're behind a router. That doesn't seem to be the case.

When I try to send e-mails, I get the following error message:

----- Transcript of session follows -----
... while talking to alum.mit.edu.:
>>> MAIL From:<elconde@robert.mediaone.net> SIZE=139
<<< 501 <elconde@robert.mediaone.net>... Sender domain must exist
501 <elconde@alum.mit.edu>... Data format error


OK, robert.mediaone.net is what I named my computer from linuxconf. This domain name doesn't exist outside of my small home network. elconde@alum.mit.edu is the address to which I am trying to send an e-mail.

From my naive point of view, it seems that the mail server at alum.mit.edu sees the sender address as having the domain name robert.mediaone.net. That domain name doesn't exist, so it rejects the e-mail. Am I wrong?

My real domain name should be h00c04fb57608.ne.mediaone.net. Should I just go back to linuxconf and set the host name to that?

Please help! I want to e-mail my friends!


Thanks in advance,
Robert
 
Old 12-02-2001, 05:42 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,492
Blog Entries: 54

Rep: Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904
There's a "masquerade_as" directive in sendmail.cf that could help.
 
Old 12-03-2001, 12:54 AM   #3
elconde
Member
 
Registered: Sep 2001
Location: Cherry Hill, NJ
Distribution: Gentoo baby!
Posts: 67

Original Poster
Rep: Reputation: 15
Question Looks great, but how do I do it?

Thank you for that recommendation.

Unfortunatly, I have no idea how to set up the configuration. Please bear with me, as I am a complete . Would you be able to tell me step by step how I could implement that onto my computer?


Thank you in advance,
Robert
 
Old 12-03-2001, 02:45 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
www.sendmail.org has good documentation of itself.
 
Old 12-03-2001, 01:00 PM   #5
elconde
Member
 
Registered: Sep 2001
Location: Cherry Hill, NJ
Distribution: Gentoo baby!
Posts: 67

Original Poster
Rep: Reputation: 15
Thumbs up All Good!

I went to sendmail.org, and it explained everything. Everything works fine now.

Thanks for your help!

-Robert
 
Old 12-03-2001, 01:18 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
ah.. your welcome.. can't beat that online documentation, sometimes the answer is right there in front and we don't even realize it.. a hint for anyone posting who hasn't looked before asking.. not that it is bad.. but you might find the answer to your question without asking...
 
  


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
logwatch doesn't send emails after changed hostname? FLOODS Fedora 13 12-15-2004 12:37 PM
Users can't send mails hobz Linux - General 3 12-13-2004 09:44 AM
Can't send mails out to the internet gubak Linux - Networking 15 08-24-2004 06:54 AM
send mails with attachment ProXXXy Linux - Networking 2 08-18-2004 03:33 AM
HELP!!! Cannot send mails in SLACKWARE 9.1 vinay_s_s Linux - Software 5 03-24-2004 08:48 AM


All times are GMT -5. The time now is 11:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration