LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-04-2001, 12:19 AM   #1
Tarantismic Yak
LQ Newbie
 
Registered: May 2001
Posts: 16

Rep: Reputation: 0
Unhappy


When I send mail from a RH6.2 server, it includes the hostname in the domain string of the mail, eg:

If I send one as 'user' from

'host.domain.com'

it SHOULD only read as being from

'user@domain.com'

but instead it reads as being from

'user@host.domain.com

which is the problem. I've not had too much luck trying to resolve this any help greatly appreiated!
 
Old 05-08-2001, 01:10 PM   #2
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Fedora, Ubuntu
Posts: 343

Rep: Reputation: 38
Edit your sendmail.cf file. It'll either be located in the /etc subdirectory or the /etc/mail subdirectory. Change the line that reads:

Dj$w.hostname.com

to

Djhostname.com

-- L. James
 
Old 05-08-2001, 06:25 PM   #3
Tarantismic Yak
LQ Newbie
 
Registered: May 2001
Posts: 16

Original Poster
Rep: Reputation: 0
Smile Perfect, thank you

Thank you for your help, saved me some 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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
host and domain name sobia Linux - General 2 11-18-2005 02:55 AM
Sendmail sending as host.domain.com, i want it to be from just domain.com. PlatinumRik Linux - Software 5 10-07-2004 04:32 PM
sendmail domain problem slack66 Linux - General 1 08-17-2003 04:10 PM
domain problem in sendmail klintonray Linux - Software 1 07-28-2003 12:31 AM
sendmail domain name problem terek Linux - Newbie 3 06-16-2002 02:32 PM


All times are GMT -5. The time now is 12:56 AM.

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