Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 02-07-2006, 04:38 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Metairie, La
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
Need to change localhost.localdomain in mail verb

I will be using my database program under Linux and will need to be able to send e-mail.

I have the "mail" verb working, but the e-mail is being placed in the "Junk" folder in outlook.

How do I change the from address for the mail verb??

Old 02-07-2006, 07:08 PM   #2
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
1. in your hosts file make sure the domain name you want is listed first.
for example

2. in the file /proc/sys/kernel/hostname
make sure it says: mail
or something else that will correspond to what you put in the hosts file.
To change that file you need to use the echo command as you can't edit it directly.

But unless you have a registerd domain name assigned to the IP address on the box with reverse lookups available you will most likely get put in the Junk box by outlook.


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
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
How to change localhost.localdomain learn25 Red Hat 1 02-24-2004 07:32 AM
localhost.localdomain??? neozero62 Linux - Newbie 2 10-31-2003 10:25 AM
localhost.localdomain KennyK Linux - Software 9 04-17-2003 06:56 AM
localhost.localdomain blankx87@m-i-m. Linux - Newbie 1 11-17-2002 04:28 AM

All times are GMT -5. The time now is 05:55 AM.

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