Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 12-03-2003, 06:29 PM   #1
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Rep: Reputation: 15
Unhappy sendmail not chaning local address properly


i am having a slight problem with sendmail

i have my Domain Masquerading set to for

server being my machine name.

using webmin to send e-mail from the sendmail mail boxes it is properly changing the localhost into my proper eclipse address and is happpy to send mail out onto the web and pass it on for me.

but if i try and send e-mail from the system it self from the command line or from outlook on my PC through my mail server i get

<>... Connecting to via relay...
>>> EHLO
250-SIZE 120000000
>>> MAIL From:<> SIZE=1311
250 Ok
>>> RCPT To:<>
>>> DATA
450 <>: Sender address rejected: Domain not found
<>... Deferred: 450 <>: Sender address rejected: Domain not found
554 Error: no valid recipients
>>> RSET
250 Ok
as u see 450 <> sendmail has not changed the into for the mail to apear to have come from me in the first place.

what file or what do i need to add into my sendmail config file in order to get it to map properly?

many thanks
Old 12-13-2003, 01:45 AM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
In the config file you have to change the "exposed user" to be something else besides root. For some reason, Sendmail won't masquerade the domain if it is set to root. Unfortunately it's also one of the least documented "features" of Sendmail.

Last edited by Capt_Caveman; 12-13-2003 at 01:46 AM.
Old 12-13-2003, 10:33 AM   #3
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Original Poster
Rep: Reputation: 15
dont worry i solved this problem, took the sendmail mc file and added the MASQUERADE_AS(`') feature into the mc and redid my config file, works wunders now



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
Local IP address R4NG3R Linux - Networking 13 12-03-2003 09:53 PM
finding local IP address flynnhandley Linux - Software 2 10-08-2003 04:08 AM
get local ip address DKY Linux - Newbie 8 07-25-2003 09:35 AM
Traffic shaping for certain local IP address Kostko Linux - Networking 0 10-05-2002 05:25 AM
local address confusion hcmk Linux - Newbie 1 08-26-2002 09:40 AM

All times are GMT -5. The time now is 07:35 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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration