LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-27-2002, 10:58 AM   #1
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
sendmail


hello all,

i'm attempting to get sendmail configured on my machine so that i can use it as my primary mail server. here are my details:

i have a network consisting of various linux machines (mostly slackware 8) which have internet access through a cable modem running on a linksys router. i have a domain pointing to my cable IP (using DNS servers elsewhere), so i would like to use an email addy for my domain (example: root@mydomain.com).

i'd like to use pine to access my mail from the machine which will be running sendmail. i've managed to get as far as being able to send mail to any internal or external address, but my e-mail addy shows up as "root@localhost.localdomain" (or whatever my host/domain are).

so my question... how can i setup sendmail to use "root@mydomain.com" and not the local info? plus, does anyone know of any good documentation, tutorials, or how-tos out there which deal with setting up and configuring sendmail?

i appreciate it. thanx. :-)
 
Old 03-27-2002, 09:06 PM   #2
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Rep: Reputation: 15
go to /etc/sendmail.cf

under the masquerade section
DMmydomain.com

this will change yr username@localhost.mydomain.com to
username@mydomain.com

then restart sendmail..

/etc/rc.d/init.d/sendmail restart

Last edited by chuck77; 03-27-2002 at 09:08 PM.
 
  


Reply



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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:20 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
Open Source Consulting | Domain Registration