LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2007, 08:33 AM   #1
jmorris8
LQ Newbie
 
Registered: Aug 2005
Posts: 15

Rep: Reputation: 0
Sendmail Domain??


I cant figure out how to set my domain/host name in sendmail. my email is sending out as root@host.domain.com (I know I probably shouldnt use root, but its where i did my configuration) I would like the email to say something like xxxxxx@domain.com. Thanks!
 
Old 02-23-2007, 10:51 AM   #2
jmorris8
LQ Newbie
 
Registered: Aug 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Ok, I got my domain name to change to something correct. I still would like to login as root, but send the email as "TestUser" for example.

Also, when I open the emails I sent, the "from" name doesnt even show up.
 
Old 02-23-2007, 11:23 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
This depends on the client you are using. Are you using a particular command line mail app? And you really shouldn't be logging in as root, it's insecure. If you want root email to go to another account or user, just create an alias in /etc/mail/aliases or the like..
 
Old 02-23-2007, 11:28 AM   #4
jmorris8
LQ Newbie
 
Registered: Aug 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Ok, I created another account, but I cant seem to change any permissions to edit certain files. This may turn out just fine. I'm using MUTT as a client and its working well so far. Do I specify the "From" address in this config file?

With the aliases, if I created an alias that was "username@mydomain.com" would it look like the email was coming from that address? Thanks.
 
Old 02-23-2007, 11:37 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
To set the from address in mutt add this to your .muttrc config file in your home directory:

Code:
# Default from
set from="First Last <user@domain.com>"
Aliases is only set for incoming email, doesn't change the outgoing mail.
 
Old 02-23-2007, 02:17 PM   #6
jmorris8
LQ Newbie
 
Registered: Aug 2005
Posts: 15

Original Poster
Rep: Reputation: 0
This is what I added to the muttrc file in etc/muttrc but the email still shows up without a sender?

# set from "email@mydomain.com"
#
# Name: from
# Type: e-mail address
# Default "email@mydomain.com"
 
Old 03-14-2007, 07:47 AM   #7
jmorris8
LQ Newbie
 
Registered: Aug 2005
Posts: 15

Original Poster
Rep: Reputation: 0
I'm still having this problem. Any ideas?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail. Can I use IP address instead of domain name? vs_optimist Linux - Newbie 2 04-26-2006 07:19 AM
Sendmail domain configuration don_wombat Linux - Software 5 02-25-2005 11:09 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 needs my real domain name??? ugol Linux - Software 2 06-21-2004 11:04 PM
HELP! Sendmail Config for xxx.domain.com where xxx is not domain, but want act like 1 rld1025 Linux - Newbie 2 09-11-2003 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:51 PM.

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